Bitycle Business
  1. Blockchain Indexer
Bitycle Business
  • Getting started
  • Bitycle Lab
    • introduction
    • Wallet as a Service(WaaS)
      • introduction
      • request Wallet(Temporary)
      • request Wallet(Permanent)
      • inquiry payment
    • Blockchain Indexer
      • introduction
      • Blockchain List
        GET
      • Contract Info
        GET
      • Get Balances
        GET
    • Security&Privacy
      • introduction
      • Check USDT Wallets Blocked
      • Get USDT blocked History
    • Node as a Service(NaaS)
      • introduction
    • Tokenization
      • introduction
    • Decentralized Storage(IPFS)
      • introduction
    • Hyperledger Services
      • introduction
  • Bitycle Cap
    • introduction
    • Coins
      • introduction
      • Coin List
      • Coin Info
      • Coin Price
      • coin exchange listings
    • Markets
      • introduction
      • Market Price
      • Markets List
      • Market Info
      • market sparklines
    • exchanges
      • introduction
      • CEX Aggregator(Buy&Sell)
        • introduction
        • get tradable markets
        • get tradable markets price
        • send otc order
        • get orders
        • get balances
      • Exchanges List
      • Exchange Info
      • Exchange Coins Listing
      • Exchange Markets Listing
  1. Blockchain Indexer

Get Balances

GET
/api/bc/balances
دریافت موجودی توکن های آدرس‌های مختلف در یک شبکه بلاکچین.
برای دریافت موجودی کوین اصلی شبکه از این آدرس استفاده کنید:
0x0000000000000000000000000000000000000000
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request GET 'https://chainhub.bitycle.com/api/bc/balances' \
--header 'Authorization: Token xxx' \
--header 'Content-Type: application/json' \
--data-raw '{
  "network": "eth",
  "pairs": [
    {
      "contract": "0x0000000000000000000000000000000000000000",
      "wallet": "0x0b423fc9005e4b9198d309d96c9eaef1b1319b39"
    },
    {
      "contract": "0xdac17f958d2ee523a2206206994597c13d831ec7",
      "wallet": "0x0b423fc9005e4b9198d309d96c9eaef1b1319b39"
    }
  ]
}'
Response Response Example
{
    "code": 0,
    "message": "",
    "data": [
        {
            "wallet": "0x0B423Fc9005e4B9198d309d96c9eaef1b1319B39",
            "contract": "0x0000000000000000000000000000000000000000",
            "balance": 0.012338659946268718
        },
        {
            "wallet": "0x0B423Fc9005e4B9198d309d96c9eaef1b1319B39",
            "contract": "0xdAC17F958D2ee523a2206206994597C13D831ec7",
            "balance": 0
        }
    ]
}

Request

Header Params
Authorization
string 
required
Example:
{{labs_token}}
Body Params application/json
network
enum<string> 
required
Allowed values:
ethtronpol
pairs
array [object {2}] 
required
contract
string 
required
wallet
string 
required
Examples

Responses

🟢200success
application/json
Body
code
integer 
required
message
string 
required
data
array [object {3}] 
required
wallet
string 
required
contract
string 
required
balance
number 
required
Previous
Contract Info
Next
introduction
Built with