Get Transfer Quote
Get a price quote for a cross-asset or cross-chain (DADC) transfer. Only available for named-asset transfers where the source and destination asset or chain differ.
Path parameters
ID of the wallet.
Headers
ID of your Privy app.
Request authorization signature. If multiple signatures are required, they should be comma separated.
Request expiry. Value is a Unix timestamp in milliseconds representing the deadline by which the request must be processed.
Request body
Example request
{
"destination": {
"address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"asset": "usdc",
"chain": "arbitrum"
},
"source": {
"amount": "10.5",
"asset": "usdc",
"chain": "base"
}
}Response
Transfer quote retrieved successfully.
Example response
{
"destination": {
"address": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
"asset": "usdc",
"chain": "arbitrum"
},
"estimated_fees": [
{
"amount": "0.20",
"type": "relayer"
},
{
"amount": "0.20",
"type": "privy"
},
{
"amount": "0.60",
"recipient": "0x1234567890abcdef1234567890abcdef12345678",
"type": "developer"
}
],
"estimated_gas": {
"amount": "0.0001",
"base_amount": "100000000000000",
"gas_asset": "ETH"
},
"estimated_input_amount": "10.50",
"estimated_output_amount": "10.45",
"expires_at": 1715200000,
"source": {
"amount": "10.50",
"asset": "usdc",
"chain": "base"
}
}Changes
Changed in 5 of the 46 revisions of this API.318
- ▲
the response property
//became optional for the statusresponse-property-became-optional
- ▲
the response property
//became optional for the statusresponse-property-became-optional
- ○
the request property
//became optionalrequest-property-became-optional
- ○
the request property
//became optionalrequest-property-became-optional
- ▲
- ○
added the new optional request property
new-optional-request-property
- ○
request property
//deprecatedrequest-property-deprecated
- ○
request property
//deprecatedrequest-property-deprecated
- ○
the response property
became required for the statusresponse-property-became-required
- ○
response property
source/anyOf[subschema #1: NamedTokenTransferSource]/amountdeprecatedresponse-property-deprecated
- ○
response property
source/anyOf[subschema #2: CustomTokenTransferSource]/amountdeprecatedresponse-property-deprecated
- ○
added the required property
to the response with the statusresponse-required-property-added
- ○
- ▲
the response property
became optional for the statusresponse-property-became-optional
- ▲
- ○
added to the
/request propertyanyOflistrequest-property-any-of-added
- ○
added to the
//request propertyanyOflistrequest-property-any-of-added
- ○
added the optional property
to the response with the statusresponse-optional-property-added
- ○
added to the
/response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added to the
///response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added to the
///response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added to the
///response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
added to the
//response propertyanyOflist for the response statusresponse-property-any-of-added
- ○
- ○
endpoint added
endpoint-added
- ○