Skip to main content

system_chainType RPC method

Retrieves the chain type.

Parameters

This method does not accept any parameters

Returns

ChainType string

The chain type

Code Examples

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