Skip to main content

Overview

Test HyperPaxeer RPC methods in real-time. Select an example or write your own JSON-RPC request.
RPC Endpoint: https://public-rpc.paxeer.app/rpc

Chain ID

125

Currency

HPX

Common RPC Methods

eth_blockNumber

Returns the number of the most recent block.
None
QUANTITY - Integer of the current block number the client is on

eth_getBalance

Returns the balance of the account of given address.
  1. DATA, 20 Bytes - Address to check for balance
  2. QUANTITY|TAG - Integer block number, or the string “latest”, “earliest” or “pending”
QUANTITY - Integer of the current balance in wei

eth_gasPrice

Returns the current price per gas in wei.
None
QUANTITY - Integer of the current gas price in wei

eth_chainId

Returns the chain ID of the current network.
None
QUANTITY - Integer of the current chain ID (125 for HyperPaxeer)

eth_call

Executes a new message call immediately without creating a transaction on the blockchain.
  1. Object - The transaction call object
    • from: (optional) Address - The address the transaction is sent from
    • to: Address - The address the transaction is directed to
    • gas: (optional) Integer - Gas provided for the transaction execution
    • gasPrice: (optional) Integer - Gas price provided for each paid gas
    • value: (optional) Integer - Value sent with this transaction
    • data: (optional) Data - Hash of the method signature and encoded parameters
  2. QUANTITY|TAG - Integer block number, or the string “latest”, “earliest” or “pending”
DATA - The return value of the executed contract

eth_sendTransaction

Creates new message call transaction or a contract creation.
This method requires a wallet connection to sign the transaction.
  1. Object - The transaction object
    • from: Address - The address the transaction is sent from
    • to: (optional) Address - The address the transaction is directed to (null for contract creation)
    • gas: (optional) Integer - Gas provided for the transaction execution
    • gasPrice: (optional) Integer - Gas price provided for each paid gas
    • value: (optional) Integer - Value sent with this transaction
    • data: Data - Compiled contract code or hash of the invoked method signature and encoded parameters
DATA, 32 Bytes - The transaction hash, or the zero hash if the transaction is not yet available

eth_getTransactionByHash

Returns information about a transaction by transaction hash.
  1. DATA, 32 Bytes - Hash of a transaction
Object - A transaction object, or null when no transaction was found

Using with cURL

Using with JavaScript

Using with Python

Next Steps

API Reference

Complete API documentation for all methods

Examples

Integration examples and code samples