Unlimited allowances are the #1 drain vector, and agents reach for approve(max)
Unlimited allowances are the #1 drain vector, and agents reach for approve(max) on every swap. This builds ready-to-sign calldata for an approval of EXACTLY the amount you need (via the token's decimals) and refuses unlimited unless forced. Reads the live allowance and returns a revoke step first when one is already set (a non-zero→non-zero approve reverts on USDT-style tokens). Build-time prevention, not detection; we never hold keys. Not financial advice.
Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.
Endpoint
GET https://402.com.tr/api/x402/safe-approve
| Category | Market data |
|---|---|
| Provider host | 402.com.tr |
| Networks | eip155:8453 |
| Payment schemes | exact |
| Self-reported calls, 30 days | 1 from 1 payers (the provider's figure, not ours) |
Our checks, last 30 days
We never call tools that send, buy, move money or file anything, not even without paying.
Example input (from the provider)
{
"method": "GET",
"pathParams": {},
"queryParams": {
"amount": "100",
"owner": "0x973a31858f4d2125f48c880542da11a2796f12d6",
"spender": "0xcF77a3Ba9A5CA399B7c97c74d54e5b1Beb874E43",
"token": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
},
"type": "http"
}
Promised output schema (from the provider)
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"properties": {
"input": {
"additionalProperties": false,
"properties": {
"method": {
"enum": [
"GET"
],
"type": "string"
},
"pathParams": {
"type": "object"
},
"queryParams": {
"properties": {
"allowUnlimited": {
"description": "Allow unlimited (1 = yes, not recommended)",
"type": "string"
},
"amount": {
"description": "Exact amount to approve (or 'max')",
"type": "string"
},
"owner": {
"description": "Your wallet (optional, reads live allowance)",
"type": "string"
},
"spender": {
"description": "Spender (router/contract)",
"type": "string"
},
"token": {
"description": "Token contract",
"type": "string"
}
},
"required": [
"token",
"spender",
"amount"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}