v1

latestOpenAPI 3.0.42026-07-26159287356.1 KB
Onchain

Create x402 signature

Create a signature for a given x402 resource using the specified wallet.

post/v2/signature/x402/

Headers

x-wallet-idstring required

Wallet ID to use for transactions

x-api-keystring required

Request body

Example request

{
  "payment_requirements": {
    "accepts": [
      {
        "asset": "0x5a927ac639636e534b678e81768ca19e2c6280b7",
        "payTo": "0x5a927ac639636e534b678e81768ca19e2c6280b7"
      }
    ]
  }
}

Response

Success

network'base' | 'base-sepolia' required
scheme'exact' required

Example response

{
  "payload": {
    "authorization": {
      "from": "0x5a927ac639636e534b678e81768ca19e2c6280b7",
      "to": "0x5a927ac639636e534b678e81768ca19e2c6280b7"
    }
  }
}