{
  "x402Version": 2,
  "id": 57633,
  "slug": "57633",
  "resource": "https://tanod.dev/v1/chain/address-poisoning",
  "description": "chainpeek (Tanod) address-poisoning check before a token transfer: is the recipient a lookalike (same first and last 4 hex characters) of an address in the sender's history or contacts? Use when an agent is about to send USDC or a token and must check the recipient is not an address-poisoning lookalike.",
  "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": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "payTo": "RMk9k3VC8dr4hhjgFh88rGhjAbzfBzHxJJ5n2fTcqus",
      "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:56",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x8AC76a51cc950d9822D68b83fE1Ad97B32Cd580d",
      "amount": "2000000000000000",
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:42161",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 300
    },
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "2000",
      "amountUsd": 0.002,
      "maxTimeoutSeconds": 604900
    },
    {
      "scheme": "exact",
      "network": "eip155:137",
      "payTo": "0x593857A4a4F619543ea12394137C3004ce841720",
      "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
      "amount": "2000",
      "amountUsd": 0.002,
      "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/address-poisoning",
        "properties": {
          "chain": {
            "type": "string"
          },
          "contacts_checked": {
            "type": "integer"
          },
          "decimals": {
            "type": [
              "integer",
              "null"
            ]
          },
          "dust_threshold": {
            "type": [
              "string",
              "null"
            ]
          },
          "dust_threshold_raw": {
            "type": [
              "string",
              "null"
            ]
          },
          "from": {
            "type": "string"
          },
          "history": {
            "type": "object"
          },
          "limits": {
            "type": "array"
          },
          "matches": {
            "type": "array"
          },
          "matches_total": {
            "type": "integer"
          },
          "reasons": {
            "type": "array"
          },
          "risk": {
            "type": "string"
          },
          "rpc_calls": {
            "type": "integer"
          },
          "rules": {
            "type": "object"
          },
          "to": {
            "type": "string"
          },
          "to_history": {
            "type": "object"
          },
          "token": {
            "type": "string"
          },
          "token_symbol": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "chain",
          "from",
          "to",
          "token",
          "risk",
          "reasons",
          "to_history",
          "matches",
          "history",
          "rules",
          "limits"
        ],
        "type": "object"
      },
      "type": {
        "type": "string"
      }
    },
    "required": [
      "type"
    ],
    "type": "object"
  },
  "extensions": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "chain": "base",
            "from": "0x5A0b54D5dc17e0AadC383d2db43B0a0D3E029c4c",
            "to": "0x7A25e8814F0C6D3B2a9e7f15C08D64B2A91EC4d3"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "chain": "base",
            "contacts_checked": 0,
            "decimals": 6,
            "dust_threshold": "0.01",
            "dust_threshold_raw": "10000",
            "from": "0x5A0b54D5dc17e0AadC383d2db43B0…",
            "history": {
              "blocks": 2000,
              "from_block": 52510001,
              "read": true,
              "to_block": 52512000
            },
            "limits": [
              "Only the transfers of this one…"
            ],
            "matches": [],
            "matches_total": 1,
            "reasons": [],
            "risk": "high",
            "rpc_calls": 3,
            "rules": {
              "paid": "`from` sent the address a non-z…",
              "prefix_chars": 4,
              "suffix_chars": 4,
              "zero_value": "a transfer of 0, either directi…"
            },
            "to": "0x7A25e8814F0C6D3B2a9e7f15C08D6…",
            "to_history": {
              "paid": false,
              "payments": 0,
              "received": 0,
              "seen": true
            },
            "token": "0x833589fCD6eDb6E08f4c7C32D4f71…",
            "token_symbol": "USDC"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "additionalProperties": false,
                "properties": {
                  "chain": {
                    "description": "ethereum, base or robinhood (Robinhood Chain, chain id 4663).",
                    "enum": [
                      "ethereum",
                      "base",
                      "robinhood"
                    ],
                    "type": "string"
                  },
                  "contacts": {
                    "anyOf": [
                      {
                        "items": {
                          "pattern": "^0x[0-9a-fA-F]{40}$",
                          "type": "string"
                        },
                        "maxItems": 100,
                        "type": "array"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Up to 100 addresses you trust (your address book); `to` is compared with them too, without any chain read."
                  },
                  "dust_threshold": {
                    "anyOf": [
                      {
                        "maximum": 1000000000000,
                        "minimum": 0,
                        "type": "number"
                      },
                      {
                        "type": "null"
                      }
                    ],
                    "default": null,
                    "description": "Incoming transfers below this many token units count as dust. Default 0.01 for USDC and USDT; off for other tokens unless set; 0 turns it off."
                  },
                  "from": {
                    "description": "The sending wallet whose transfer history is read (0x + 40 hex).",
                    "pattern": "^0x[0-9a-fA-F]{40}$",
                    "type": "string"
                  },
                  "lookback_blocks": {
                    "default": 2000,
                    "description": "How many of the latest blocks of history to read (0-2,000; default 2,000, about 67 minutes on Base and 6.7 hours on Ethereum). 0 reads nothing and checks `contacts` only.",
                    "maximum": 2000,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "to": {
                    "description": "The recipient about to be paid (0x + 40 hex). Must differ from `from`.",
                    "pattern": "^0x[0-9a-fA-F]{40}$",
                    "type": "string"
                  },
                  "token": {
                    "default": "USDC",
                    "description": "USDC (default), USDT, or a token contract address. Only this token's transfers are read. On robinhood pass a contract address.",
                    "pattern": "^(USDC|USDT|0x[0-9a-fA-F]{40})$",
                    "type": "string"
                  }
                },
                "required": [
                  "chain",
                  "from",
                  "to"
                ],
                "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/address-poisoning",
                "properties": {
                  "chain": {
                    "type": "string"
                  },
                  "contacts_checked": {
                    "type": "integer"
                  },
                  "decimals": {
                    "type": [
                      "integer",
                      "null"
                    ]
                  },
                  "dust_threshold": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "dust_threshold_raw": {
                    "type": [
                      "string",
                      "null"
                    ]
                  },
                  "from": {
                    "type": "string"
                  },
                  "history": {
                    "type": "object"
                  },
                  "limits": {
                    "type": "array"
                  },
                  "matches": {
                    "type": "array"
                  },
                  "matches_total": {
                    "type": "integer"
                  },
                  "reasons": {
                    "type": "array"
                  },
                  "risk": {
                    "type": "string"
                  },
                  "rpc_calls": {
                    "type": "integer"
                  },
                  "rules": {
                    "type": "object"
                  },
                  "to": {
                    "type": "string"
                  },
                  "to_history": {
                    "type": "object"
                  },
                  "token": {
                    "type": "string"
                  },
                  "token_symbol": {
                    "type": [
                      "string",
                      "null"
                    ]
                  }
                },
                "required": [
                  "chain",
                  "from",
                  "to",
                  "token",
                  "risk",
                  "reasons",
                  "to_history",
                  "matches",
                  "history",
                  "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",
    "address",
    "poisoning",
    "ens",
    "bazaar",
    "builder-code",
    "erc20ApprovalGasSponsoring",
    "payment-identifier"
  ],
  "sourceHost": "tanod.dev",
  "lastUpdated": "2026-10-13T20:35:40.904Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-10-13T20:35:40.265Z"
  },
  "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",
              "from": "0x5A0b54D5dc17e0AadC383d2db43B0a0D3E029c4c",
              "to": "0x7A25e8814F0C6D3B2a9e7f15C08D64B2A91EC4d3"
            },
            "bodyType": "json",
            "method": "POST",
            "type": "http"
          },
          "output": {
            "example": {
              "chain": "base",
              "contacts_checked": 0,
              "decimals": 6,
              "dust_threshold": "0.01",
              "dust_threshold_raw": "10000",
              "from": "0x5A0b54D5dc17e0AadC383d2db43B0…",
              "history": {
                "blocks": 2000,
                "from_block": 52510001,
                "read": true,
                "to_block": 52512000
              },
              "limits": [
                "Only the transfers of this one…"
              ],
              "matches": [],
              "matches_total": 1,
              "reasons": [],
              "risk": "high",
              "rpc_calls": 3,
              "rules": {
                "paid": "`from` sent the address a non-z…",
                "prefix_chars": 4,
                "suffix_chars": 4,
                "zero_value": "a transfer of 0, either directi…"
              },
              "to": "0x7A25e8814F0C6D3B2a9e7f15C08D6…",
              "to_history": {
                "paid": false,
                "payments": 0,
                "received": 0,
                "seen": true
              },
              "token": "0x833589fCD6eDb6E08f4c7C32D4f71…",
              "token_symbol": "USDC"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "body": {
                  "additionalProperties": false,
                  "properties": {
                    "chain": {
                      "description": "ethereum, base or robinhood (Robinhood Chain, chain id 4663).",
                      "enum": [
                        "ethereum",
                        "base",
                        "robinhood"
                      ],
                      "type": "string"
                    },
                    "contacts": {
                      "anyOf": [
                        {
                          "items": {
                            "pattern": "^0x[0-9a-fA-F]{40}$",
                            "type": "string"
                          },
                          "maxItems": 100,
                          "type": "array"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Up to 100 addresses you trust (your address book); `to` is compared with them too, without any chain read."
                    },
                    "dust_threshold": {
                      "anyOf": [
                        {
                          "maximum": 1000000000000,
                          "minimum": 0,
                          "type": "number"
                        },
                        {
                          "type": "null"
                        }
                      ],
                      "default": null,
                      "description": "Incoming transfers below this many token units count as dust. Default 0.01 for USDC and USDT; off for other tokens unless set; 0 turns it off."
                    },
                    "from": {
                      "description": "The sending wallet whose transfer history is read (0x + 40 hex).",
                      "pattern": "^0x[0-9a-fA-F]{40}$",
                      "type": "string"
                    },
                    "lookback_blocks": {
                      "default": 2000,
                      "description": "How many of the latest blocks of history to read (0-2,000; default 2,000, about 67 minutes on Base and 6.7 hours on Ethereum). 0 reads nothing and checks `contacts` only.",
                      "maximum": 2000,
                      "minimum": 0,
                      "type": "integer"
                    },
                    "to": {
                      "description": "The recipient about to be paid (0x + 40 hex). Must differ from `from`.",
                      "pattern": "^0x[0-9a-fA-F]{40}$",
                      "type": "string"
                    },
                    "token": {
                      "default": "USDC",
                      "description": "USDC (default), USDT, or a token contract address. Only this token's transfers are read. On robinhood pass a contract address.",
                      "pattern": "^(USDC|USDT|0x[0-9a-fA-F]{40})$",
                      "type": "string"
                    }
                  },
                  "required": [
                    "chain",
                    "from",
                    "to"
                  ],
                  "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/address-poisoning",
                  "properties": {
                    "chain": {
                      "type": "string"
                    },
                    "contacts_checked": {
                      "type": "integer"
                    },
                    "decimals": {
                      "type": [
                        "integer",
                        "null"
                      ]
                    },
                    "dust_threshold": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "dust_threshold_raw": {
                      "type": [
                        "string",
                        "null"
                      ]
                    },
                    "from": {
                      "type": "string"
                    },
                    "history": {
                      "type": "object"
                    },
                    "limits": {
                      "type": "array"
                    },
                    "matches": {
                      "type": "array"
                    },
                    "matches_total": {
                      "type": "integer"
                    },
                    "reasons": {
                      "type": "array"
                    },
                    "risk": {
                      "type": "string"
                    },
                    "rpc_calls": {
                      "type": "integer"
                    },
                    "rules": {
                      "type": "object"
                    },
                    "to": {
                      "type": "string"
                    },
                    "to_history": {
                      "type": "object"
                    },
                    "token": {
                      "type": "string"
                    },
                    "token_symbol": {
                      "type": [
                        "string",
                        "null"
                      ]
                    }
                  },
                  "required": [
                    "chain",
                    "from",
                    "to",
                    "token",
                    "risk",
                    "reasons",
                    "to_history",
                    "matches",
                    "history",
                    "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": {
      "chain": "string",
      "contacts_checked": 0,
      "decimals": 0,
      "dust_threshold": "string",
      "dust_threshold_raw": "string",
      "from": "string",
      "history": {},
      "limits": [
        "value"
      ],
      "matches": [
        "value"
      ],
      "matches_total": 0,
      "reasons": [
        "value"
      ],
      "risk": "string",
      "rpc_calls": 0,
      "rules": {},
      "to": "string",
      "to_history": {},
      "token": "string",
      "token_symbol": "string"
    },
    "type": "string"
  }
}