Skip to content

Releases: harmony-one/harmony-test

Node API test for localnet

18 Jul 12:39
Compare
Choose a tag to compare

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