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

Was this helpful?

Export as PDF
  1. Stellar
  2. Soroban API

simulateTransaction

PrevioussendTransactionNextHorizon API

Last updated 12 months ago

Was this helpful?

Submit a trial contract invocation to simulate how it would be executed by the network. This endpoint calculates the effective transaction data, required authorizations, and minimal resource fee. It provides a way to test and analyze the potential outcomes of a transaction without actually submitting it to the network.

This method will use 10 .


Reference:

Parameters

  • transaction (string)(required) The transaction to be simulated (serialized in base64)

Returns

  • minResourceFee string (optional) - Stringified number - Recommended minimum resource fee to add when submitting the transaction. This fee is to be added on top of the . Not present in case of error.

  • cost object (optional) - Information about instructions used, etc. Not present in case of error.

  • results array[object] (optional) - This array will only have one element: the result for the Host Function invocation. Only present on successful simulation (i.e. no error) of InvokeHostFunction operations.

  • transactionData string (optional) - Serialized base64 string - The recommended Soroban Transaction Data to use when submitting the simulated transaction. This data contains the refundable fee and resource usage information such as the ledger footprint and IO access data (serialized in a base64 string). Not present in case of error.

  • events array (optional) - Array of serialized base64 strings - Array of the events emitted during the contract invocation. The events are ordered by their emission time. (an array of serialized base64 strings). Only present when simulating of InvokeHostFunction operations, note that it can be present on error, providing extra context about what failed.

  • restorePreamble (object) (optional) - It can only be present on sucessful simulation (i.e. no error) of InvokeHostFunction operations. If present, it indicates that the simulation detected expired ledger entries which need to be restored before the submission of the InvokeHostFunction operation. The minResourceFee and transactionData fields should be used to submit a transaction containing a RestoreFootprint operation

  • latestLedger (string) - A Stringified number - Current latest closed ledger (LCL) observed by the node when this response was generated. Always present.

  • error string (optional) - This field will include details about why the invoke host function call failed. Only present if the transaction simulation failed.

// Result
{
  "jsonrpc": "2.0",
  "id": 1102,
  "result": {
    "transactionData": "AAAAAwAAAAAAAAAAYvwdC9CRsrYcDdZWNGsqaNfTR8bywsjubQRHAlb8BfcAAAAG4avr0cYyEk0etiaStUgJ889XGSqUqZEZcCyR+ma87LIAAAAUAAAAB8zDhJ3ZTMHmdBjlVh/7d1HDdo+QI1ZXGmeRzBwVAoVXAAAAAQAAAAbhq+vRxjISTR62JpK1SAnzz1cZKpSpkRlwLJH6ZrzssgAAABUAAAAAAAAAAGL8HQvQkbK2HA3WVjRrKmjX00fG8sLI7m0ERwJW/AX3ACb/vgAAFcQAAAC0AAABrAAAAAAAAABUAAAAAA==",
    "events": [
      "AAAAAQAAAAAAAAAB4avr0cYyEk0etiaStUgJ889XGSqUqZEZcCyR+ma87LIAAAABAAAAAAAAAAEAAAAOAAAABGF1dGgAAAAPAAAABXdvcmxkAAAA",
      "AAAAAQAAAAAAAAAB4avr0cYyEk0etiaStUgJ889XGSqUqZEZcCyR+ma87LIAAAABAAAAAAAAAAEAAAAOAAAABGF1dGgAAAAPAAAABXdvcmxkAAAA"
    ],
    "minResourceFee": "79488",
    "results": [
      {
        "auth": [
          "AAAAAQAAAAAAAAAAYvwdC9CRsrYcDdZWNGsqaNfTR8bywsjubQRHAlb8BfcAAAAAAAAAAOGr69HGMhJNHrYmkrVICfPPVxkqlKmRGXAskfpmvOyyAAAABGF1dGgAAAACAAAAEwAAAAAAAAAAYvwdC9CRsrYcDdZWNGsqaNfTR8bywsjubQRHAlb8BfcAAAAPAAAABXdvcmxkAAAAAAAAAAAAAAA="
        ],
        "xdr": "AAAAEwAAAAAAAAAAYvwdC9CRsrYcDdZWNGsqaNfTR8bywsjubQRHAlb8Bfc="
      }
    ],
    "cost": {
      "cpuInsns": "2222468",
      "memBytes": "2204681"
    },
    "latestLedger": "23456"
  }
}
curl https://mainnet.stellar.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{
  "jsonrpc": "2.0",
  "id": 8675309,
  "method": "simulateTransaction",
  "params": {
    "transaction": "AAAAAgAAAABzdv3ojkzWHMD7KUoXhrPx0GH18vHKV0ZfqpMiEblG1gAAAGQAAAAAAAAABAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAHN2/eiOTNYcwPspSheGs/HQYfXy8cpXRl+qkyIRuUbWAAAAGAAAAAIAAAAAAAAABAAAAA0AAAAg4avr0cYyEk0etiaStUgJ889XGSqUqZEZcCyR+ma87LIAAAAPAAAABGF1dGgAAAATAAAAAAAAAABi/B0L0JGythwN1lY0aypo19NHxvLCyO5tBEcCVvwF9wAAAA8AAAAFd29ybGQAAAAAAAAAAAAAAAAAAAQAAAANAAAAIOGr69HGMhJNHrYmkrVICfPPVxkqlKmRGXAskfpmvOyyAAAADwAAAARhdXRoAAAAEwAAAAAAAAAAYvwdC9CRsrYcDdZWNGsqaNfTR8bywsjubQRHAlb8BfcAAAAPAAAABXdvcmxkAAAAAAAAAAAAAAAAAAAA"
  }
}'
curl https://testnet.stellar.validationcloud.io/v1/<YOUR_API_KEY_HERE> \
    -X POST \
    -H "Content-Type: application/json" \
    -d '{
  "jsonrpc": "2.0",
  "id": 8675309,
  "method": "simulateTransaction",
  "params": {
    "transaction": "AAAAAgAAAABzdv3ojkzWHMD7KUoXhrPx0GH18vHKV0ZfqpMiEblG1gAAAGQAAAAAAAAABAAAAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAEAAAABAAAAAHN2/eiOTNYcwPspSheGs/HQYfXy8cpXRl+qkyIRuUbWAAAAGAAAAAIAAAAAAAAABAAAAA0AAAAg4avr0cYyEk0etiaStUgJ889XGSqUqZEZcCyR+ma87LIAAAAPAAAABGF1dGgAAAATAAAAAAAAAABi/B0L0JGythwN1lY0aypo19NHxvLCyO5tBEcCVvwF9wAAAA8AAAAFd29ybGQAAAAAAAAAAAAAAAAAAAQAAAANAAAAIOGr69HGMhJNHrYmkrVICfPPVxkqlKmRGXAskfpmvOyyAAAADwAAAARhdXRoAAAAEwAAAAAAAAAAYvwdC9CRsrYcDdZWNGsqaNfTR8bywsjubQRHAlb8BfcAAAAPAAAABXdvcmxkAAAAAAAAAAAAAAAAAAAA"
  }
}'
Compute Units
Here
Stellar network fee