v17

latestOpenAPI 3.0.0raw.githubusercontent.com2026-06-2580373.5 KB
Intents

Create Intent

Submits a quoted intent for execution. Takes the intentId from POST /quotes (routes[].intentId) plus signatures (origin, destination, optionally target-execution) and optional EIP-7702 authorizations.

post/intent-operations

Headers

x-api-version'2026-01.alps' required

API version. Required; pinned to this document.

x-api-keystring required

API key.

Request body

Example request

{
  "signedIntentOp": {
    "sponsor": "0x8a310b9085faF5d9464D84C3d9a7BE3b28c94531",
    "nonce": "0",
    "targetExecutionNonce": "0",
    "expires": 1733493192,
    "elements": [
      {
        "arbiter": "0x8a310b9085faF5d9464D84C3d9a7BE3b28c94531",
        "chainId": "1",
        "idsAndAmounts": [
          [
            "1",
            "1000000"
          ],
          [
            "2",
            "2000000"
          ]
        ],
        "spendTokens": [
          [
            "1",
            "1000000"
          ],
          [
            "2",
            "2000000"
          ]
        ],
        "mandate": {
          "recipient": "0x579d5631f76126991c00fb8fe5467fa9d49e5f6a",
          "tokenOut": [
            [
              "1",
              "1000000"
            ],
            [
              "2",
              "2000000"
            ]
          ],
          "destinationChainId": "8453",
          "fillDeadline": 1733493192,
          "preClaimOps": {
            "vt": "0x0101000000000000000000000000000000000000000000000000000000000000",
            "ops": [
              {
                "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "value": "0",
                "data": "0xa9059cbb000000000000000000000000579d5631f76126991c00fb8fe5467fa9d49e5f6a00000000000000000000000000000000000000000000000000000000000f4240"
              }
            ]
          },
          "destinationOps": {
            "vt": "0x0101000000000000000000000000000000000000000000000000000000000000",
            "ops": [
              {
                "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                "value": "0",
                "data": "0xa9059cbb000000000000000000000000579d5631f76126991c00fb8fe5467fa9d49e5f6a00000000000000000000000000000000000000000000000000000000000f4240"
              }
            ]
          },
          "qualifier": {
            "settlementContext": {
              "settlementLayer": "INTENT_EXECUTOR",
              "using7579": true,
              "fundingMethod": "NO_FUNDING"
            },
            "encodedVal": "0x..."
          },
          "minGas": "0",
          "swapDestinations": [
            {
              "executions": [
                {
                  "to": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
                  "value": "0",
                  "data": "0xa9059cbb000000000000000000000000579d5631f76126991c00fb8fe5467fa9d49e5f6a00000000000000000000000000000000000000000000000000000000000f4240"
                }
              ]
            }
          ]
        }
      }
    ],
    "serverSignature": "0x...",
    "signedMetadata": {
      "strategy": "ACROSS",
      "schemeId": "v1",
      "tokenPrices": {
        "USDC": 1,
        "WETH": 2000
      },
      "gasPrices": {
        "1": "20000000000",
        "10": "1000000000"
      },
      "opGasParams": {
        "10": {
          "l1BaseFee": "100",
          "l1BlobBaseFee": "100",
          "baseFeeScalar": "100",
          "blobFeeScalar": "100"
        }
      },
      "account": {
        "address": "0x579d5631f76126991c00fb8fe5467fa9d49e5f6a",
        "setupOps": [
          {
            "to": "0x579d5631f76126991c00fb8fe5467fa9d49e5f6a",
            "data": "0x..."
          }
        ]
      },
      "recipient": {
        "address": "0x579d5631f76126991c00fb8fe5467fa9d49e5f6a",
        "setupOps": [
          {
            "to": "0x579d5631f76126991c00fb8fe5467fa9d49e5f6a",
            "data": "0x..."
          }
        ]
      },
      "fees": {
        "sponsorFee": {
          "relayer": 0.0009
        },
        "protocolFees": {
          "0x0000000000000000000000000000000000000000": "1000000"
        },
        "appFee": [
          {
            "feeBps": 100,
            "baseAmount": "10000000",
            "amount": "100000",
            "chainId": 42161,
            "tokenAddress": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831"
          }
        ]
      },
      "sponsorSettings": {
        "gas": true
      },
      "executionTokensReceived": [
        "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
      ]
    },
    "signedAuthorizations": [
      {
        "chainId": 8453,
        "address": "0x579d5631f76126991c00fb8fe5467fa9d49e5f6a",
        "yParity": 27,
        "r": "0x...",
        "s": "0x..."
      }
    ],
    "recipientSignedAuthorizations": [
      {
        "chainId": 8453,
        "address": "0x579d5631f76126991c00fb8fe5467fa9d49e5f6a",
        "yParity": 27,
        "r": "0x...",
        "s": "0x..."
      }
    ],
    "destinationSignature": "0x...",
    "targetExecutionSignature": "0x...",
    "originSignatures": [
      "0x...",
      "0x..."
    ]
  }
}

Response

OK

Example response

{
  "result": {
    "id": "6288024828617617176235460836311142252483529646664720691654196790232050827264"
  }
}