dcr

Decred (DCR)

Method: POST existsaddress

dropdown
POST

existsaddress

Returns the existence of the provided address.

Parameters

address - string

The address 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": "existsaddress",
"params": ["DsaczRtjC31N6XVV69qcBoyR2BEEmjRDay3"],
"id": "getblock.io"}'


Response

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