GetNodeType
Warning
Whilst this API is implemented in this version of Zilliqa 2.0, the implementation is not yet complete. Use with caution!
Returns node type. For backwards compatibility reasons, in ZQ2 this always returns "Seed".
Example Request
curl -d '{
"id": "1",
"jsonrpc": "2.0",
"method": "GetNodeType",
"params": [""]
}' -H "Content-Type: application/json" -X POST "https://api.zq2-prototestnet.zilliqa.com/"
Example response
{ "id": "1", "jsonrpc": "2.0", "result": "Seed" }
Arguments
Parameter | Type | Required | Description |
---|---|---|---|
id |
string | Required | "1" |
jsonrpc |
string | Required | "2.0" |
method |
string | Required | "GetNodeType" |
params |
string | Required | Empty string "" |