DASH
POST
GET
Last updated on January 1, 1970
1 min read
Method spork undefined ()
connect with JSON-RPC protocol
spork
reads or updates spork settings on the network.To display the status of sporks, use the show or active syntax.
Parameters
mode
- string
The command to use
show - Display spork values
active - Display spork activation status
Request
curl --location --request POST 'https://dash.getblock.io/mainnet/'
--header 'x-api-key: YOUR-API-KEY'
--header 'Content-Type: application/json'
--data-raw '{"jsonrpc": "2.0",
"method": "spork",
"params": ["show"],
"id": "getblock.io"}'
Response
{
"error": null,
"id": "getblock.io",
"result": {
"SPORK_17_QUORUM_DKG_ENABLED": 0,
"SPORK_19_CHAINLOCKS_ENABLED": 0,
"SPORK_21_QUORUM_ALL_CONNECTED": 1,
"SPORK_23_QUORUM_POSE": 0,
"SPORK_2_INSTANTSEND_ENABLED": 0,
"SPORK_3_INSTANTSEND_BLOCK_FILTERING": 0,
"SPORK_9_SUPERBLOCKS_ENABLED": 0
}
}
Start Building with GetBlock RPCs for Free
Previous
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }
Next
{ "overview": "Overview", "guides": "Guides", "get-started": "Get Started", "rpc-service": "Nodes Methods", "getblock-explorer": "Explorer API", "getblock-tracker": "Tracker API", "nodes-endpoints": "Nodes Endpoints" }