Skip to content

Node API test for localnet

Latest
Compare
Choose a tag to compare
@Daniel-VDM Daniel-VDM released this 18 Jul 12:39
· 115 commits to master since this release

Test coverage for Localnet

Blockchain

  • getShardingStructure
  • getLeader
  • blockNumber
  • getEpoch
  • gasPrice
  • getLastCrossLinks
  • getTotalSupply
  • getCirculatingSupply
  • protocolVersion
  • getNodeMetadata
  • getHeaderByNumber
  • getBlockByNumber
  • latestHeader
  • getLatestChainHeaders
  • net_peerCount
  • getBlocks
  • getBlockByHash
  • getBlockSignersKeys
  • getBlockTransactionCountByNumber
  • getBlockTransactionCountByHash

Transaction

  • getCXReceiptByHash
  • resendCx
  • getPendingCXReceipts
  • getPoolStats
  • pendingTransactions
  • getTransactionByBlockHashAndIndex
  • getTransactionByBlockNumberAndIndex
  • getTransactionReceipt
  • getTransactionByHash
  • sendRawTransaction
  • getCurrentTransactionErrorSink

Staking

  • getAllValidatorAddresses
  • getAllValidatorInformation
  • getValidatorInformation
  • getAllValidatorInformationByBlockNumber
  • getValidatorInformationByBlockNumber
  • getElectedValidatorAddresses
  • getDelegationsByDelegator
  • getDelegationsByValidator
  • getDelegationsByDelegatorByBlockNumber
  • getCurrentUtilityMetrics
  • getMedianRawStakeSnapshot
  • getSuperCommittees
  • getValidators
  • getValidatorKeys
  • pendingStakingTransactions
  • getBlocks (with staking txs)
  • getStakingTransactionsCount (with staking txs)
  • getStakingTransactionsHistory (with staking txs)

Account

  • getBalanceByBlockNumber
  • getTransactionsCount
  • getTransactionsHistory

Contract

  • call
  • estimateGas
  • getCode
  • getStorageAt