Token allowance, Mantle ERC-20
Token allowance, Mantle ERC-20. ERC-20 token allowance on Mantle: how much a spender may move from an owner's wallet (allowance), raw and in token units, and whether the approval is unlimited. Use to check an approval before a swap or to audit risky open approvals; for the owner's balance use mantle_token_balance. Token is a ticker (USDC, USDT, WETH…) or a 0x contract; a missing contract is 404 and a non-ERC-20 422, both uncharged.
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://agent-data-tools.revmesh2074.workers.dev/mantle/allowance
| Category | Code and developer |
|---|---|
| Provider host | agent-data-tools.revmesh2074.workers.dev |
| Networks | eip155:137, eip155:42161, eip155:8453, solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp |
| Payment schemes | exact |
| Self-reported calls, 30 days | 0 from 0 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",
"queryParams": {
"owner": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"spender": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
"token": "0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9"
},
"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"
},
"queryParams": {
"properties": {
"owner": {
"description": "0x wallet that gave the approval",
"examples": [
"0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045"
],
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"spender": {
"description": "0x contract or wallet allowed to spend (the example is Uniswap Permit2)",
"examples": [
"0x000000000022D473030F116dDEE9F6B43aC78BA3"
],
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
},
"token": {
"description": "Token: a ticker such as USDC or WETH, or the 0x ERC-20 contract address",
"examples": [
"0x09Bc4E0D864854c6aFB6eB9A9cdF58aC190D0dF9"
],
"pattern": "^0x[0-9a-fA-F]{40}$",
"type": "string"
}
},
"required": [
"token",
"owner",
"spender"
],
"type": "object"
},
"type": {
"const": "http",
"type": "string"
}
},
"required": [
"type",
"method"
],
"type": "object"
},
"output": {
"properties": {
"example": {
"properties": {
"allowance": {
"type": "string"
},
"chain": {
"type": "string"
},
"chainId": {
"type": "number"
},
"decimals": {
"type": "number"
},
"owner": {
"type": "string"
},
"raw": {
"type": "string"
},
"spender": {
"type": "string"
},
"symbol": {
"type": "string"
},
"token": {
"type": "string"
},
"unlimited": {
"type": "boolean"
}
},
"type": "object"
},
"type": {
"type": "string"
}
},
"required": [
"type"
],
"type": "object"
}
},
"required": [
"input"
],
"type": "object"
}