Skip to content
Alchemy Logo

starknet_chainId

POST
/{apiKey}

Return the currently configured StarkNet chain id

Path Parameters

stringrequireddefaults to docs-demo

For higher throughput, create your own API key

Responses

200

The chain id this node is connected to

StarkNet chain id, given in hex representation.

Was this page helpful?