Spot On Chain Gitbook
  • SPOTONCHAIN PLATFORM
    • ⛓️Introduction
      • 📈Stay Updated
      • 💸Track Wallets
      • 📈Catch the Trend
      • 🕵️‍♂️Follow Manipulators
      • 🧐Investigate Wallet
    • 🧭Platform Navigation
      • 🌐Home Page
        • Search Bar & Highlighted Tokens
        • On-chain Newsfeed
        • AI Suggestion to Follow
        • Smart Money
        • Top First Time Purchase
      • 🎮Key Features
        • On-chain Signals
        • Visualizer
        • Smart Alert
        • Labeling
        • Spot On Chain AI Bot
      • 🏆Credit Points System
    • 🔮Premium Exclusivity
      • Premium Tiers
      • Advanced Real-time Alert
      • Premium Analytics Unlock
      • Boosted Referral Quota and Rewards
      • Free Visualizer Quota
      • Partner Integration
      • API Integration
    • 👨‍🚀Ambassadors' Land
      • Ambassadors' Benefit
      • Become An Ambassador
    • ❓FAQs
      • 🔐Beta Access Referral Program
      • ⚙️Accounts Sync
        • 📲Sync from web to app
        • 🌐Sync from app to web
  • Proof Of Sentiment
    • 🛞Introduction
    • 🕹️Sentiment Game
    • 🪙$SOCAI Token
    • 💦Airdrop Campaign
  • Node validator
    • 💢Introduction
    • 📦Available Nodes
    • ❓Staking Guide
      • Cosmos Ecosystem
      • Eigenlayer Platform
      • SEI Network
  • 🖥️API Integration
    • 🌐Overview
    • 🔡API Constants
    • 📒API List
Powered by GitBook
On this page
  1. API Integration

API Constants

Some codes we used in the API response

PreviousOverviewNextAPI List

Last updated 7 months ago

  1. ChainId

for EVM, we use standard EVM chain ID, you can check from

for non-evm:

SOLANA_MAIN = 2020000000
SOLANA_TEST = 2020000001

SOLANA_MAIN = 2020000000
SOLANA_TEST = 2020000001
RIPPLE_MAIN = 2030000000 
TRON_MAIN = 2040000000 
STELLAR_MAIN = 2050000000 
NEO_MAIN = 2060000000 
EOS_MAIN = 2070000000 
NEAR_MAIN = 2080000000
NEAR_TEST = 2080000001
SUI_MAIN = 2090000000
SUI_TEST = 2090000001 
BITCOIN_MAIN = 2110000000 
APTOS_MAIN = 2120000000 
APTOS_TEST = 2120000001 
TON_MAIN = 2130000000 
TON_TEST = 2130000001 

INJ_MAIN = 2200000000 
INJ_TEST = 2200000001 
OSMOSIS_MAIN = 2200000002 
OSMOSIS_TEST = 2200000003 
COSMOS_MAIN = 2200000004 
COSMOS_TEST = 2200000005 
DYDX_MAIN = 2200000006 
DYDX_TEST = 2200000007 
AXELAR_MAIN = 2200000008
AXELAR_TEST = 2200000009 
DYMENSION_MAIN = 2200000010 
DYMENSION_TEST = 2200000011 
SEI_MAIN = 2200000012 # 220 
SEI_TEST = 2200000013 # 220 
  1. OnchainSignalType

NORMAL = 0
SMART_TRADER = 1
BUY_SIGNAL = 2
SELL_SIGNAL = 3
  1. OnChainSignalTagType

TOKEN = 1
ADDRESS = 2
TXN_HASH = 3
AUTO_GEN_ID = 4
GRAPH_ID = 5
  1. OnChainSignalPriority

NORMAL = 1
PREMIUM = 2
  1. OnchainTxnSortType

SORT_BY_TIME_DESC = 1
SORT_BY_TIME_ASC = 2
SORT_BY_AMOUNT_USD_DESC = 3
SORT_BY_AMOUNT_USD_ASC = 4
SORT_BY_AMOUNT_DESC = 5 # only for token txn
SORT_BY_AMOUNT_ASC = 6 # only for token txn
  1. OnchainLabelAddressType

UNKNOWN = ""
EXCHANGE = "exchange"
EXCHANGE_DEPOSIT = "deposit"
DEX = "dex"
DAPP = "dapp"
ORG = "org"
BOT = "bot"
MM = "mm"
DEV = "dev"
SM = "sm"
KOL = "kol"
VC = "vc"
TRADING_FIRM = "trading_firm"
MULTI_SIGN = "multisign"
OTHER = "other"
  1. SearchTargetCategory

WALLET_ADDRESS = "Address"
LABELLED_ADDRESS = "Labelled Address"
ENTITY = "Entity"
TRANSACTION = "Transaction"
TOKEN = "Token"
ENS = "ENS"
🖥️
🔡
https://chainlist.org/