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

simulateTransaction

PrevioussendTransactionNextWebsocket Stable Methods

Last updated 2 months ago

Was this helpful?

Simulate sending a transaction.

This method will use 30 .


Parameters

  • transaction string The transaction as an encoded string. The transaction must have a valid blockhash, but is not required to be signed.

  • 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.

    • sigVerify boolean (default: false) If true, the transaction signatures will be verified (conflicts with replaceRecentBlockhash).

    • replaceRecentBlockhash boolean (default: false) If true, the transaction recent blockhash will be replaced with the most recent blockhash (conflicts with sigVerify).

    • encoding string (default: base58) The encoding format for account data. It can be either base58 (slow, DEPRECATED) or base64.

    • minContextSlot integer. The minimum slot at which the request can be evaluated.

    • innerInstructions boolean (default: false) If true the response will include inner instructions. These inner instructions will be jsonParsed where possible, otherwise json.

    • accounts object The accounts configuration object containing the following fields:

      • addresses string An array of accounts to return, as base-58 encoded strings

      • encoding string The encoding format for account data. It can be one of base58 (slow), base64, base64+zstd or jsonParsed.

Returns

result Null if the account doesn't exist otherwise RpcResponse JSON object with the following fields:

  • context An object that contains metadata about the current state of the Solana network at the time the request was processed.

    • apiVersion The version number.

    • slot The current slot in the Solana cluster during which the transactions are processed and new blocks are added to the blockchain.

  • err Error code if the transaction failed or null if the transaction succeeds.

  • logs An array of log messages the transaction instructions output during execution, null if simulation failed before the transaction was able to execute (for example due to an invalid blockhash or signature verification failure).

  • accounts An array of accounts with the same length as the accounts.addresses array in the request

    • null If the account doesn't exist or if err is not null.

    • object otherwise, a JSON object containing:

      • lamports The number of lamports assigned to this account as u64 (64-bit unsigned integer).

      • owner The base-58 encoded Pubkey of the program this account has been assigned to.

      • data The data associated with the account, either as encoded binary data or JSON format {'program': 'state'}, depending on encoding parameter.

      • executable A boolean indicating if the account contains a program (and is strictly read-only).

      • rentEpoch The epoch at which this account will next owe rent, as u64 (64-bit unsigned integer).

  • unitsConsumed The number of compute budget units consumed during the processing of this transaction.

  • returnData The most-recent return data generated by an instruction in the transaction, with the following fields:

    • programId string The program that generated the return data, as base-58 encoded Pubkey.

    • data The return data itself, as base-64 encoded binary data.

  • innerInstructions The value is a list of inner instructions.

// Result
{
  "jsonrpc": "2.0",
  "result": {
    "context": {
      "slot": 218
    },
    "value": {
      "err": null,
      "accounts": null,
      "logs": [
        "Program 83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri invoke [1]",
        "Program 83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri consumed 2366 of 1400000 compute units",
        "Program return: 83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri KgAAAAAAAAA=",
        "Program 83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri success"
      ],
      "returnData": {
        "data": ["Kg==", "base64"],
        "programId": "83astBRguLMdt2h5U1Tpdq5tjFoJ6noeGwaY3mDLVcri"
      },
      "unitsConsumed": 2366
    }
  },
  "id": 1
}
curl https://mainnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"method":"simulateTransaction","params":["ENTER_ENCODED_TRANSACTION_ID"],"id":1,"jsonrpc":"2.0"}'
    
curl https://devnet.solana.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{"method":"simulateTransaction","params":["ENTER_ENCODED_TRANSACTION_ID"],"id":1,"jsonrpc":"2.0"}'
    
Compute Units