dcr

Decred (DCR)

Method: POST existsliveticket

dropdown
POST

existsliveticket

Returns the existence of the provided ticket.

Parameters

txhash - string

The ticket hash to check.

Request

curl --location --request POST 'https://dcr.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "existsliveticket",
"params": ["e15a59c5232c79e37faa856e936bfccd94a1f1b4e865ef5761014c7cb3340800"],
"id": "getblock.io"}'


Response

{
    "error": null,
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": true
}