Skip to main content

/accounts/{address}/validate REST API Endpoint

Returns whether the given address is valid ss58 format, the ss58 prefix if the address has one, the network address format, and what the account ID is for this address.

Updated on
Sep 2, 2024

/accounts/{address}/validate REST API Endpoint

Path Parameters

address
string
REQUIRED
The SS58 or hex address of the account

Returns

isValid
boolean
Indicates whether the provided address is valid
ss58Prefix
string
The SS58 prefix associated with the address, which identifies the network type
network
string
The name of the network to which the address belongs
accountId
string
The hexadecimal representation of the validated account ID, corresponding to the provided address
Request
1
curl 'https://docs-demo.dot-mainnet.quiknode.pro/accounts/5FHneW46xGXgs5mUiveU4sbTyGBzmstUspZC92UhjJM694ty/validate' \
2
--header 'Accept: application/json'
Don't have an account yet?
Create your QuickNode endpoint in seconds and start building
Get started for free