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
  • Reference: Here
  • Parameters
  • Returns (for verbosity = 0)
  • Returns (for verbosity = 1)
  • Returns (for verbosity = 2)

Was this helpful?

Export as PDF
  1. Bitcoin
  2. Blockchain RPCs

getblock

PreviousgetbestblockhashNextgetblockchaininfo

Last updated 6 months ago

Was this helpful?

If verbosity is 0, returns a string that is serialized, hex-encoded data for block ‘hash’.

If verbosity is 1, returns an Object with information about block ‘hash’.

If verbosity is 2, returns an Object with information about block ‘hash’ and information about each transaction.

This method will use 10 .


Reference:

Parameters

blockhash - string, required

The block hash

verbosity - numeric, optional, default=1

0 for hex-encoded data, 1 for a json object, and 2 for json object with transaction data

Returns (for verbosity = 0)

Name
Type
Description

hex

string

A string that is serialized, hex-encoded data for block ‘hash’

Returns (for verbosity = 1)

{                                 (json object)
  "hash" : "hex",                 (string) the block hash (same as provided)
  "confirmations" : n,            (numeric) The number of confirmations, or -1 if the block is not on the main chain
  "size" : n,                     (numeric) The block size
  "strippedsize" : n,             (numeric) The block size excluding witness data
  "weight" : n,                   (numeric) The block weight as defined in BIP 141
  "height" : n,                   (numeric) The block height or index
  "version" : n,                  (numeric) The block version
  "versionHex" : "hex",           (string) The block version formatted in hexadecimal
  "merkleroot" : "hex",           (string) The merkle root
  "tx" : [                        (json array) The transaction ids
    "hex",                        (string) The transaction id
    ...
  ],
  "time" : xxx,                   (numeric) The block time expressed in UNIX epoch time
  "mediantime" : xxx,             (numeric) The median block time expressed in UNIX epoch time
  "nonce" : n,                    (numeric) The nonce
  "bits" : "hex",                 (string) The bits
  "difficulty" : n,               (numeric) The difficulty
  "chainwork" : "hex",            (string) Expected number of hashes required to produce the chain up to this block (in hex)
  "nTx" : n,                      (numeric) The number of transactions in the block
  "previousblockhash" : "hex",    (string) The hash of the previous block
  "nextblockhash" : "hex"         (string) The hash of the next block
}

Returns (for verbosity = 2)

{             (json object)
  ...,        Same output as verbosity = 1
  "tx" : [    (json array)
    {         (json object)
      ...     The transactions in the format of the getrawtransaction RPC. Different from verbosity = 1 "tx" result
    },
    ...
  ]
}
curl https://mainnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
 -X POST \
 -H "Content-Type: application/json" \
 -d '{
	"jsonrpc": "1.0",
	"id": "curltest",
	"method": "getblock",
	"params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"]
}'
curl https://testnet.bitcoin.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
 -X POST \
 -H "Content-Type: application/json" \
 -d '{
	"jsonrpc": "1.0",
	"id": "curltest",
	"method": "getblock",
	"params": ["00000000c937983704a73af28acdec37b049d214adbda81d7e2a3dd146f6ed09"]
}'
Compute Units
Here