Intents
Create transfer intent
Create an intent to execute a token transfer via a wallet. The intent must be authorized by either the wallet owner or signers before it can be executed.
post/v1/intents/wallets/{wallet_id}/transfer
Path parameters
wallet_idstring required
ID of the wallet.
Headers
privy-app-idstring required
ID of your Privy app.
privy-request-expirystring
Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.
Request body
Example request
{
"amount": "10.5",
"destination": {
"address": "0xB00F0759DbeeF5E543Cc3E3B07A6442F5f3928a2"
},
"source": {
"amount": "10.5",
"asset": "usdc",
"chain": "base"
}
}Response
Created transfer intent.
Example response
{
"action_result": {
"response_body": {
"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"
}
}
},
"current_resource_data": {
"additional_signers": [],
"address": "0xF1DBff66C993EE895C8cb176c30b07A559d76496",
"archived_at": null,
"chain_type": "ethereum",
"created_at": 1741834854578,
"display_name": "Treasury",
"exported_at": null,
"external_id": "my-order-123",
"id": "id2tptkqrxd39qo9j423etij",
"imported_at": null,
"owner_id": "rkiz0ivz254drv1xw982v3jq",
"policy_ids": []
},
"request_details": {
"body": {
"amount": "10.5",
"destination": {
"address": "0xB00F0759DbeeF5E543Cc3E3B07A6442F5f3928a2"
},
"source": {
"amount": "10.5",
"asset": "usdc",
"chain": "base"
}
}
}
}