Wallet Actions
Transfer
Transfer tokens from a wallet to a destination address.
post/v1/wallets/{wallet_id}/transfer
Path parameters
wallet_idstring required
ID of the wallet.
Headers
privy-app-idstring required
ID of your Privy app.
privy-authorization-signaturestring
Request authorization signature. If multiple signatures are required, they should be comma separated.
privy-request-expirystring
Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.
privy-idempotency-keystring
Idempotency keys ensure API requests are executed only once within a 24-hour window.
Request body
Example request
{
"amount": "10.5",
"destination": {
"address": "0xB00F0759DbeeF5E543Cc3E3B07A6442F5f3928a2"
},
"source": {
"amount": "10.5",
"asset": "usdc",
"chain": "base"
}
}Response
Transfer initiated successfully.
Example response
{
"estimated_fees": [
{
"amount": "0.20",
"recipient": "0x1234567890abcdef1234567890abcdef12345678",
"type": "relayer"
}
],
"estimated_gas": {
"amount": "0.0001",
"base_amount": "100000000000000",
"gas_asset": "ETH"
},
"fees": [
{
"amount": "0.20",
"recipient": "0x1234567890abcdef1234567890abcdef12345678",
"type": "relayer"
}
],
"gas": {
"amount": "0.0001",
"base_amount": "100000000000000",
"gas_asset": "ETH"
}
}