PancakeSwap · Schema

PancakeSwap Token

Schema for a token listed on PancakeSwap

DeFiDEXBNB ChainDecentralized ExchangeBlockchainSwapLiquidityYield FarmingNFTWeb3

Properties

Name Type Description
name string Full token name
symbol string Token ticker symbol
price string Token price in USD
price_BNB string Token price in BNB
View JSON Schema on GitHub

JSON Schema

token.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/pancakeswap/main/json-schema/token.json",
  "title": "PancakeSwap Token",
  "description": "Schema for a token listed on PancakeSwap",
  "type": "object",
  "properties": {
    "name": {
      "type": "string",
      "description": "Full token name",
      "example": "PancakeSwap Token"
    },
    "symbol": {
      "type": "string",
      "description": "Token ticker symbol",
      "example": "CAKE"
    },
    "price": {
      "type": "string",
      "description": "Token price in USD",
      "example": "5.32"
    },
    "price_BNB": {
      "type": "string",
      "description": "Token price in BNB",
      "example": "0.014"
    }
  },
  "required": ["name", "symbol", "price", "price_BNB"]
}