Share your GetBlock experience with other devs and get 5M RPCs

banner image

Last updated on January 1, 1970

1 min read

Method validateaddress NEO (NEO)
connect with JSON-RPC protocol

validateaddress

info-circle-fill

Verifies that the address is a valid NEO address.

Parameters

address - string

Address. The NEO standard address begins with N because AddressVersion in Neo N3 has been modified to 53.

Request

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

Response

{
    "result": {
        "address": "NPvKVTGZapmFWABLsyvfreuqn73jCjJtN1",
        "isvalid": true
    },
    "id": "getblock.io",
    "jsonrpc": "2.0"
}
banner icon

Start Building with GetBlock RPCs for Free