ToolAssay

Read a Base token name, symbol, decimals and total supply in one call

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.

Answeringour last check, 2026-10-02
1 of 1checks answered this week
2280 msmedian answer time
$0.006listed price per call
$0.006price it asked us

Paid test badge: not yet. The checks above are free: we call the tool without paying and read the payment request it sends back. The Verified badge needs paid calls whose answers match the promised output, and nobody can buy a badge.

Endpoint

POST https://api.zfinia.com/x402/v1/base-token-metadata

CategoryMarket data
Provider hostapi.zfinia.com
Networkseip155:8453
Payment schemesexact
Self-reported calls, 30 days1 from 1 payers (the provider's figure, not ours)

Our checks, last 30 days

DayResultHTTPAskedTime
2026-10-02 valid payment request 402$0.006 2280 ms

Example input (from the provider)

{
  "body": {
    "token": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913"
  },
  "bodyType": "json",
  "method": "POST",
  "type": "http"
}

Promised output schema (from the provider)

{
  "$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"
}

This page as JSON