Overview
Test Paxeer Network RPC methods in real-time. Select an example or write your own JSON-RPC request.RPC Endpoint:
https://public-rpc.paxeer.app/rpcChain ID
125
Currency
PAX
Common RPC Methods
eth_blockNumber
Returns the number of the most recent block.Parameters
Parameters
None
Returns
Returns
QUANTITY - Integer of the current block number the client is oneth_getBalance
Returns the balance of the account of given address.Parameters
Parameters
DATA, 20 Bytes - Address to check for balanceQUANTITY|TAG- Integer block number, or the string “latest”, “earliest” or “pending”
Returns
Returns
QUANTITY - Integer of the current balance in weieth_gasPrice
Returns the current price per gas in wei.Parameters
Parameters
None
Returns
Returns
QUANTITY - Integer of the current gas price in weieth_chainId
Returns the chain ID of the current network.Parameters
Parameters
None
Returns
Returns
QUANTITY - Integer of the current chain ID (125 for Paxeer Network)eth_call
Executes a new message call immediately without creating a transaction on the blockchain.Parameters
Parameters
Object- The transaction call objectfrom: (optional) Address - The address the transaction is sent fromto: Address - The address the transaction is directed togas: (optional) Integer - Gas provided for the transaction executiongasPrice: (optional) Integer - Gas price provided for each paid gasvalue: (optional) Integer - Value sent with this transactiondata: (optional) Data - Hash of the method signature and encoded parameters
QUANTITY|TAG- Integer block number, or the string “latest”, “earliest” or “pending”
Returns
Returns
DATA - The return value of the executed contracteth_sendTransaction
Creates new message call transaction or a contract creation.Parameters
Parameters
Object- The transaction objectfrom: Address - The address the transaction is sent fromto: (optional) Address - The address the transaction is directed to (null for contract creation)gas: (optional) Integer - Gas provided for the transaction executiongasPrice: (optional) Integer - Gas price provided for each paid gasvalue: (optional) Integer - Value sent with this transactiondata: Data - Compiled contract code or hash of the invoked method signature and encoded parameters
Returns
Returns
DATA, 32 Bytes - The transaction hash, or the zero hash if the transaction is not yet availableeth_getTransactionByHash
Returns information about a transaction by transaction hash.Parameters
Parameters
DATA, 32 Bytes - Hash of a transaction
Returns
Returns
Object - A transaction object, or null when no transaction was foundUsing with cURL
Using with JavaScript
Using with Python
Next Steps
API Reference
Complete API documentation for all methods
Examples
Integration examples and code samples