メインコンテンツへスキップ
POST
/
rpc
/
Relayer
/
GetChainID
GetChainID
curl --request POST \
  --url https://amoy-relayer.sequence.app/rpc/Relayer/GetChainID \
  --header 'Content-Type: application/json' \
  --header 'X-Access-Key: <api-key>' \
  --data '{}'
{
  "chainID": 123
}

承認

X-Access-Key
string
header
必須

Public project access key for authenticating requests obtained on Sequence Builder. Example Test Key: AQAAAAAAAEGvyZiWA9FMslYeG_yayXaHnSI

ボディ

application/json

The body is of type object.

レスポンス

OK

chainID
number