{"slug":"api-zfinia-com-x402-v1-base-token-metadata-5a5fb1","title":"Read a Base token name, symbol, decimals and total supply in one call","host":"api.zfinia.com","method":"POST","resource":"https://api.zfinia.com/x402/v1/base-token-metadata","category":"market","description":"Read a Base token name, symbol, decimals and total supply in one call. Handles tokens that return a bytes32 name or symbol instead of a string, which is the case that breaks naive decoders. Fields the contract does not implement come back null and are listed, rather than guessed at. Refuses an addre","price_listed":0.006,"price_asked":0.006,"state":"answering","state_label":"Answering","checks_7d":1,"answered_7d":1,"latency_ms_median":2280,"reported_calls_30d":1,"reported_payers_30d":1,"networks":["eip155:8453"],"badge":"unverified","paid_checks_7d":0,"paid_ok_7d":0,"example_input":{"body":{"token":"0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"},"bodyType":"json","method":"POST","type":"http"},"output_schema":{"$schema":"https://json-schema.org/draft/2020-12/schema","properties":{"input":{"additionalProperties":false,"properties":{"body":{"additionalProperties":false,"properties":{"token":{"description":"Token contract address.","pattern":"^0x[0-9a-fA-F]{40}$","type":"string"}},"required":["token"],"type":"object"},"bodyType":{"enum":["json","form-data","text"],"type":"string"},"method":{"enum":["POST"],"type":"string"},"type":{"const":"http","type":"string"}},"required":["type","method","bodyType","body"],"type":"object"},"output":{"properties":{"example":{"additionalProperties":false,"properties":{"block_hash":{"description":"Hash of that block.","type":"string"},"block_number":{"description":"Decimal block height every value in this response was read at.","type":"string"},"chain":{"const":"base"},"chain_id":{"const":8453},"decimals":{"type":["integer","null"]},"name":{"type":["string","null"]},"request_id":{"description":"Delivery request identifier; also returned in x-foundry-request-id.","type":"string"},"rpc_calls":{"description":"Upstream RPC calls this response cost.","type":"integer"},"service_id":{"description":"Canonical service identifier.","type":"string"},"service_version":{"description":"Version of the invoked service.","type":"string"},"symbol":{"type":["string","null"]},"token":{"type":"string"},"total_supply_raw":{"type":["string","null"]},"unreadable_fields":{"items":{"type":"string"},"type":"array"}},"required":["request_id","service_id","service_version","chain","chain_id","block_number","block_hash","rpc_calls","token","name","symbol","decimals","total_supply_raw","unreadable_fields"],"type":"object"},"type":{"type":"string"}},"required":["type"],"type":"object"}},"required":["input"],"type":"object"},"history":[{"day":"2026-10-02","reachable":true,"status":402,"valid_402":true,"asked_usdc":0.006,"price_match":true,"latency_ms":2280,"error":null}],"description_full":"Read a Base token name, symbol, decimals and total supply in one call. Handles tokens that return a bytes32 name or symbol instead of a string, which is the case that breaks naive decoders. Fields the contract does not implement come back null and are listed, rather than guessed at. Refuses an address with no contract.","last_updated":"2026-10-02T07:28:34.233Z","schemes":["exact"]}