Return the currently configured StarkNet chain id
none
The chain id the node is connected to
Request
curl https://starknet-mainnet.blastapi.io/<project-id> -X POST \ -H "Content-Type: application/json" \ -d '{"jsonrpc":"2.0","method":"starknet_chainId","params":[],"id":0}'
Result
{ "jsonrpc": "2.0", "result": "0x534e5f4d41494e", "id": 0 }
Last updated 1 year ago