HyperPaxeer NetworkPaxeer Network
API Reference

EVM JSON-RPC

JSON-RPC API for interacting with the HyperPaxeer EVM-compatible chain.

EVM JSON-RPC API

This API lets you interact with the HyperPaxeer EVM-based client via JSON-RPC.

Chain Information

PropertyValue
NetworkHyperPaxeer Network
Chain ID125
Cosmos Chain IDhyperpax_125-1
CurrencyPAX
Base Denomahpx
Bech32 Prefixpax
RPC URLhttps://mainnet-beta.rpc.hyperpaxeer.com/rpc
Block Explorerpaxscan.paxeer.app

Connection Examples

HTTP Request

curl -X POST https://mainnet-beta.rpc.hyperpaxeer.com/rpc \
  -H "Content-Type: application/json" \
  -d '{"jsonrpc":"2.0","method":"eth_blockNumber","params":[],"id":1}'

JavaScript (ethers.js)

import { ethers } from 'ethers';

const provider = new ethers.JsonRpcProvider('https://mainnet-beta.rpc.hyperpaxeer.com/rpc');
const blockNumber = await provider.getBlockNumber();

Available Methods

Web3 Methods

MethodSummary
web3_clientVersionReturns the version of the current client
web3_sha3Hashes data using the Keccak-256 algorithm

Net Methods

MethodSummary
net_listeningDetermines if this client is listening for new network connections
net_peerCountReturns the number of peers currently connected to this client
net_versionReturns the network ID associated with the current network

Eth Methods

MethodSummary
eth_blockNumberReturns the number of most recent block
eth_callExecutes a new message call locally without creating a transaction on the blockchain
eth_chainIdReturns the currently configured chain id
eth_coinbaseReturns the client coinbase address
eth_estimateGasReturns an estimate of how much gas is necessary for a transaction
eth_gasPriceReturns the current price per gas in wei
eth_getBalanceReturns balance of a given account or contract
eth_getBlockByHashGets a block for a given hash
eth_getBlockByNumberGets a block for a given number
eth_getBlockTransactionCountByHashReturns the number of transactions in a block matching the given block hash
eth_getBlockTransactionCountByNumberReturns the number of transactions in a block matching the given block number
eth_getCodeReturns code at a given contract address
eth_getFilterChangesPolling method for a filter, returns an array of logs which occurred since last poll
eth_getFilterLogsReturns an array of all logs matching filter with given id
eth_getLogsReturns an array of all logs matching a given filter object
eth_getProofReturns the account and storage values of the specified account including the Merkle-proof
eth_getRawTransactionByHashReturns raw transaction data of a transaction with the given hash
eth_getRawTransactionByBlockHashAndIndexReturns raw transaction data by block hash and index
eth_getRawTransactionByBlockNumberAndIndexReturns raw transaction data by block number and index
eth_getStorageAtGets a storage value from a contract address and position
eth_getTransactionByBlockHashAndIndexReturns transaction info by block hash and index
eth_getTransactionByBlockNumberAndIndexReturns transaction info by block number and index
eth_getTransactionByHashReturns transaction info by transaction hash
eth_getTransactionCountReturns the number of transactions sent from an address
eth_getTransactionReceiptReturns the receipt of a transaction by its hash
eth_getUncleByBlockHashAndIndexReturns uncle info by block hash and uncle index
eth_getUncleByBlockNumberAndIndexReturns uncle info by block number and uncle index
eth_getUncleCountByBlockHashReturns the number of uncles in a block by block hash
eth_getUncleCountByBlockNumberReturns the number of uncles in a block by block number
eth_getWorkReturns the hash of the current block, the seedHash, and the boundary condition
eth_hashrateReturns the number of hashes per second the node is mining with
eth_miningReturns true if client is actively mining new blocks
eth_newBlockFilterCreates a filter to notify when a new block arrives
eth_newFilterCreates a filter object based on filter options to notify when state changes
eth_newPendingTransactionFilterCreates a filter to notify when new pending transactions arrive
eth_pendingTransactionsReturns pending transactions from accounts this node manages
eth_protocolVersionReturns the current Ethereum protocol version
eth_sendRawTransactionCreates new message call transaction or contract creation for signed transactions
eth_submitHashrateUsed for submitting mining hashrate
eth_submitWorkUsed for submitting a proof-of-work solution
eth_syncingReturns an object with data about the sync status or false
eth_uninstallFilterUninstalls a filter with given id

How is this guide?

On this page