Overview
Complete JSON-RPC API reference for Paxeer Network. All standard Ethereum methods are supported.Endpoint:
https://public-rpc.paxeer.app/rpcAuthentication
No authentication required. All API methods are publicly accessible.Request Format
All requests follow the JSON-RPC 2.0 specification:Available Methods
eth_blockNumber
eth_blockNumber
QUANTITY - Integer of the current block number
eth_getBalance
Returns the balance of the account of given address. Parameters:20 Bytes - Address to check for balance
Integer block number, or the string “latest”, “earliest” or “pending”
QUANTITY - Integer of the current balance in wei
eth_sendTransaction
Creates new message call transaction or a contract creation. Parameters:Transaction object:
from: Address - The address the transaction is sent fromto: Address - (optional) The address the transaction is directed togas: QUANTITY - (optional) Gas provided for the transaction executiongasPrice: QUANTITY - (optional) Gas pricevalue: QUANTITY - (optional) Value sent with this transactiondata: DATA - (optional) Compiled contract code or hash of invoked method
DATA, 32 Bytes - The transaction hash
eth_call
Executes a new message call immediately without creating a transaction. Parameters:Transaction call object
Integer block number, or the string “latest”, “earliest” or “pending”
DATA - The return value of executed contract
eth_getTransactionByHash
Returns information about a transaction by transaction hash. Parameters:32 Bytes - Hash of a transaction
Object - A transaction object, or null when no transaction was found
eth_getTransactionReceipt
Returns the receipt of a transaction by transaction hash. Parameters:32 Bytes - Hash of a transaction
Object - A transaction receipt object, or null
eth_estimateGas
Generates and returns an estimate of how much gas is necessary to allow the transaction to complete. Parameters:Transaction call object (same as eth_call)
QUANTITY - The amount of gas used
eth_gasPrice
Returns the current price per gas in wei. Parameters: None Returns:QUANTITY - Integer of the current gas price in wei
eth_chainId
Returns the chain ID of the current network. Parameters: None Returns:QUANTITY - Integer of the current chain ID
Paxeer Network Chain ID is 229 (0xe5 in hex)
Code Examples
cURL
JavaScript/TypeScript
Python
Rate Limits
Currently, there are no rate limits on the public RPC endpoint. However, please be considerate and avoid excessive requests.Error Codes
| Code | Message | Description |
|---|---|---|
| -32700 | Parse error | Invalid JSON |
| -32600 | Invalid request | JSON is not a valid request object |
| -32601 | Method not found | Method does not exist |
| -32602 | Invalid params | Invalid method parameters |
| -32603 | Internal error | Internal JSON-RPC error |