Skip to main content
Glama

agentek-eth

by NaniDAO

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

MCP directory API

We provide all the information about MCP servers via our MCP API.

curl -X GET 'https://glama.ai/api/mcp/v1/servers/NaniDAO/agentek'

If you have feedback or need assistance with the MCP directory API, please join our Discord server