Expo SDK
Sending a transaction
if (ExpoWalletsdk.hasSystemWallet()){
const transaction = {
to: '0x3a4e6eD8B0F02BFBfaA3C6506Af2DB939eA5798c', // Receipient
value: '10', // Value in wei
chainId: 10,
chainRPCUrl: 'https://mainnet.optimism.io'
};
var txHash = ExpoWalletsdk.sendTransaction(transaction);
console.log(txHash)
} else {
console.log("No system wallet found")
}Signing a message
Last updated