Skip to main content

AllocateResponse

operationsstringrequired
datastringrequired
valuestringrequired
permissionTxns object[]required
  • Array [
  • tostringrequired

    Target contract address

    datastringrequired

    Encoded calldata

    valuestringrequired

    ETH value

    Example: 0
    descriptionstring

    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"
    }
    ]
    }