Want to implement your own style, but with all the functionality Portal offers? Use these functions to implement your own custom web3 UI for your users.
toAddress
for the transaction of sending 0.001 ETH from our MPC wallet. The Provider then receives a signed transaction from our mobile MPC library and submits that to chain using the configured RPC url.
solana/web3.js
to construct a transaction object to sign and pass to the multi-chain provider.
sol_signMessage
sol_signTransaction
sol_signAndSendTransaction
sol_signAndConfirmTransaction
SECP256K1
or ED25519
.
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.