AllocateResponse
operationsstringrequired
datastringrequired
Informational payload. null when the endpoint only builds calldata.
valuestringrequired
Native-token value to send with the transaction, in wei.
permissionTxns object[]required
Approvals needed for this specific quote. Most integrators should use the deduplicated envelope-level actions.permissions instead.
Array [
tostringrequired
Target contract address
datastringrequired
Encoded calldata
valuestringrequired
ETH value
Example:
0descriptionstring
Human-readable description of the approval (e.g. "Approve borrow for AAVE_V3", "Approve ERC20")
spenderstring
ERC-20 approve spender (x-chain permissions). Match it against the selected quote's approvalTarget — several bridges can share one spender, so do not match by description.
]
AllocateResponse
{
"operations": "string",
"data": "string",
"value": "string",
"permissionTxns": [
{
"to": "string",
"data": "string",
"value": "0",
"description": "string",
"spender": "string"
}
]
}