Token allowance, Sei ERC-20
No account. Pay by card from $1 and your key appears right after payment. Get a key by card
ERC-20 token allowance on Sei: how much a spender may move from an owner's wallet (allowance), raw and in token units, and whether the approval is unlimited. Use to check an approval before a swap or to audit risky open approvals; for the owner's balance use sei_token_balance. Token is the ticker USDC or a 0x contract; a missing contract or a non-ERC-20 one is 422, uncharged.
Inputs
| Name | Type | Description |
|---|---|---|
token (required) | string | Token: the ticker USDC, or the 0x ERC-20 contract address |
owner (required) | string | 0x wallet that gave the approval |
spender (required) | string | 0x contract or wallet allowed to spend (the example is Uniswap Permit2) |
Request
Over HTTP, with a card key from /credits:
curl -H "Authorization: Bearer adt_…" "https://glyphtools.com/sei/allowance?token=0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392&owner=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&spender=0x000000000022D473030F116dDEE9F6B43aC78BA3"
Node.js
const r = await fetch("https://glyphtools.com/sei/allowance?token=0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392&owner=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&spender=0x000000000022D473030F116dDEE9F6B43aC78BA3", {
headers: { Authorization: "Bearer adt_…" },
});
const data = await r.json(); // 402 until the key is in the header
Python
import requests
r = requests.get("https://glyphtools.com/sei/allowance?token=0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392&owner=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&spender=0x000000000022D473030F116dDEE9F6B43aC78BA3", headers={"Authorization": "Bearer adt_…"}, timeout=60)
data = r.json()
Or one of your 3 free calls, no key — the same request with &trial=1 on the end:
curl "https://glyphtools.com/sei/allowance?token=0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392&owner=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&spender=0x000000000022D473030F116dDEE9F6B43aC78BA3&trial=1"
Without a key, the same URL answers 402 Payment Required with x402 and MPP terms, so an agent with a wallet pays per call in USDC (Base, Polygon, Arbitrum or Solana over x402; Base or Tempo over MPP) and retries.
Example result
{
"chain": "Sei",
"chainId": 1329,
"token": "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392",
"symbol": "USDC",
"decimals": 6,
"owner": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
"spender": "0x000000000022D473030F116dDEE9F6B43aC78BA3",
"raw": "0",
"allowance": "0",
"unlimited": false
}
From an AI agent (MCP)
Add the MCP server to Claude, Cursor or any MCP client. This tool is sei_allowance, and the first 10 successful calls are free:
https://glyphtools.com/mcp