dash

Dash (DASH)

Method: POST gobject(deserialize)

dropdown
POST

gobject(deserialize)

deserializes a governance object from a hex string to JSON.

Parameters

method name - string

None

hex-data - string (hex)

The data (hex) of a governance object.

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": "gobject",
"params": ["deserialize", "7b22656e645f65706f6368223a313633393039383431352c226e616d65223a224272617a696c513432303231222c227061796d656e745f61646472657373223a225871746671736f44663254376e636842394e55716b71796b766f777a51684c684150222c227061796d656e745f616d6f756e74223a3131302c2273746172745f65706f6368223a313632383739363439352c2274797065223a312c2275726c223a2268747470733a2f2f7777772e6461736863656e7472616c2e6f72672f702f446173684272617a696c513432303231227d"],
"id": "getblock.io"}'


Response

{
    "error": null,
    "id": "getblock.io",
    "result": "{\"end_epoch\":1639098415,\"name\":\"BrazilQ42021\",\"payment_address\":\"XqtfqsoDf2T7nchB9NUqkqykvowzQhLhAP\",\"payment_amount\":110,\"start_epoch\":1628796495,\"type\":1,\"url\":\"https://www.dashcentral.org/p/DashBrazilQ42021\"}"
}