Skip to content

docs(onchain-clients): add working Ethers.js example to block number section - #667

Open
callumweb3 wants to merge 1 commit into
inkonchain:mainfrom
callumweb3:patch-3
Open

callumweb3 wants to merge 1 commit into
inkonchain:mainfrom
callumweb3:patch-3

Conversation

@callumweb3

Copy link
Copy Markdown

The "Example: Fetching the Current Block Number" section promised a code snippet but had none. Add a self-contained Ethers.js v6 example (ESM import, same RPC URL and chain ID as step 2 above).

Verified on Windows CMD against https://rpc-gel-sepolia.inkonchain.com, chain ID 763373.

Test success:
Current block number on Ink Sepolia: 60130592

…section

The "Example: Fetching the Current Block Number" section promised a code
snippet but had none. Add a self-contained Ethers.js v6 example (ESM import,
same RPC URL and chain ID as step 2 above).

Verified on Windows CMD against https://rpc-gel-sepolia.inkonchain.com,
chain ID 763373.

Test success:
`Current block number on Ink Sepolia: 60130592`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant