dash

Dash (DASH)

Method: POST gobject(prepare)

dropdown
POST

gobject(prepare)

Method not allowed

prepares a governance object by signing and creating a collateral transaction.

Parameters

method name - string

None

parent-hash - string (hex)

Hash of the parent object. Usually the root node which has a hash of 0

revision - int

Object revision number

time - int_64t

Create time (Unix epoch time)

data-hex - string (hex)

Updated in Dash Core 0.14.0 to require all new proposals to use JSON serialization.

Object data (JSON object with governance details).

use-IS - boolean

Optional

Deprecated and ignored since Dash Core 0.15.0.

outputHash - string (hex)

Optional

The single output to submit the proposal fee from.

Added in Dash Core 0.13.0

outputIndex - numeric

Optional

The output index (required if the outputHash parameter is provided)

Added in Dash Core 0.13.0

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": ["prepare", null, null, null, null, null, null, null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}
close

It’s Black Friday Sale!
Don’t Miss.