WatchData Documentation
  • πŸ“–Welcome to WatchData Docs
    • 🧩Features
      • ⛓️Blockchain API
      • ⚑Powered API
      • πŸͺ™Price API
    • πŸ’ΌWhat products are suitable for our solutions
  • πŸ‘‹Introduction
    • πŸ› οΈQuick start guide to WatchData!
    • πŸ€”Why Use WatchData?
    • πŸ’‘Supported chains
    • πŸ›‘Error Reference
    • πŸ—οΈChange Log (update)
  • πŸ’ŽPowered API
    • πŸ”€Transfers
      • watch_getTransfers
      • watch_getTransfersByAddress
    • πŸ’ Parity
      • parity_getBlockReceipts
    • πŸŒ€Trace
      • trace_transaction
      • trace_block
    • ⏹️Blocks
      • watch_getBlockNumberByTimestamp
    • *️⃣Token API
      • watch_getTokenBalances
      • πŸ†•watch_getTokenMetadata
    • πŸ†’Stats
      • watch_getStatsByDay
  • πŸ•ΈοΈBlockchain API's
    • Ethereum API
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getTransactionCount
      • eth_getTransactionByHash
      • eth_getTransactionReceipt
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getUncleCountByBlockHash
      • eth_getUncleCountByBlockNumber
      • eth_getLogs
      • eth_call
      • eth_chainId
      • eth_estimateGas
      • eth_gasPrice
      • eth_getBalance
      • eth_getCode
      • net_version
      • eth_getStorageAt
      • eth_sendRawTransaction
      • eth_blockNumber
    • ♨️Polygon API
      • eth_blockNumber - Polygon
      • eth_getBlockByHash - Polygon
      • eth_getBlockByNumber - Polygon
      • eth_getTransactionByHash - Polygon
      • eth_getTransactionCount - Polygon
      • eth_getTransactionReceipt -Polygon
      • eth_getBlockTransactionCountByHash - Polygon
      • eth_getBlockTransactionCountByNumber - Polygon
      • eth_getTransactionByBlockHashAndIndex - Polygon
      • eth_getTransactionByBlockNumberAndIndex - Polygon
      • eth_getUncleCountByBlockHash - Polygon
      • eth_getUncleCountByBlockNumber - Polygon
      • eth_getLogs - Polygon
      • eth_call - Polygon
      • eth_chainId - Polygon
      • eth_estimateGas - Polygon
      • eth_gasPrice - Polygon
      • eth_getBalance - Polygon
      • eth_getCode - Polygon
      • net_version - Polygon
      • eth_getStorageAt - Polygon
      • eth_sendRawTransaction - Polygon
    • Binance Smart Chain API
      • eth_blockNumber (BSC)
      • eth_getBlockByHash (BSC)
      • eth_getBlockByNumber (BSC)
      • eth_getTransactionCount (BSC)
      • eth_getTransactionByHash (BSC)
      • eth_getTransactionReceipt (BSC)
      • eth_getBlockTransactionCountByHash (BSC)
      • eth_getBlockTransactionCountByNumber (BSC)
      • eth_getTransactionByBlockHashAndIndex (BSC)
      • eth_getTransactionByBlockNumberAndIndex (BSC)
      • eth_getUncleCountByBlockHash (BSC)
      • eth_getUncleCountByBlockNumber (BSC)
      • eth_getLogs (BSC)
      • eth_call (BSC)
      • eth_chainId (BSC)
      • eth_estimateGas (BSC)
      • eth_gasPrice (BSC)
      • eth_getBalance (BSC)
      • eth_getCode (BSC)
      • net_version (BSC)
      • eth_getStorageAt (BSC)
      • eth_sendRawTransaction (BSC)
    • Tron API
      • Full Node API Overview
      • Address Utilities
        • CreateAddress
        • GenerateAddress
        • ValidateAddress
      • Transactions
        • CreateTransaction
        • EasyTransferByPrivate
        • EasyTransfer
        • BroadcastHex
        • BroadcastTransaction
      • Accounts
        • AccountPermissionUpdate
        • UpdateAccount
        • GetAccount
        • CreateAccount
      • Account Resources
        • GetAccountNet
        • GetAccountResource
        • UnfreezeBalance
        • FreezeBalance
        • GetDelegatedResource
        • GetDelegatedResourceAccountIndex
      • Query The Network
        • GetBlockByNum
        • GetBlockById
        • GetBlockByLatestNum
        • GetBlockByLimitNext
        • GetNowBlock
        • GetTransactionById
        • GetTransactionInfoById
        • GetTransactionInfoByBlockNum
        • GetNodeInfo
        • GetChainParameters
      • TRC 10 Token
        • GetAssetIssueByAccount
        • GetAssetIssueById
        • GetAssetIssueList
        • GetPaginatedAssetIssueList
        • TransferAsset
        • CreateAssetIssue
        • ParticipateAssetIssue
        • UnfreezeAsset
        • UpdateAsset
        • EasyTransferAsset
        • EasyTransferAssetByPrivate
      • Smart Contracts
        • GetContract
        • TriggerSmartContract
        • TriggerConstantContract
        • DeployContract
        • UpdateSetting
        • UpdateEnergyLimit
        • ClearAbi
      • TRONZ Shielded Smart Contract
        • GetSpendingKey
        • GetExpandedSpendingKey
        • GetAkFromAsk
        • GetNkFromNsk
        • GetIncomingViewingKey
        • GetDiversifier
        • GetZenPaymentAddress
        • GetNewShieldedAddress
        • CreateShieldedContractParameters
        • CreateSpendAuthSig
        • GetTriggerInputForShieldedTrc20Contract
        • ScanShieldedTrc20NotesByIvk
        • ScanShieldedTrc20NotesByOvk
        • IsShieldedTrc20ContractNoteSpent
      • Voting & SRs
        • ListWitnesses
        • CreateWitness
        • UpdateWitness
        • GetBrokerage
        • UpdateBrokerage
        • VoteWitnessAccount
        • GetReward
        • WithdrawBalance
        • GetNextMaintenanceTime
      • Proposals
        • ListProposals
        • GetProposalById
        • ProposalCreate
        • ProposalApprove
        • ProposalDelete
      • DEX Exchange
        • ListExchanges
        • GetExchangeById
        • ExchangeCreate
        • ExchangeInject
        • ExchangeWithdraw
        • ExchangeTransaction
      • Pending Pool
        • GetTransactionListFromPending
        • GetTransactionFromPending
        • GetPendingSize
    • Bitcoin API
      • Blockchain RPCs
        • getbestblockhash
        • getblock
        • getblockchaininfo
        • getblockcount
        • getblockhash
        • getblockheader
        • getblockstats
        • getchaintips
        • getchaintxstats
        • getdifficulty
        • getmempoolancestors
        • getmempooldescendants
        • getmempoolentry
        • getmempoolinfo
        • getrawmempool
        • gettxout
        • gettxoutproof
      • Rawtransactions RPCs
        • analyzepsbt
        • combinepsbt
        • combinerawtransaction
        • converttopsbt
        • createpsbt
        • createrawtransaction
        • decodepsbt
        • decoderawtransaction
        • decodescript
        • finalizepsbt
        • fundrawtransaction
        • getrawtransaction
        • joinpsbts
        • sendrawtransaction
        • testmempoolaccept
        • utxoupdatepsbt
  • πŸͺ™Price API
    • Price API
      • All tickers
      • Current price
  • ⛓️Web3
    • Web3 SDK
      • Web3.js
      • Web3.py
      • Ethers.js
      • Ethereum.rb
  • πŸ—ΊοΈTutorials and Guides
    • How to guides
      • How Getting Ethereum Account Balance and Transactions
      • How do I add WatchData to MetaMask?
      • How can i Get stats by Day
      • How to get the balance of an ERC-20 token
      • How can i get transfers using watch_getTransfersByAddress?
    • WatchData PriceΒ API and how it works?
    • How eth_getLogs works?
  • πŸ—ƒοΈResources
    • Pricing and Limits
      • Watch Units
    • FAQ
      • General
      • Pricing
      • Privacy
    • Support
    • Community
Powered by GitBook
On this page
  1. Blockchain API's
  2. Tron API
  3. DEX Exchange

ListExchanges

List all exchange pairs.

Return value:List of all exchanges

Query params:

  • visible

Request

curl --request GET \
     --url https://tron.api.watchdata.io/wallet/listexchanges \
     --header 'Accept: application/json'

Response

{
  "exchanges": [
    {
      "exchange_id": 12,
      "creator_address": "4100776428620856ae1d71562812b734e356b68551",
      "create_time": 1645510920000,
      "first_token_id": "31303030343837",
      "first_token_balance": 200,
      "second_token_id": "31303030303031",
      "second_token_balance": 50
    },
    {
      "exchange_id": 11,
      "creator_address": "41ebd12b35e1fed38ab2cd819fb98343de5dd60693",
      "create_time": 1602662358000,
      "first_token_id": "31303030343038",
      "second_token_id": "5f"
    },
    {
      "exchange_id": 10,
      "creator_address": "41005d7d79f849b8237c518e92db6673cf1c37034f",
      "create_time": 1602382689000,
      "first_token_id": "31303030343035",
      "first_token_balance": 100000,
      "second_token_id": "5f",
      "second_token_balance": 100000000000
    },
    {
      "exchange_id": 9,
      "creator_address": "41553b28043e0df5c43919022485866519e62be9f4",
      "create_time": 1596730395000,
      "first_token_id": "31303030323331",
      "first_token_balance": 100000,
      "second_token_id": "5f",
      "second_token_balance": 100000000000
    },
    {
      "exchange_id": 8,
      "creator_address": "410ca7c49aa44d26aabfe7f594c645cf9f17a4ff70",
      "create_time": 1591699941000,
      "first_token_id": "31303030303033",
      "second_token_id": "5f"
    },
    {
      "exchange_id": 7,
      "creator_address": "410ca7c49aa44d26aabfe7f594c645cf9f17a4ff70",
      "create_time": 1591311390000,
      "first_token_id": "31303030303033",
      "first_token_balance": 800,
      "second_token_id": "5f",
      "second_token_balance": 400000000000
    },
    {
      "exchange_id": 6,
      "creator_address": "410ca7c49aa44d26aabfe7f594c645cf9f17a4ff70",
      "create_time": 1591045965000,
      "first_token_id": "31303030303031",
      "second_token_id": "5f"
    },
    {
      "exchange_id": 5,
      "creator_address": "41380acc40972ca90d05b8ddad16841e2b5e0d0b76",
      "create_time": 1588219050000,
      "first_token_id": "31303030313431",
      "second_token_id": "5f"
    },
    {
      "exchange_id": 4,
      "creator_address": "41bfe78a698921798aeac89f4f7bae8ed0641590e2",
      "create_time": 1588217409000,
      "first_token_id": "31303030313339",
      "second_token_id": "5f"
    },
    {
      "exchange_id": 3,
      "creator_address": "41cfc401a0c48b2cf11966fd09ecc5d40e301c2b22",
      "create_time": 1584778344000,
      "first_token_id": "31303030313138",
      "second_token_id": "5f"
    },
    {
      "exchange_id": 2,
      "creator_address": "410ca7c49aa44d26aabfe7f594c645cf9f17a4ff70",
      "create_time": 1578435996000,
      "first_token_id": "31303030303033",
      "second_token_id": "5f"
    },
    {
      "exchange_id": 1,
      "creator_address": "410ca7c49aa44d26aabfe7f594c645cf9f17a4ff70",
      "create_time": 1575754887000,
      "first_token_id": "31303030303033",
      "first_token_balance": 9,
      "second_token_id": "5f",
      "second_token_balance": 240000000
    }
  ]
}
PreviousDEX ExchangeNextGetExchangeById

Last updated 2 years ago

πŸ•ΈοΈ