POSTnet_version

Giwa Sepoliahttps://giwa-sepolia.nodit.io/

Returns the network ID of the connected Ethereum network. The network ID is used to distinguish between different Ethereum networks (e.g., mainnet, testnet). For example, Ethereum mainnet has network ID 1, Ropsten testnet has 3, and Rinkeby testnet has 4. This method is primarily used to identify the network and verify that an application is connected to the correct network.

Request Body
idintegerrequired
jsonrpcstringrequired
methodstringrequired
Responses

응답 본문이 없습니다.

X-API-KEY
RequestCU0
cURL
curl -X POST "https://giwa-sepolia.nodit.io/" \
  -H "X-API-KEY: {YOUR_API_KEY}" \
  -H "Content-Type: application/json" \
  -d '{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "net_version"
}'
Response
Example · 200
{
  "jsonrpc": "2.0",
  "id": 1,
  "result": "1"
}