Skip to content
Fourohtwo

Sei ERC-20 balance

agent-data-tools.revmesh2074.workers.dev/sei/token-balance

Sei ERC-20 balance. ERC-20 token balance of a wallet on Sei (USDC, USDT, WETH or any token, via balanceOf): raw amount, decimals, symbol and the human-readable amount, live from the token contract. Use to check stablecoin or token holdings before a transfer or trade; for the native coin use sei_balance. Both inputs are 0x addresses (40 hex characters); no contract returns 404 and a non-ERC-20 cont

BasePolygonArbitrumSolanaUnchecked
GEThttps://agent-data-tools.revmesh2074.workers.dev/sei/token-balance

UptimeNot checked yet

30 days agoToday

Try it

Pays from your browser wallet in USDC on Base or USDG on Robinhood Chain, whichever the endpoint takes. The provider is paid directly; failed calls aren't refunded by Fourohtwo.

The response shows up here.

Call it from an agent

import { createPayer } from "fourohtwo";

// One agent key pays USDC on Base or USDG on Robinhood Chain,
// inside the spending rules you set on Fourohtwo.
const pay = createPayer({ privateKey: process.env.AGENT_KEY });
const res = await pay("https://agent-data-tools.revmesh2074.workers.dev/sei/token-balance?address=0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045&token=0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392");
console.log(await res.json());

Example input

{
  "address": "0xd8dA6BF26964aF9D7eEd9e03E53415D37aA96045",
  "token": "0xe15fC38F6D8c56aF07bbCBe3BAf5708A2Bf42392"
}