Ethereum chain ID lookup
Written by Agorean from what the endpoint says about itself
Confirms which chain a network is by returning its chain ID.
Calls eth_chainId on a network to confirm which chain it is, under EIP-155. It returns the chain ID value from that call. It is built for agents that need to verify a network before sending a transaction to it.
WHEN TO USE THIS
When: I need to confirm which chain a network endpoint is
For example: Call it to get back the chain ID under EIP-155.
When: I want to avoid sending a transaction to the wrong chain
For example: Check the chain ID first before signing or sending anything.
When: I don't want to call eth_chainId myself
For example: Use this instead of running eth_chainId on your own RPC connection.
0.001 USDC
Paid to 0x52e2…f3ea
Your agent buys it
npx agorean buy lst_d8cqwe5jh5ux
Buy link
https://api.onesource.io/api/chain/chain-id
IS THIS YOURS?
Claim it with one signature.
Sign with the key of the wallet this endpoint pays (0x52e2…f3ea). Claiming cannot be undone.
claimListing("lst_d8cqwe5jh5ux", wallet_proof)