{
  "x402Version": 2,
  "id": 2459,
  "slug": "2459",
  "resource": "https://www.tereno.xyz/api/v1/capabilities/token.metadata/invoke",
  "description": "What token is this? Read a Base token's name, symbol, decimals and total supply in one cheap typed call, with block-level freshness and explicit limitations. Identity is shared across agents for 7 days while total supply is re-read on every call beyond the block window the answer was quoted for. Positive-sum by design: $0.03 cold, $0.02 when the token identity is already shared, $0.01 on a shared full answer — and the wallet that seeded it earns a share of every reuse.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0xfbF218ACCBb0D57fc4E8fc3E2A885C910c4C9e94",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "30000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "method": "GET",
          "queryParams": {
            "address": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913"
          },
          "type": "http"
        },
        "output": {
          "example": {
            "capabilityId": "token.metadata",
            "capabilityVersion": "1.0.0",
            "invocationId": "uuid",
            "pricing": {
              "actualCacheStatus": "miss",
              "creditAppliedUsd": 0,
              "currency": "USDC",
              "listPriceUsd": 0.001,
              "pricePaidUsd": 0.001,
              "quotedCacheStatus": "miss"
            },
            "receiptUrl": "/api/v1/receipts/uuid",
            "result": {
              "computedAtBlock": 123456,
              "erc20Readable": true,
              "reasonCodes": [
                "ERC20_METADATA_READ"
              ],
              "token": {
                "address": "0x833589fcd6edb6e08f4c7c32d4f71b54bda02913",
                "decimals": 6,
                "name": "USD Coin",
                "symbol": "USDC",
                "totalSupply": "3500000000000000"
              },
              "validUntilBlock": 123461,
              "verdict": "allow"
            },
            "verdict": "allow"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "method": {
                "enum": [
                  "GET"
                ],
                "type": "string"
              },
              "queryParams": {
                "additionalProperties": false,
                "properties": {
                  "address": {
                    "description": "Base token contract address to read name, symbol, decimals and totalSupply from.",
                    "pattern": "^0x[a-fA-F0-9]{40}$",
                    "type": "string"
                  },
                  "quote": {
                    "description": "Optional single-use quote id.",
                    "type": "string"
                  }
                },
                "required": [
                  "address"
                ],
                "type": "object"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "properties": {
                  "capabilityId": {
                    "const": "token.metadata"
                  },
                  "invocationId": {
                    "type": "string"
                  },
                  "pricing": {
                    "type": "object"
                  },
                  "receiptUrl": {
                    "type": "string"
                  },
                  "result": {
                    "properties": {
                      "erc20Readable": {
                        "type": "boolean"
                      },
                      "reasonCodes": {
                        "type": "array"
                      },
                      "token": {
                        "type": "object"
                      },
                      "validUntilBlock": {
                        "type": "integer"
                      }
                    },
                    "required": [
                      "token",
                      "erc20Readable",
                      "reasonCodes",
                      "validUntilBlock"
                    ],
                    "type": "object"
                  },
                  "verdict": {
                    "enum": [
                      "allow",
                      "review",
                      "block"
                    ]
                  }
                },
                "required": [
                  "capabilityId",
                  "invocationId",
                  "verdict",
                  "result",
                  "pricing",
                  "receiptUrl"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "builder-code": {
      "info": {
        "a": "bc_8kag0yoi"
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "additionalProperties": false,
        "properties": {
          "a": {
            "description": "App builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          },
          "s": {
            "description": "Service builder codes",
            "items": {
              "pattern": "^[a-z0-9_]{1,32}$",
              "type": "string"
            },
            "type": "array"
          },
          "w": {
            "description": "Wallet builder code",
            "pattern": "^[a-z0-9_]{1,32}$",
            "type": "string"
          }
        },
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "builder-code"
  ],
  "sourceHost": "www.tereno.xyz",
  "lastUpdated": "2026-09-09T13:13:15.524Z",
  "quality": {
    "calls30d": 5,
    "uniquePayers30d": 3,
    "lastCalledAt": "2026-09-09T13:13:15.309Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "www.tereno.xyz",
    "manifest_name": "www.tereno.xyz",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}