holder_check
Does this wallet hold at least min whole tokens of this AgentPad (or any Base ERC-20) token right now? Read-only balanceOf at the latest block. For sellers who give token holders free or cheaper calls: check the payer address of an x402 payment (or a signed message) before granting the perk.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"token": "<token>",
"wallet": "<wallet>"
},
"name": "holder_check"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| min | No | whole tokens, default "1" | |
| token | Yes | 0x token address or a known symbol (APBUILD, APAD) | |
| wallet | Yes |