neo

NEO (NEO)

Method: POST validateaddress

dropdown
POST

validateaddress

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/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "validateaddress",
"params": [null],
"id": "getblock.io"}'


Response

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