New Here? Claim Your 30% Discount on Your First Blockchain Node Access!

banner image

Last updated on January 1, 1970

1 min read

Method validateaddress DogeCoin (DOGE)
connect with JSON-RPC protocol

validateaddress

info-circle-fill

Validate a dogecoin address and return information for it. Theinformation 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"
    }
}
banner icon

Start Building with GetBlock RPCs for Free