Path Parameters
- accountIdstringREQUIRED
The accountId or Public Key encoded in hexadecimal format.
Query Parameters
- schemestring
The cryptographic scheme to be used in order to convert the AccountId to an SS58 address. It can take one of three values [sr25519, ed25519, ecdsa]. The default scheme that is used is
sr25519(if it is not set in the query parameter).
- prefixinteger
The address prefix which can be one of the values found in the SS58-registry.
- publicKeyboolean
Defines if the given value in the path parameter is a Public Key (hex) or not (hence AccountId).
Returns
- ss58Prefixnumber | string
The SS58 prefix used to identify the network and format of the address
- networkstring
The network to which the account belongs
- addressstring
The public address of the account, which can be used to receive funds or interact with the blockchain
- accountIdstring
The unique identifier for the account, represented in hexadecimal format.
- schemestring
The cryptographic scheme used by the account for signing transactions
- publicKeyboolean
Indicates whether the public key is available