This guide will walk you through how to sign a transaction using the Portal Android SDK.
gas
property in a transaction
object if the property is undefined.
To estimate the gas
value manually use the eth_estimateGas
RPC call and pass in your transaction as the parameter.
portal.sendSol
function to make the process of sending sol very simple.
portal.request(chainId, PortalRequestMethod.sol_signAndSendTransaction, listOf(solanaRequest)
SECP256K1
or ED25519
.
useEnclaveMpcApi
feature flag the client key share will be transmitted from the user device, but it is never stored.useEnclaveMpcApi
to true
, the Portal instance will use the Enclave MPC API for signing transactions, ensuring faster computation and consistent performance across client devices.