한국어
cURL
curl --request POST \ --url https://rpc.quai.network/cyprus1/ \ --header 'Content-Type: application/json' \ --data ' { "jsonrpc": "2.0", "method": "quai_chainId", "params": [], "id": 1 } '
{ "jsonrpc": "2.0", "result": "0x2328", "id": 1 }
Returns the current chain ID.
2.0
"2.0"
The name of the method to be invoked.
quai_chainId
"quai_chainId"
quai_chainId does not require any params.
[]
A unique identifier for the request.
1
Successful response
The chain ID.
"0x2328"
이 페이지가 도움이 되었나요?