x402_chain_reads_v1__erc20_allowance
Read-only
Returns an ERC-20 allowance as a uint256 for a token, owner and spender on Base, read from the contract via eth_call.
GET https://ari001.tailb4ac3a.ts.net/v1/ventures/x402_chain_reads_v1/erc20_allowance. Same payment terms as that HTTP route. Call once with no payment. The result is the payment terms. Retry the same call with the signed payment at _meta["x402/payment"].
Input Schema
TableJSON Schema
| Name | Required | Description | Default |
|---|---|---|---|
| owner | Yes | 0x + 40 hex | |
| token | Yes | ERC-20 contract, 0x + 40 hex | |
| spender | Yes | 0x + 40 hex |