Actions17
- Info Actions
- Transaction Actions
Info → Get Allowance
AI-generatedSummary
Retrieve the allowance amount for a spender address
Inputs
- tokenSymbol (required) — Symbol of the token (sent as a query parameter)
- spenderAddress (required) — Address of the spender whose allowance is being queried
- ownerAddress (required) — Address of the token owner
- requestOptions — Collection of additional HTTP options such as batching settings
- allowUnauthorizedCerts — Whether to accept the response when SSL certificate validation fails
- proxy — HTTP proxy to use for the request (e.g., http://username:password@myproxy:3128)
- timeout — Timeout in milliseconds to wait for the server response
Output shape
A JSON object containing the allowance amount (as a string) for the specified spender
If the spender has no allowance, the response may contain 0 or null; otherwise the value is returned as a hexadecimal string
Examples
Example 1: Check allowance for a spender
Set tokenSymbol, spenderAddress, and ownerAddress; optionally adjust timeout or enable proxy
Example 2: Batch multiple allowance queries
Configure requestOptions.batchSize and batchInterval to process several addresses in one workflow
Example 3: Ignore SSL errors for sandbox testing
Set allowUnauthorizedCerts=true and provide a sandbox proxy if needed