Get chain name
POST
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Returns the chain name.
The system_chain method retrieves the human-readable name of the chain the node is connected to. This helps identify the network and ensure applications are interacting with the correct blockchain.
This method is useful for:
- Network identification
- Multi-chain applications
- User interface display
- Configuration validation
Body
application/json
jsonrpcstring2.0requiredJSON-RPC version identifier
methodstringsystem_chainrequiredThe method to be invoked
idinteger | stringrequiredRequest identifier for matching responses
paramsArray<any>requiredEmpty parameters array for this method
Response
200OK
Chain name retrieved successfully
500Internal Server Error
Internal server error