Butter Network
Github
  • 🌈About Butter Network
  • 🔥ZK Light Client
    • Understanding Light Client
    • Refactored ZK Light Client
  • 🔥Omnichain Development
    • Omnichain Isomorphism
    • More Possibilities
  • 🌈Butter Omnichain Messaging Integration
    • Introduction
    • Integration Guide
      • Message
      • Message with Ton
      • CALLDATA
      • Message And Relay
    • Contract Interface
    • Fee
    • Deployed Contracts
    • 👨‍💻API for Omnichain Message
      • GET Message History by Source Address
      • GET Message Info by Id
      • GET Message Info by Source Hash
  • 🔥Butter Bridge Integration
    • Integration Guide
    • Contract Interface
    • Fee
    • Deployed Contracts
  • 💰Butter Swap Integration
    • Introduction
    • 🟢Integration Guide
      • Contract Interface
      • Fee
    • Deployed Contracts
      • v2.1
    • 👩‍💻API for Routing
      • Integration Guide
      • GET /route
      • GET /swap
      • GET /routeAndSwap
      • GET /supportedChainList
      • GET /findToken
      • 🔴Error Code List
    • 👨‍💻API for Swap Data
      • GET Swap History by Source Hash
      • GET Swap History by Source Address
      • GET Swap Info by Order ID
      • GET Supported Chain Detail List
      • GET Supported Token Detail List
  • 💰Butter Swap User Guide
    • 🫂User Guide
  • Butter Swap SDK
    • Install
    • Config SDK
    • Request Routes
    • Execute Route
    • Others
  • Butter Swap Widget
    • Usage
  • 📢Resources
    • 🏠Website
    • 🫂Telegram
    • 📄X
Powered by GitBook
On this page
  1. Butter Swap Integration
  2. API for Swap Data

GET Supported Token Detail List

PreviousGET Supported Chain Detail ListNextUser Guide

Last updated 11 months ago

GET /api/queryTokenList

Complete Query Example

Request Params

Name

Location

Type

Required

Description

pageNo

query

Integer

no

Integer of page number, default is 1

pageSize

query

Integer

no

Integer of page size, default is 10, max is 100

network

query

string

yes

Key field in chain list

symbol

query

string

no

Token symbol,Support fuzzy query

Responses

HTTP Status Code

Meaning

Description

Data schema

200

Success

Inline

Responses Data

Name

Type

Description

results

JSONArray

List of token list.

count

Integer

Total number of tokens.

Responses Params

Name

Type

Description

chainId

String

Chain id.

address

String

Token address.

blockchainNetwork

String

Chain key.

decimals

Integer

Token decimal.

image

String

Token icon url.

name

Biginteger

Token name.

symbol

String

Token symbol.

usdprice

decimal

Token price.

Response Examples

200 Response

{
  "code": 200,
  "message": "success",
  "data": {
    "count": 12,
    "results": [
      {
        "id": 34744,
        "chainId": "1030",
        "address": "0x0000000000000000000000000000000000000000",
        "blockchainNetwork": "conflux",
        "coingeckoId": null,
        "decimals": 18,
        "image": "https://map-static-file.s3.amazonaws.com/mapSwap/conflux/0x0000000000000000000000000000000000000000.png",
        "name": "Conflux",
        "rank": 0,
        "symbol": "CFX",
        "tokenSecurity": null,
        "usdprice": 0,
        "usedIniframe": 0
      }
......
    ]
  }
}

💰
👨‍💻
https://bs-tokens-api.chainservice.io/api/queryTokenList?network=binance-smart-chain&page=1&size=10
OK