website logo
Join the CommunityContact Us
Navigate through spaces
Main
⌘K
Palm Network Developer Portal
The Palm Network
Submit an Article
Network Details
Validators
Get Started
Get PALM Tokens
Gas Fees
Connect to Palm network
Run a Transaction Node
How To Tutorials
MetaMask Wallet Setup
Deploy NFT Contracts
Verifying NFT Contracts
Mint NFTs with Hardhat
Bridge
Use the Bridge
Integrate With the Bridge
Bridge Component Addresses
Deprecated
Use Supported Tools
Block Explorer
Moralis
The Graph
Covalent API
Docs powered by archbee 
9min

ETH RPC

Overview

This API is provided to support the most popular RPC methods in the exact format specified for Ethereum nodes. This is useful to allow sending requests to the Palm Network Block Explorer without having to change anything about the request.

Using the custom RPC is recommended for retrieving data from a node.



Supported Methods

  • eth_blockNumber

  • eth_getBalance

  • eth_getLogs

eth_blockNumber

Mimics Ethereum JSON RPC's eth_blockNumber. Returns the latest block number.

Curl
JSON
Successful Response
|



eth_getBalance

Get balance for an account on the latest block.

Curl
JSON
Successful Response
|



eth_getLogs

Get event logs for the address and/or topics.

Curl
JSON
Successful Response
|



This will never return more than 1000 log entries.



For this reason, you can use pagination options to request the next page. Pagination options params: {"logIndex": "3D", "blockNumber": "6423AC", "transactionIndex": 53} which include parameters from the last log received from the previous request.



These three parameters are required for pagination.

Updated 06 Jan 2023
Did this page help you?
Yes
No
UP NEXT
Interacting with Smart Contracts
Docs powered by archbee 
TABLE OF CONTENTS
Overview
Supported Methods
eth_blockNumber
eth_getBalance
eth_getLogs