agentek-eth

by NaniDAO
Verified

getAllowance

Retrieve ERC20 token allowance between an owner and spender by specifying token, owner, and spender addresses. Supports multiple chains for Ethereum-based transactions and approvals.

Instructions

Gets the ERC20 token allowance between an owner and spender

Input Schema

NameRequiredDescriptionDefault
chainIdNoIf not specified, returns approval for all supported chains.
ownerYesThe token owner's address
spenderYesThe spender's address
tokenYesThe token address

Input Schema (JSON Schema)

{ "$schema": "http://json-schema.org/draft-07/schema#", "additionalProperties": false, "properties": { "chainId": { "description": "If not specified, returns approval for all supported chains.", "type": "number" }, "owner": { "description": "The token owner's address", "type": "string" }, "spender": { "description": "The spender's address", "type": "string" }, "token": { "description": "The token address", "type": "string" } }, "required": [ "token", "owner", "spender" ], "type": "object" }

You must be authenticated.

Other Tools from agentek-eth

Related Tools

ID: embaq2gcce