eth_chainId

ArbitrumC1

Returns the EIP-155 chain ID of the connected network. Takes no parameters.

Endpoint
POST https://api.1st-node.com/v1/arbitrum/rpc

Returns

QUANTITY — the chain ID, hex-encoded.

Request

curl https://api.1st-node.com/v1/arbitrum/rpc \
  -H "Authorization: Bearer $ONE_KEY" \
  -H "content-type: application/json" \
  -d '{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_chainId",
  "params": []
}'
{
  "jsonrpc": "2.0",
  "id": 1,
  "method": "eth_chainId",
  "params": []
}

Response

{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "0x1"
}
More chain methods on Arbitrum

Arbitrum API

Bakiye yükle, anahtarını al, yayına çık.

Self servis. Kripto ya da kartla öde. Krediyle ölçümlenir — ağır ilkel yapılar daha pahalı, basitler ucuz.

API anahtarı al