LogoLogo
DashboardBlogStakingContact
  • About
    • Node API
    • Billing
    • Faucets
  • Aptos
    • Overview
    • Endpoints
      • Accounts
        • Get Account
        • Get Account Resources
        • Get Account Resource
        • Get Account Modules
        • Get Account Module
      • Blocks
        • Get Blocks by Height
        • Get Blocks by Version
      • Events
        • Get Events by Creation Number
        • Get Events by Event Handle
      • General
        • Get Ledger Info
      • Tables
        • Get Table Item
        • Get Raw Table iItem
      • Transactions
        • Get transactions
        • Submit Transaction
        • Get Transaction by Hash
        • Get Transaction by Version
        • Get Account Transactions
        • Submit Batch Transactions
        • Simulate Transaction
        • Encode Submission
        • Estimate Gas Price
      • View
        • Execute View Function of a Module
  • Arbitrum
    • Overview
    • Execution API
      • eth_accounts
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_estimateGas
      • eth_gasPrice
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_getLogs
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionCount
      • eth_getTransactionReceipt
      • eth_getUncleByBlockHashAndIndex
      • eth_getUncleByBlockNumberAndIndex
      • eth_getUncleCountByBlockHash
      • eth_getUncleCountByBlockNumber
      • eth_newBlockFilter
      • eth_newFilter
      • eth_newPendingTransactionFilter
      • eth_sendRawTransaction
      • eth_subscribe
      • eth_syncing
      • eth_uninstallFilter
      • eth_unsubscribe
      • net_listening
      • net_peerCount
      • net_version
      • web3_clientVersion
      • web3_sha3
    • Debug API
      • debug_traceBlockByHash
      • debug_traceBlockByNumber
      • debug_traceCall
      • debug_traceTransaction
  • Avalanche
    • Overview
    • C-Chain
      • eth_accounts
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_estimateGas
      • eth_gasPrice
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_getLogs
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionCount
      • eth_getTransactionReceipt
      • eth_getUncleByBlockHashAndIndex
      • eth_getUncleByBlockNumberAndIndex
      • eth_getUncleCountByBlockHash
      • eth_getUncleCountByBlockNumber
      • eth_newBlockFilter
      • eth_newFilter
      • eth_newPendingTransactionFilter
      • eth_sendRawTransaction
      • eth_subscribe
      • eth_syncing
      • eth_uninstallFilter
      • eth_unsubscribe
      • net_listening
      • net_peerCount
      • net_version
      • web3_clientVersion
      • web3_sha3
      • avax.getAtomicTx
      • avax.getAtomicTxStatus
      • avax.getUTXOs
      • avax.issueTx
    • X-Chain
      • avm.getAssetDescription
      • avm.getTx
    • P-Chain
      • platform.getBlockchainStatus
      • platform.getCurrentSupply
      • platform.getCurrentValidators
      • platform.getHeight
      • platform.getMinStake
      • platform.getPendingValidators
      • platform.getStakingAssetID
      • platform.getTimestamp
      • platform.getTotalStake
      • platform.getTx
      • platform.getTxStatus
      • platform.getUTXOs
      • platform.issueTx
      • platform.sampleValidators
      • platform.validatedBy
      • platform.validates
  • Base
    • Overview
    • Execution API
      • eth_accounts
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_createAccessList
      • eth_estimateGas
      • eth_feeHistory
      • eth_gasPrice
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_getLogs
      • eth_getProof
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionCount
      • eth_getTransactionReceipt
      • eth_getUncleByBlockHashAndIndex
      • eth_getUncleByBlockNumberAndIndex
      • eth_getUncleCountByBlockHash
      • eth_getUncleCountByBlockNumber
      • eth_maxPriorityFeePerGas
      • eth_newBlockFilter
      • eth_newFilter
      • eth_newPendingTransactionFilter
      • eth_sendRawTransaction
      • eth_subscribe
      • eth_syncing
      • eth_uninstallFilter
      • eth_unsubscribe
      • net_listening
      • net_peerCount
      • net_version
      • web3_clientVersion
      • web3_sha3
    • Debug API
      • debug_traceBlockByHash
      • debug_traceBlockByNumber
      • debug_traceCall
      • debug_traceTransaction
  • Berachain
    • Overview
    • Execution API
      • eth_accounts
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_estimateGas
      • eth_gasPrice
      • eth_feeHistory
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_getLogs
      • eth_getProof
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionCount
      • eth_getTransactionReceipt
      • eth_getUncleByBlockHashAndIndex
      • eth_getUncleByBlockNumberAndIndex
      • eth_getUncleCountByBlockHash
      • eth_getUncleCountByBlockNumber
      • eth_maxPriorityFeePerGas
      • eth_newBlockFilter
      • eth_newFilter
      • eth_newPendingTransactionFilter
      • eth_sendRawTransaction
      • eth_subscribe
      • eth_syncing
      • eth_uninstallFilter
      • eth_unsubscribe
      • net_listening
      • net_peerCount
      • net_version
      • txpool_content
      • web3_clientVersion
      • web3_sha3
    • Debug API
      • debug_traceBlockByHash
      • debug_traceBlockByNumber
      • debug_traceCall
      • debug_traceTransaction
  • BNB Smart Chain
    • Overview
    • Execution API
      • eth_accounts
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_estimateGas
      • eth_gasPrice
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_getLogs
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionCount
      • eth_getTransactionReceipt
      • eth_getUncleByBlockHashAndIndex
      • eth_getUncleByBlockNumberAndIndex
      • eth_getUncleCountByBlockHash
      • eth_getUncleCountByBlockNumber
      • eth_newBlockFilter
      • eth_newFilter
      • eth_newPendingTransactionFilter
      • eth_sendRawTransaction
      • eth_subscribe
      • eth_syncing
      • eth_uninstallFilter
      • eth_unsubscribe
      • net_listening
      • net_peerCount
      • net_version
      • web3_clientVersion
      • web3_sha3
      • txpool_content
    • Debug API
      • debug_traceBlockByHash
      • debug_traceBlockByNumber
      • debug_traceCall
      • debug_traceTransaction
  • Bitcoin
    • Overview
    • Blockchain RPCs
      • getbestblockhash
      • getblock
      • getblockchaininfo
      • getblockcount
      • getblockhash
      • getblockheader
      • getblockstats
      • getchaintips
      • getchaintxstats
      • getdifficulty
      • getmempoolancestors
      • getmempooldescendants
      • getmempoolinfo
      • getrawmempool
      • gettxout
      • gettxoutproof
      • gettxoutsetinfo
    • Control RPCs
      • getmemoryinfo
    • Network RPCs
      • getconnectioncount
    • Rawtransactions RPCs
      • decoderawtransaction
      • decodescript
      • getrawtransaction
      • sendrawtransaction
      • testmempoolaccept
    • Util RPCs
      • estimatesmartfee
      • getindexinfo
      • validateaddress
      • verifymessage
    • Indexer REST API
      • Get block hash
      • Get transaction
      • Get transaction specific
      • Get address
      • Get xpub
      • Get utxo
      • Get block
      • Send transaction
      • Tickers list
      • Tickers
      • Balance history
  • Casper
    • Overview
    • JSON-RPC API
      • account_put_deploy
      • chain_get_block
      • chain_get_block_transfers
      • chain_get_era_summary
      • chain_get_era_info_by_switch_block
      • chain_get_state_root_hash
      • info_get_deploy
      • info_get_peers
      • info_get_status
      • info_get_chainspec
      • info_get_validator_changes
      • query_global_state
      • query_balance
      • speculative_exec
      • state_get_account_info
      • state_get_auction_info
      • state_get_dictionary_item
  • Conflux
    • Overview
    • eSpace - Execution API
      • eth_accounts
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_estimateGas
      • eth_gasPrice
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_getLogs
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionCount
      • eth_getTransactionReceipt
      • eth_getUncleByBlockHashAndIndex
      • eth_getUncleByBlockNumberAndIndex
      • eth_getUncleCountByBlockHash
      • eth_getUncleCountByBlockNumber
      • eth_newBlockFilter
      • eth_newFilter
      • eth_newPendingTransactionFilter
      • eth_sendRawTransaction
      • eth_subscribe
      • eth_syncing
      • eth_uninstallFilter
      • eth_unsubscribe
      • net_version
      • web3_clientVersion
    • eSpace - Debug API
      • debug_traceBlockByHash
      • debug_traceBlockByNumber
      • debug_traceTransaction
  • Ethereum
    • Overview
    • Execution API
      • eth_accounts
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_estimateGas
      • eth_gasPrice
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_getLogs
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionCount
      • eth_getTransactionReceipt
      • eth_getUncleByBlockHashAndIndex
      • eth_getUncleByBlockNumberAndIndex
      • eth_getUncleCountByBlockHash
      • eth_getUncleCountByBlockNumber
      • eth_newBlockFilter
      • eth_newFilter
      • eth_newPendingTransactionFilter
      • eth_sendRawTransaction
      • eth_subscribe
      • eth_syncing
      • eth_uninstallFilter
      • eth_unsubscribe
      • net_listening
      • net_peerCount
      • net_version
      • txpool_content
      • web3_clientVersion
      • web3_sha3
    • Beacon API
      • /eth/v1/beacon/genesis
      • /eth/v2/beacon/blocks/{block_id}
      • /eth/v1/beacon/blocks/{block_id}/attestations
      • /eth/v1/beacon/blocks/{block_id}/root
      • /eth/v1/beacon/headers
      • /eth/v1/beacon/headers/{block_id}
      • /eth/v1/beacon/states/{state_id}/committees
      • /eth/v1/beacon/states/{state_id}/finality_checkpoints
      • /eth/v1/beacon/states/{state_id}/root
      • /eth/v1/beacon/states/{state_id}/sync_committees
      • /eth/v1/beacon/states/{state_id}/validator_balances
      • /eth/v1/beacon/states/{state_id}/validators
      • /eth/v1/beacon/states/{state_id}/validators/{validator_id}
      • /eth/v1/events
      • /eth/v1/validator/aggregate_attestation
      • /eth/v1/validator/blinded_blocks/{slot}
      • /eth/v1/validator/duties/proposer/{epoch}
      • /eth/v1/validator/sync_committee_contribution
      • /eth/v1/beacon/states/{state_id}/fork
    • Debug API
      • debug_traceBlockByHash
      • debug_traceBlockByNumber
      • debug_traceCall
      • debug_traceTransaction
  • Hedera
    • Overview
    • JSON RPC Relay API
      • debug_traceTransaction
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_estimateGas
      • eth_feeHistory
      • eth_gasPrice
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_getLogs
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionCount
      • eth_getTransactionReceipt
      • eth_getUncleByBlockHashAndIndex
      • eth_getUncleByBlockNumberAndIndex
      • eth_getUncleCountByBlockHash
      • eth_getUncleCountByBlockNumber
      • eth_newFilter
      • eth_newBlockFilter
      • eth_sendRawTransaction
      • eth_subscribe
      • eth_unsubscribe
      • eth_uninstallFilter
      • net_version
      • web3_clientVersion
    • REST Mirror Node API
      • Accounts
        • Get Accounts
        • Get Accounts by ID
        • Get Outstanding Token Airdrops
        • Get Pending Token Airdrops
        • Get Allowances
        • Get NFT Allowances by Account
        • Get Token Allowances by Account
        • Get NFTs by Account
        • Get Rewards by Account
        • Get Token Relationships by Account
      • Balances
        • Get Balances
      • Blocks
        • Get Blocks
        • Get Block by Hash or Number
      • Contracts
        • Get Contracts
        • Get Contract by ID
        • Get Contract Results
        • Get Contract Result at Timestamp
        • Get Contract Logs
        • Get Contract State
        • Get Opcodes Traces
        • Call Contract
        • List All Contract Results
        • Get Contract Result by ID or Hash
        • Get Contract Actions by ID or Hash
        • List Contracts Logs
      • Network
        • Get Exchange Rate
        • Get Network Fees
        • Get Network Book Nodes
        • Get Network Stake Information
        • Get Network Supply
      • Schedules
        • Get Schedules Entities
        • Get Schedule by ID
      • Tokens
        • Get Tokens
        • Get Token by ID
        • Get Token Balances
        • Get NFTs
        • Get NFT by Serial Number
        • Get NFT Transactions
      • Topics
        • Get Topic Message
        • Get Topic Message by ID & Sequence
        • Get Topic Message by Timestamp
      • Transactions
        • Get Transactions
        • Get Transaction by ID
        • Get Stateproof
      • Docs
  • ICP
    • Overview
  • ICP
    • Data API
      • Account
        • Balance
      • Block
        • Transaction
      • Call
      • Network
        • List
        • Options
        • Status
      • Search
        • Transactions
    • Construction API
      • Combine
      • Derive
      • Metadata
      • Payloads
      • Preprocess
      • Submit
  • ICRC
    • Data API
      • Account
        • Balance
      • Block
        • Transaction
      • Call
      • Network
        • List
        • Options
        • Status
      • Search
        • Transactions
    • Construction API
      • Combine
      • Derive
      • Metadata
      • Payloads
      • Preprocess
      • Submit
  • Mezo
    • Overview
    • Execution API
      • eth_accounts
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_estimateGas
      • eth_gasPrice
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_getLogs
      • eth_getProof
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionCount
      • eth_getTransactionReceipt
      • eth_newBlockFilter
      • eth_newFilter
      • eth_newPendingTransactionFilter
      • eth_sendRawTransaction
      • eth_syncing
      • eth_uninstallFilter
      • net_listening
      • net_peerCount
      • net_version
      • txpool_content
      • txpool_inspect
      • txpool_status
      • web3_clientVersion
      • web3_sha3
    • Debug API
      • debug_traceBlockByNumber
      • debug_traceTransaction
    • Mezo namespace
      • mezo_estimateCost
  • opBNB
    • Overview
    • Execution API
      • eth_accounts
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_estimateGas
      • eth_gasPrice
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_getLogs
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionCount
      • eth_getTransactionReceipt
      • eth_getUncleByBlockHashAndIndex
      • eth_getUncleByBlockNumberAndIndex
      • eth_getUncleCountByBlockHash
      • eth_getUncleCountByBlockNumber
      • eth_newBlockFilter
      • eth_newFilter
      • eth_newPendingTransactionFilter
      • eth_sendRawTransaction
      • eth_subscribe
      • eth_syncing
      • eth_uninstallFilter
      • eth_unsubscribe
      • net_listening
      • net_peerCount
      • net_version
      • web3_clientVersion
      • web3_sha3
      • txpool_content
    • Debug API
      • debug_traceBlockByHash
      • debug_traceBlockByNumber
      • debug_traceCall
      • debug_traceTransaction
  • OPTIMISM
    • Overview
    • Execution API
      • eth_accounts
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_estimateGas
      • eth_gasPrice
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_getLogs
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionCount
      • eth_getTransactionReceipt
      • eth_getUncleByBlockHashAndIndex
      • eth_getUncleByBlockNumberAndIndex
      • eth_getUncleCountByBlockHash
      • eth_getUncleCountByBlockNumber
      • eth_newBlockFilter
      • eth_newFilter
      • eth_newPendingTransactionFilter
      • eth_sendRawTransaction
      • eth_subscribe
      • eth_syncing
      • eth_uninstallFilter
      • eth_unsubscribe
      • net_listening
      • net_peerCount
      • net_version
      • web3_clientVersion
      • web3_sha3
  • Polygon
    • Overview
    • Execution API
      • eth_accounts
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_estimateGas
      • eth_gasPrice
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_getLogs
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionCount
      • eth_getTransactionReceipt
      • eth_getUncleByBlockHashAndIndex
      • eth_getUncleByBlockNumberAndIndex
      • eth_getUncleCountByBlockHash
      • eth_getUncleCountByBlockNumber
      • eth_newBlockFilter
      • eth_newFilter
      • eth_newPendingTransactionFilter
      • eth_sendRawTransaction
      • eth_subscribe
      • eth_syncing
      • eth_uninstallFilter
      • eth_unsubscribe
      • net_listening
      • net_peerCount
      • net_version
      • web3_clientVersion
      • web3_sha3
      • txpool_content
    • Debug API
      • debug_traceBlockByHash
      • debug_traceBlockByNumber
      • debug_traceCall
      • debug_traceTransaction
  • Solana
    • Overview
    • HTTP Methods
      • getAccountInfo
      • getBalance
      • getBlock
      • getBlockCommitment
      • getBlockHeight
      • getBlockProduction
      • getBlockTime
      • getBlocks
      • getBlocksWithLimit
      • getClusterNodes
      • getEpochInfo
      • getEpochSchedule
      • getFeeForMessage
      • getFirstAvailableBlock
      • getGenesisHash
      • getHealth
      • getHighestSnapshotSlot
      • getIdentity
      • getInflationGovernor
      • getInflationRate
      • getInflationReward
      • getLargestAccounts
      • getLatestBlockhash
      • getLeaderSchedule
      • getMaxRetransmitSlot
      • getMaxShredInsertSlot
      • getMinimumBalanceForRentExemption
      • getMultipleAccounts
      • getParsedBlock
      • getParsedTransaction
      • getProgramAccounts
      • getRecentPerformanceSamples
      • getRecentPrioritizationFees
      • getSignatureStatuses
      • getSignaturesForAddress
      • getSlot
      • getSlotLeader
      • getSlotLeaders
      • getStakeMinimumDelegation
      • getSupply
      • getTokenAccountBalance
      • getTokenAccountsByDelegate
      • getTokenAccountsByOwner
      • getTokenLargestAccounts
      • getTokenSupply
      • getTransaction
      • getTransactionCount
      • getVersion
      • getVoteAccounts
      • isBlockhashValid
      • minimumLedgerSlot
      • requestAirdrop
      • sendTransaction
      • simulateTransaction
    • Websocket Stable Methods
      • accountSubscribe
      • accountUnsubscribe
      • logsSubscribe
      • logUnsubscribe
      • programSubscribe
      • programUnsubscribe
      • rootSubscribe
      • rootUnsubscribe
      • signatureSubscribe
      • signatureUnsubscribe
      • slotSubscribe
      • slotUnsubscribe
    • Websocket Unstable Methods
      • blockSubscribe
      • blockUnsubscribe
      • slotsUpdatesSubscribe
      • slotsUpdatesUnsubscribe
  • Stellar
    • Overview
    • Soroban API
      • getEvents
      • getFeeStats
      • getHealth
      • getLatestLedger
      • getLedgerEntries
      • getNetwork
      • getTransaction
      • getTransactions
      • getVersionInfo
      • sendTransaction
      • simulateTransaction
    • Horizon API
      • Accounts
        • List all Accounts
        • Retrieve an Account
        • Retrieve an Account's Transactions
        • Retrieve an Account's Operations
        • Retrieve an Account's Payments
        • Retrieve an Account's Effects
        • Retrieve an Account's Offers
        • Retrieve an Account's Trades
        • Retrieve an Account's Data
      • Assets
        • List all Assets
      • Claimable Balances
        • List All Claimable Balances
        • Retrieve a Claimable Balance
        • Retrieve Related Transactions
        • Retrieve Related Operations
      • Effects
        • Effect Types
        • List All Effects
      • Fee stats
      • Ledgers
        • List All Ledgers
        • Retrieve a Ledger
        • Retrieve a Ledger's Transactions
        • Retrieve a Ledger's Payments
        • Retrieve a Ledger's Operations
        • Retrieve a Ledgers's Effects
      • Liquidity Pools
        • List Liquidity Pools
        • Retrieve a Liquidity Pool
        • Retrieve Related Effects
        • Retrieve Related Trades
        • Retrieve Related Transactions
        • Retrieve Related Operations
      • Offers
        • List All Offers
        • Retrieve an Offer
        • Retrieve an Offer's Trades
      • Order Books
        • Retrieve an Order Book
      • Paths
        • List Strict Receive Payment Paths
        • List Strict Send Payment Paths
      • Payments
        • List All Payments
        • Retrieve a Transaction's Payments
      • Operations
        • Retrieve an Operation
        • Retrieve an Operation's Effects
        • List All Operations
        • List All Payments
      • Trades
        • List All Trades
      • Trade Aggregations
        • List Trade Aggregations
      • Transactions
        • Retrieve a Transaction
        • Retrieve a Transaction's Operations
        • Retrieve a Transaction's Effects
        • List All Transactions
        • Submit a Transaction
  • Wemix
    • Overview
    • Execution API
      • eth_accounts
      • eth_blockNumber
      • eth_call
      • eth_chainId
      • eth_estimateGas
      • eth_gasPrice
      • eth_getBalance
      • eth_getBlockByHash
      • eth_getBlockByNumber
      • eth_getBlockTransactionCountByHash
      • eth_getBlockTransactionCountByNumber
      • eth_getCode
      • eth_getFilterChanges
      • eth_getFilterLogs
      • eth_getLogs
      • eth_getStorageAt
      • eth_getTransactionByBlockHashAndIndex
      • eth_getTransactionByBlockNumberAndIndex
      • eth_getTransactionByHash
      • eth_getTransactionCount
      • eth_getTransactionReceipt
      • eth_getUncleByBlockHashAndIndex
      • eth_getUncleByBlockNumberAndIndex
      • eth_getUncleCountByBlockHash
      • eth_getUncleCountByBlockNumber
      • eth_newBlockFilter
      • eth_newFilter
      • eth_newPendingTransactionFilter
      • eth_sendRawTransaction
      • eth_subscribe
      • eth_syncing
      • eth_uninstallFilter
      • eth_unsubscribe
      • net_listening
      • net_peerCount
      • net_version
      • txpool_content
      • web3_clientVersion
      • web3_sha3
Powered by GitBook
On this page
  • Parameters
  • Returns

Was this helpful?

Export as PDF
  1. Solana
  2. HTTP Methods

getTokenSupply

PreviousgetTokenLargestAccountsNextgetTransaction

Last updated 2 months ago

Was this helpful?

Returns the total supply of an SPL Token type.

This method will use 30 .


Parameters

  • pubkey string. The Pubkey of program encoded as base-58 string.

  • object optional. Configuration object containing the following fields:

    • commitment string. The level of commitment required for the query. The options include:

      • finalized string. The node will query the most recent block confirmed by the supermajority of the cluster as having reached maximum lockout, meaning the cluster has recognized this block as finalized.

      • confirmed string. The node will query the most recent block that has been voted on by the supermajority of the cluster.

      • processed string. The node will query its most recent block. Note that the block may not be complete.

Returns

result An object with the following fields:

  • context The information about the current state of the program.

    • apiVersion The version of the Solana RPC API to use.

    • slot An integer representing the slot for which to retrieve the fee calculator.

  • value A JSON object with the following fields:

    • amount The raw total token supply without decimals, a string representation of a u64 integer.

    • decimals An integer value representing the number of decimal places used by the token.

    • uiAmount The total token supply using mint-prescribed decimals (DEPRECATED).

    • uiAmountString The total token supply as a string using mint-prescribed decimals.

// Result
{
  "jsonrpc": "2.0",
  "result": {
    "context": {
      "slot": 1114
    },
    "value": {
      "amount": "100000",
      "decimals": 2,
      "uiAmount": 1000,
      "uiAmountString": "1000"
    }
  },
  "id": 1
}
curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0", "id":1, "method":"getTokenSupply", "params": ["7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"]}'
    
curl https://devnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"jsonrpc":"2.0", "id":1, "method":"getTokenSupply", "params": ["7xKXtg2CW87d97TXJSDpbD5jBkheTqA83TZRuJosgAsU"]}'
    
Compute Units