post https://{network}.g.alchemy.com/v2/
Returns the currently configured chain ID, a value used in replay-protected transaction signing as introduced by EIP-155.
Response
Returns the currently configured chain ID, a value used in replay-protected transaction signing as introduced by EIP-155.
xxxxxxxxxx
11curl --request POST \
--url https://zksync-mainnet.g.alchemy.com/v2/docs-demo \
--header 'accept: application/json' \
--header 'content-type: application/json' \
--data '
{
"id": 1,
"jsonrpc": "2.0",
"method": "eth_chainId"
}
'
Try It!
to start a request and see the response here! Or choose an example: