{
  "x402Version": 2,
  "id": 1683,
  "slug": "1683",
  "resource": "https://agent402.tools/api/attest",
  "description": "Write an on-chain attestation (Ethereum Attestation Service on Base) that binds a call you paid for to the bytes you received: the tool slug, sha256 of the JSON response, the settlement chain and transaction, the payer, the time served and the price, signed by this server's wallet. Give it the settlement transaction from the PAYMENT-RESPONSE (or Payment-Receipt) header of any settled call; the attestation UID and its public page on base.easscan.org come back.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:143",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x754704Bc059F8C67012fEd69BC8A327a5aafb603",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:43114",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xB97EF9Ef8734C71904D8002F8b6Bc66Dd9c48a6E",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:1329",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:10",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x0b2C639c533813f4Aa9D7837CAf62653d097Ff85",
      "amount": "51000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:4663",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0x5fc5360D0400a0Fd4f2af552ADD042D716F1d168",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42220",
      "payTo": "0xaBF4FAbd7c416fB67202E5f9002389Fc75e2a9D0",
      "asset": "0xcebA9300f2b948710d2653dD7B07f33A8B32118C",
      "amount": "50000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "tx": "0x2f1fecade9bd945e7817c11e5a34cafe6b349dd8c92a7587efed1de476bddfeb"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "attestTx": "0x9c8b7a6f5e4d3c2b1a0f9e8d7c6b5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d9c8b",
            "attestationUrl": "https://base.easscan.org/attestation/view/0x5b4d0c1e8f7a4c2d9e0b6a3f1c8d7e6b5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d",
            "attester": "0x77065d81e18ad403BCD6e9A0616b288e16744121",
            "block": "50829611",
            "chain": "eip155:8453",
            "data": {
              "payer": "0x902dcf34e53695bdea2ffb354b1a2e58bd598256",
              "priceUsd": 0.01,
              "responseSha256": "0x7d2a9b1c4e6f8a0b2c4d6e8f0a1b3c5d7e9f1a3b5c7d9e1f3a5b7c9d1e3f5a7b",
              "servedAt": "2026-09-03T15:16:06.000Z",
              "settlementNetwork": "eip155:8453",
              "settlementTx": "0x2f1fecade9bd945e7817c11e5a34cafe6b349dd8c92a7587efed1de476bddfeb",
              "slug": "crypto-price"
            },
            "eas": "0x4200000000000000000000000000000000000021",
            "existing": false,
            "schema": "string slug,bytes32 responseSha256,string settlementNetwork,string settlementTx,string payer,uint64 servedAt,uint64 priceMicroUsd",
            "schemaUid": "0x2a4e6c8d0f1b3a5c7e9d1f3b5a7c9e1d3f5b7a9c1e3d5f7b9a1c3e5d7f9b1a3c",
            "uid": "0x5b4d0c1e8f7a4c2d9e0b6a3f1c8d7e6b5a4f3e2d1c0b9a8f7e6d5c4b3a2f1e0d",
            "verify": {
              "attestation": "fetch the UID on https://base.easscan.org (or read EAS 0x4200000000000000000000000000000000000021 on Base): attester must be this server's wallet, schema must match",
              "payment": "follow settlementTx on eip155:8453: the payer paid this server's payTo",
              "responseDigest": "sha256 over the exact JSON bytes you received for that call; compare with responseSha256"
            }
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "properties": {
                  "tx": {
                    "description": "Settlement transaction of a call you paid for, as carried in that response's PAYMENT-RESPONSE (x402) or Payment-Receipt (MPP) header: EVM hash, Solana or Stellar signature, or Algorand id.",
                    "type": "string"
                  }
                },
                "required": [
                  "tx"
                ]
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "attestTx": {
                    "type": "string"
                  },
                  "attestationUrl": {
                    "type": "string"
                  },
                  "attester": {
                    "type": "string"
                  },
                  "block": {
                    "type": "string"
                  },
                  "chain": {
                    "type": "string"
                  },
                  "data": {
                    "type": "object"
                  },
                  "eas": {
                    "type": "string"
                  },
                  "existing": {
                    "type": "boolean"
                  },
                  "schema": {
                    "type": "string"
                  },
                  "schemaUid": {
                    "type": "string"
                  },
                  "uid": {
                    "type": "string"
                  },
                  "verify": {
                    "type": "object"
                  }
                },
                "required": [
                  "uid",
                  "attestationUrl",
                  "attestTx",
                  "block",
                  "existing",
                  "attester",
                  "chain",
                  "eas",
                  "schemaUid",
                  "schema",
                  "data",
                  "verify"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_b4aw4uzd"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "maxItems": 11,
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code",
    "payment-identifier"
  ],
  "sourceHost": "agent402.tools",
  "lastUpdated": "2026-09-18T19:46:11.756Z",
  "quality": {
    "calls30d": 26,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-18T19:46:11.519Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "agent402.tools",
    "manifest_name": "agent402.tools",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}