{
  "x402Version": 2,
  "id": 57623,
  "slug": "57623",
  "resource": "https://tanod.dev/v1/chain/approvals",
  "description": "chainpeek (Tanod) live token approvals of a wallet: ERC-20 and Permit2 allowances with risk flags and unsigned revoke transactions, on Base or Ethereum. Use when an agent must list and revoke its wallet's live token approvals, on a schedule or after a risky signature.",
  "type": "http",
  "serviceName": "Tanod chainpeek",
  "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
  "resourceType": "Beauty & Personal Care",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "RMk9k3VC8dr4hhjgFh88rGhjAbzfBzHxJJ5n2fTcqus",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:56",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
      "amount": "5000000000000000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "5000",
      "amountUsd": 0.005,
      "maxTimeoutSeconds": 604900
    }
  ],
  "outputSchema": {
    "properties": {
      "example": {
        "description": "Abridged to fit the header. Full example: the 402 JSON body. Full schema: https://tanod.dev/openapi.json POST /v1/chain/approvals",
        "properties": {
          "allowances": {
            "type": "array"
          },
          "allowances_total": {
            "type": "integer"
          },
          "block": {
            "type": [
              "integer",
              "null"
            ]
          },
          "block_timestamp": {
            "type": [
              "integer",
              "null"
            ]
          },
          "chain": {
            "type": "string"
          },
          "checked": {
            "type": "object"
          },
          "history": {
            "type": "object"
          },
          "limits": {
            "type": "array"
          },
          "reasons": {
            "type": "array"
          },
          "risk": {
            "type": "string"
          },
          "rpc_calls": {
            "type": "integer"
          },
          "rules": {
            "type": "object"
          },
          "stale_days": {
            "type": "integer"
          },
          "tokens": {
            "type": "array"
          },
          "wallet": {
            "type": "string"
          }
        },
        "required": [
          "chain",
          "wallet",
          "risk",
          "reasons",
          "allowances",
          "allowances_total",
          "tokens",
          "checked",
          "history",
          "stale_days",
          "rules",
          "limits"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "chain": "base",
            "spenders": [
              "0x8F2E6A1c3B9d7e5F0A4C2b8D6E1f3a9c7B5d0E24"
            ],
            "wallet": "0x5A0b54D5dc17e0AadC383d2db43B0a0D3E029c4c"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "allowances": [],
            "allowances_total": 3,
            "block": 52512000,
            "block_timestamp": 1760300000,
            "chain": "base",
            "checked": {
              "erc20": 5,
              "live": 3,
              "pairs": 7,
              "permit2": 2
            },
            "history": {
              "blocks": 6000,
              "from_block": 52506001,
              "read": true,
              "to_block": 52512000
            },
            "limits": [
              "The log scan covers only the la…"
            ],
            "reasons": [],
            "risk": "high",
            "rpc_calls": 10,
            "rules": {
              "key_controlled": "the spender has no code, or onl…",
              "live": "ERC-20 allowance > 0, or Permit…",
              "new_contract": "the spender had no code 30 days…",
              "unlimited": "at least 2^255 (Permit2: 2^159)…"
            },
            "stale_days": 90,
            "tokens": [],
            "wallet": "0x5A0b54D5dc17e0AadC383d2db43B0…"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "chain": {
                    "description": "base or ethereum (the chains with built-in USDC and USDT here).",
                    "enum": [
                      "base",
                      "ethereum"
                    ],
                    "type": "string"
                  },
                  "lookback_blocks": {
                    "default": 6000,
                    "description": "Latest blocks scanned for approval events (0-6,000; default 6,000, about 3.3 hours on Base and 20 hours on Ethereum). 0 scans nothing and checks `spenders` and Permit2 only.",
                    "maximum": 6000,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "spenders": {
                    "anyOf": [
                      {
                        "items": {
                          "pattern": "^0x[0-9a-fA-F]{40}$",
                          "type": "string"
                        },
                        "maxItems": 50,
                        "minItems": 1,
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Up to 50 spender addresses whose ERC-20 and Permit2 allowances are read directly on every audited token, however old (tokens x spenders at most 200). The full-coverage path for spenders you know."
                  },
                  "stale_days": {
                    "default": 90,
                    "description": "An allowance is stale when the spender pulled nothing from the wallet in this many days (1-3,650; default 90).",
                    "maximum": 3650,
                    "minimum": 1,
                    "type": "integer"
                  },
                  "tokens": {
                    "anyOf": [
                      {
                        "items": {
                          "pattern": "^0x[0-9a-fA-F]{40}$",
                          "type": "string"
                        },
                        "maxItems": 50,
                        "minItems": 1,
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Up to 50 token contracts to audit. Default: USDC, USDT and up to 18 tokens the wallet has sent (from its transfer history)."
                  },
                  "wallet": {
                    "description": "The wallet whose approvals are audited (0x + 40 hex).",
                    "pattern": "^0x[0-9a-fA-F]{40}$",
                    "type": "string"
                  }
                },
                "required": [
                  "chain",
                  "wallet"
                ],
                "type": "object"
              },
              "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": {
                "description": "Abridged to fit the header. Full example: the 402 JSON body. Full schema: https://tanod.dev/openapi.json POST /v1/chain/approvals",
                "properties": {
                  "allowances": {
                    "type": "array"
                  },
                  "allowances_total": {
                    "type": "integer"
                  },
                  "block": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "block_timestamp": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "chain": {
                    "type": "string"
                  },
                  "checked": {
                    "type": "object"
                  },
                  "history": {
                    "type": "object"
                  },
                  "limits": {
                    "type": "array"
                  },
                  "reasons": {
                    "type": "array"
                  },
                  "risk": {
                    "type": "string"
                  },
                  "rpc_calls": {
                    "type": "integer"
                  },
                  "rules": {
                    "type": "object"
                  },
                  "stale_days": {
                    "type": "integer"
                  },
                  "tokens": {
                    "type": "array"
                  },
                  "wallet": {
                    "type": "string"
                  }
                },
                "required": [
                  "chain",
                  "wallet",
                  "risk",
                  "reasons",
                  "allowances",
                  "allowances_total",
                  "tokens",
                  "checked",
                  "history",
                  "stale_days",
                  "rules",
                  "limits"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_h7pxv14u"
      },
      "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"
      }
    },
    "erc20ApprovalGasSponsoring": {
      "info": {
        "description": "The facilitator accepts a raw signed approval transaction and will sponsor the gas fees.",
        "version": "1"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "amount": {
            "description": "Approval amount (uint256).",
            "pattern": "^[0-9]+$",
            "type": "string"
          },
          "asset": {
            "description": "The ERC-20 token contract address to approve.",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "from": {
            "description": "The address of the sender.",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "signedTransaction": {
            "description": "RLP-encoded signed transaction calling ERC20.approve().",
            "pattern": "^0x[a-fA-F0-9]+$",
            "type": "string"
          },
          "spender": {
            "description": "The address of the spender (Canonical Permit2).",
            "pattern": "^0x[a-fA-F0-9]{40}$",
            "type": "string"
          },
          "version": {
            "description": "Schema version identifier.",
            "pattern": "^[0-9]+(\\.[0-9]+)*$",
            "type": "string"
          }
        },
        "required": [
          "from",
          "asset",
          "spender",
          "amount",
          "signedTransaction",
          "version"
        ],
        "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": [
    "chainpeek",
    "chain",
    "approvals",
    "ens",
    "calldata",
    "bazaar",
    "builder-code",
    "erc20ApprovalGasSponsoring",
    "payment-identifier"
  ],
  "sourceHost": "tanod.dev",
  "lastUpdated": "2026-10-13T20:36:32.134Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T20:36:31.379Z"
  },
  "metadata": {
    "serviceName": "Tanod chainpeek",
    "iconUrl": "https://res.cloudinary.com/bdb-prod/image/upload/c_fill,ar_1:1,w_256,h_256,f_auto,q_auto/v1791364949/bazaar-icons/d8143c9bc952f5cd.png",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "body": {
              "chain": "base",
              "spenders": [
                "0x8F2E6A1c3B9d7e5F0A4C2b8D6E1f3a9c7B5d0E24"
              ],
              "wallet": "0x5A0b54D5dc17e0AadC383d2db43B0a0D3E029c4c"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "allowances": [],
              "allowances_total": 3,
              "block": 52512000,
              "block_timestamp": 1760300000,
              "chain": "base",
              "checked": {
                "erc20": 5,
                "live": 3,
                "pairs": 7,
                "permit2": 2
              },
              "history": {
                "blocks": 6000,
                "from_block": 52506001,
                "read": true,
                "to_block": 52512000
              },
              "limits": [
                "The log scan covers only the la…"
              ],
              "reasons": [],
              "risk": "high",
              "rpc_calls": 10,
              "rules": {
                "key_controlled": "the spender has no code, or onl…",
                "live": "ERC-20 allowance > 0, or Permit…",
                "new_contract": "the spender had no code 30 days…",
                "unlimited": "at least 2^255 (Permit2: 2^159)…"
              },
              "stale_days": 90,
              "tokens": [],
              "wallet": "0x5A0b54D5dc17e0AadC383d2db43B0…"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "chain": {
                      "description": "base or ethereum (the chains with built-in USDC and USDT here).",
                      "enum": [
                        "base",
                        "ethereum"
                      ],
                      "type": "string"
                    },
                    "lookback_blocks": {
                      "default": 6000,
                      "description": "Latest blocks scanned for approval events (0-6,000; default 6,000, about 3.3 hours on Base and 20 hours on Ethereum). 0 scans nothing and checks `spenders` and Permit2 only.",
                      "maximum": 6000,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "spenders": {
                      "anyOf": [
                        {
                          "items": {
                            "pattern": "^0x[0-9a-fA-F]{40}$",
                            "type": "string"
                          },
                          "maxItems": 50,
                          "minItems": 1,
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Up to 50 spender addresses whose ERC-20 and Permit2 allowances are read directly on every audited token, however old (tokens x spenders at most 200). The full-coverage path for spenders you know."
                    },
                    "stale_days": {
                      "default": 90,
                      "description": "An allowance is stale when the spender pulled nothing from the wallet in this many days (1-3,650; default 90).",
                      "maximum": 3650,
                      "minimum": 1,
                      "type": "integer"
                    },
                    "tokens": {
                      "anyOf": [
                        {
                          "items": {
                            "pattern": "^0x[0-9a-fA-F]{40}$",
                            "type": "string"
                          },
                          "maxItems": 50,
                          "minItems": 1,
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Up to 50 token contracts to audit. Default: USDC, USDT and up to 18 tokens the wallet has sent (from its transfer history)."
                    },
                    "wallet": {
                      "description": "The wallet whose approvals are audited (0x + 40 hex).",
                      "pattern": "^0x[0-9a-fA-F]{40}$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "chain",
                    "wallet"
                  ],
                  "type": "object"
                },
                "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": {
                  "description": "Abridged to fit the header. Full example: the 402 JSON body. Full schema: https://tanod.dev/openapi.json POST /v1/chain/approvals",
                  "properties": {
                    "allowances": {
                      "type": "array"
                    },
                    "allowances_total": {
                      "type": "integer"
                    },
                    "block": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "block_timestamp": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "chain": {
                      "type": "string"
                    },
                    "checked": {
                      "type": "object"
                    },
                    "history": {
                      "type": "object"
                    },
                    "limits": {
                      "type": "array"
                    },
                    "reasons": {
                      "type": "array"
                    },
                    "risk": {
                      "type": "string"
                    },
                    "rpc_calls": {
                      "type": "integer"
                    },
                    "rules": {
                      "type": "object"
                    },
                    "stale_days": {
                      "type": "integer"
                    },
                    "tokens": {
                      "type": "array"
                    },
                    "wallet": {
                      "type": "string"
                    }
                  },
                  "required": [
                    "chain",
                    "wallet",
                    "risk",
                    "reasons",
                    "allowances",
                    "allowances_total",
                    "tokens",
                    "checked",
                    "history",
                    "stale_days",
                    "rules",
                    "limits"
                  ],
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      },
      "builder-code": {
        "info": {
          "a": "bc_h7pxv14u"
        },
        "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"
        }
      },
      "erc20ApprovalGasSponsoring": {
        "info": {
          "description": "The facilitator accepts a raw signed approval transaction and will sponsor the gas fees.",
          "version": "1"
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "amount": {
              "description": "Approval amount (uint256).",
              "pattern": "^[0-9]+$",
              "type": "string"
            },
            "asset": {
              "description": "The ERC-20 token contract address to approve.",
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "type": "string"
            },
            "from": {
              "description": "The address of the sender.",
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "type": "string"
            },
            "signedTransaction": {
              "description": "RLP-encoded signed transaction calling ERC20.approve().",
              "pattern": "^0x[a-fA-F0-9]+$",
              "type": "string"
            },
            "spender": {
              "description": "The address of the spender (Canonical Permit2).",
              "pattern": "^0x[a-fA-F0-9]{40}$",
              "type": "string"
            },
            "version": {
              "description": "Schema version identifier.",
              "pattern": "^[0-9]+(\\.[0-9]+)*$",
              "type": "string"
            }
          },
          "required": [
            "from",
            "asset",
            "spender",
            "amount",
            "signedTransaction",
            "version"
          ],
          "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"
        }
      }
    }
  },
  "liveness": {
    "reliability": null
  },
  "verified": false,
  "featured": false,
  "provider": {
    "host": "tanod.dev",
    "manifest_name": "tanod.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-10-14T01:15:01.050Z"
  },
  "exampleResponse": {
    "example": {
      "allowances": [
        "value"
      ],
      "allowances_total": 0,
      "block": 0,
      "block_timestamp": 0,
      "chain": "string",
      "checked": {},
      "history": {},
      "limits": [
        "value"
      ],
      "reasons": [
        "value"
      ],
      "risk": "string",
      "rpc_calls": 0,
      "rules": {},
      "stale_days": 0,
      "tokens": [
        "value"
      ],
      "wallet": "string"
    },
    "type": "string"
  }
}