Skip to main content

system_chain RPC method

Retrieves the chain.

Parameters

This method does not accept any parameters

Returns

result string

The name of the chain

Code Examples

curl https://api-polkadot.dwellir.com/<API-KEY> \
-X POST \
-H "Content-Type: application/json" \
--data '{"method":"system_chain","params":[],"id":1,"jsonrpc":"2.0"}'