dcr

Decred (DCR)

Method: POST existsmempooltxs

dropdown
POST

existsmempooltxs

Returns the existence of the provided txs in the mempool.

Parameters

txhashes - json array

The array of tx hashes 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": "existsmempooltxs",
"params": [null],
"id": "getblock.io"}'


Response

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