This guide will walk you through how to send tokens from your Portal wallet to another address.
portal.receiveTestnetAsset
. If you are looking for a greater variety of test tokens, we recommend exploring our faucets page.
portal.sendAsset()
- A simple method for sending tokens from your Portal wallet.portal.provider.request()
- Direct access to the underlying web3 provider for custom transactions. (You can learn more about this method here.)portal.sendAsset()
as shown in the examples below.
txHash
is actually a User Operation hash. You can manually look up the user operation hash here.SOL
to submit a Solana transaction, which is not currently supported by portal.receiveTestnetAsset
. You can find a faucet to get test SOL
tokens here.