starknet_chainId

Return the currently configured Starknet chain id

Path Params
string
required
Defaults to docs-demo

For higher throughput, create your own API key

Body Params

Request Body

integer
Defaults to 1
string
Defaults to 2.0
string
Defaults to starknet_chainId
params
array

This method does not require any parameters

No parameters required
Response

Response body
object
integer
string
string

The chain id this node is connected to

Language
URL
Click Try It! to start a request and see the response here! Or choose an example:
application/json
ReadMe
Support Hub