dash

Dash (DASH)

Method: POST getaddressesbylabel

dropdown
POST

getaddressesbylabel

Method not allowed

Returns a list of every address assigned to a particular label.

Parameters

Label - string

The name of the label associated with the addresses to get. To get addresses from the default account, pass an empty string ("").

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


Response

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