Developers — SWTT
SWTT Read-Only Endpoints
Monitor token-linked state on Base Mainnet without exposing internals. Four read-only endpoints for balance, events, token info, and total supply.
/api/racing-os-pro/swtt/balanceBalance
Returns the SWTT token balance for a given wallet address on Base Mainnet. Pass the address as a query parameter.
Parameters
addressqueryA valid 0x-prefixed Ethereum address.
Rate limit
30 req/min per IP
Balance is returned as a formatted string (e.g. "1,250.00") and as a raw integer string.
/api/racing-os-pro/swtt/eventsEvents
Returns the 20 most recent SWTT Transfer events from the last 500 blocks on Base Mainnet.
Rate limit
20 req/min per IP
Events are returned in reverse chronological order. Each event includes from, to, value, txHash, and block number.
/api/racing-os-pro/swtt/infoInfo
Returns static token information: name, symbol, decimals, total supply, max supply, and owner address.
Rate limit
30 req/min per IP
Response is cached for 30 seconds. Max supply returns "Uncapped" if the contract does not define one.
/api/racing-os-pro/swtt/supplySupply
Returns the current total supply of SWTT on Base Mainnet.
Rate limit
60 req/min per IP
Supply is returned as a formatted string and as a raw hex value. Response is not cached.
Safety Note
All SWTT endpoints are read-only. They query on-chain state via the Base Mainnet RPC and return the result. They do not modify any state, on-chain or off-chain.
SWTT is a utility token used to meter platform usage. It is not a financial product, currency, or investment instrument. The balance and supply figures returned by these endpoints reflect on-chain state and are provided for informational purposes only.
Token mechanics, contract internals, and the relationship between SWTT and the TAP protocol are not exposed through these endpoints.