Create transfer intent
Changed onCreate 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.
Request
- Base URLhttps://api.privy.io
- URLhttps://api.privy.io/v1/intents/wallets/{wallet_id}/transfer
- AuthHTTP basic
Path parameters
ID of the wallet.
Headers
ID of your Privy app.
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",
"source": {
"asset": "ousd",
"amount": "10.5",
"chain": "tempo"
},
"destination": {
"address": "0xB00F0759DbeeF5E543Cc3E3B07A6442F5f3928a2"
}
}Response
Created transfer intent.
Example response
{
"request_details": {
"body": {
"amount": "10.5",
"source": {
"asset": "ousd",
"amount": "10.5",
"chain": "tempo"
},
"destination": {
"address": "0xB00F0759DbeeF5E543Cc3E3B07A6442F5f3928a2"
}
}
},
"current_resource_data": {
"id": "id2tptkqrxd39qo9j423etij",
"address": "0xF1DBff66C993EE895C8cb176c30b07A559d76496",
"display_name": "Treasury",
"external_id": "my-order-123",
"chain_type": "ethereum",
"policy_ids": [],
"additional_signers": [],
"owner_id": "rkiz0ivz254drv1xw982v3jq",
"parent_wallet_id": null,
"entity": {
"id": "jorpjo4rfxj62nx1itt8y1zt",
"type": "user"
},
"created_at": 1741834854578,
"exported_at": null,
"imported_at": null,
"archived_at": null
},
"action_result": {
"response_body": {
"steps": [
{
"gas_credits_charged": {
"value": "100.00",
"currency": "usd"
}
}
],
"estimated_fees": [
{
"type": "relayer",
"recipient": "0x1234567890abcdef1234567890abcdef12345678",
"amount": "0.20"
}
],
"estimated_gas": {
"base_amount": "100000000000000",
"amount": "0.0001",
"gas_asset": "ETH"
},
"fees": [
{
"type": "relayer",
"recipient": "0x1234567890abcdef1234567890abcdef12345678",
"amount": "0.20"
}
],
"gas": {
"base_amount": "100000000000000",
"amount": "0.0001",
"gas_asset": "ETH"
}
}
}
}Changes
- breaking
the response property
///////became nullable for the status - breaking
the response property
///////became nullable for the status - breaking
the response property
///////became nullable for the status - breaking
the response property
///////became nullable for the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
added the optional property
///////to the response with the status - info
response property
allOf[subschema #2]/action_result/allOf[subschema #2]/response_body/steps/items/oneOf[subschema #1: EVMTransactionWalletActionStep]/gas_credits_charged_usddeprecated - info
response property
allOf[subschema #2]/action_result/allOf[subschema #2]/response_body/steps/items/oneOf[subschema #2: EVMUserOperationWalletActionStep]/gas_credits_charged_usddeprecated - info
response property
allOf[subschema #2]/action_result/allOf[subschema #2]/response_body/steps/items/oneOf[subschema #3: SVMTransactionWalletActionStep]/gas_credits_charged_usddeprecated - info
response property
allOf[subschema #2]/action_result/allOf[subschema #2]/response_body/steps/items/oneOf[subschema #4: TVMTransactionWalletActionStep]/gas_credits_charged_usddeprecated
- breaking
- info
added the optional property
///////to the response with the status
- info