Skip to content
Fourohtwo

ERC-20 allowance on 16 EVM chains

saylorinnovations.com/api/chain/allowance

ERC-20 allowance on 16 EVM chains: how much a spender may move from an owner, scaled by decimals, with unlimited and zero flags.

SolanaUnchecked
GEThttps://saylorinnovations.com/api/chain/allowance

UptimeNot checked yet

30 days agoToday

Call it from an agent

curl -i "https://saylorinnovations.com/api/chain/allowance?chain=ethereum&owner=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&token=0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48&spender=0x000000000022D473030F116dDEE9F6B43aC78BA3"

# 402 Payment Required comes back with the price and where to pay.

Example input

{
  "chain": "ethereum",
  "owner": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "token": "0xA0b86991c6218b36c1d19D4a2e9Eb0cE3606eB48",
  "spender": "0x000000000022D473030F116dDEE9F6B43aC78BA3"
}

More from Saylor Innovations Data Desk