Send tokens
Here's exactly how you can send tokens from your Portal wallet to another address.
Fund your Wallet
Now that you have a wallet, the next step is to get test tokens for it. You can fund your wallet using the Fund wallet with testnet tokens Client API endpoint. If you are looking for a greater variety of test tokens, we recommend exploring our faucets page.
Sending Tokens from your Wallet
Portal provides two ways to send transactions:
The Send Asset Enclave MPC API endpoint - Simply send tokens from your Portal wallet.
The Sign Enclave MPC API endpoint - Create and submit your own custom transactions from your Portal wallet.
For most use cases, we recommend using the Send Asset Enclave MPC API endpoint as shown in the examples below.
Submitting an EVM Transaction
The below example sends 0.0001
ETH on Ethereum Sepolia from your Portal client's wallet.
Submitting a Solana Transaction
The below example sends 0.0001
SOL on Solana Devnet from your Portal client's wallet.
You will need SOL
to submit a Solana transaction, which is not currently supported by POST /api/v3/clients/me/fund
. You can find a faucet to get test SOL
tokens here.
You may have a more advanced use case than simply sending tokens from your Portal wallet. Next, we will dive into how to build your own custom transaction and also how to sign it.
Last updated
Was this helpful?