Wallet Actions
Transfer Native Tokens
Transfer ETH from your Smart Wallet
This guide will walk you through the process of sending ETH from your non-custodial Smart Wallet using the Crossmint transactions API. One of the benefits of non-custodial Smart Wallets is that you can hold and send different cryptocurrencies.
Prerequisites
Check out our Quickstart for non-custodial Smart Wallets to prepare the following:
- API Key: Ensure you have your Crossmint API key with the scope
wallets:transactions.create
. - Wallet Locator: The locator of the wallet you want to transfer the tokens from.
Sending the transaction
We provide a Create Transaction API for your created Smart Wallet. To send ETH, we need to set the following parameters:
calls
: An array of objects with the following properties:to
: The recipient’s Ethereum address.value
: The amount of ETH to send, in wei.data
: Unnecessary for just sending ETH. Set it to"0x"
.
chain
: The chain where the transaction will be sent.signer
: One of the wallet’s signers. In most cases, this will be the admin signer.