doge

DogeCoin (DOGE)

Method: POST validateaddress

dropdown
POST

validateaddress

Validate a dogecoin address and return information for it. The information is represented by a AddressValidation object.

Parameters

address - string

Address to validate.

Request

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


Response

{
    "error": null,
    "id": "getblock.io",
    "result": {
        "address": "DLGbK6mCjBT67r8wjJqCg8hkFiBYV5JquH",
        "ismine": false,
        "isscript": false,
        "isvalid": true,
        "iswatchonly": false,
        "scriptPubKey": "76a914a5f4d12ce3685781b227c1f39548ddef429e978388ac"
    }
}
close

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