Home

Convert account format

GET
https://ksm-playbook.nownodes.io/v1/accounts/{accountId}/convert

Authorizations

ApiKeyAuthApiKeyAuth

api-key string

NOWNodes API key passed in the api-key header.

Converts an account address between different SS58 formats and key types.

Parameters

accountIdstringrequiredpath

SS58-encoded account address or hex public key

schemestringquery

Cryptographic scheme: ed25519, sr25519, or ecdsa (default: sr25519)

prefixinteger<int32>>= 0query

SS58 prefix number (default: 42)

publicKeybooleanquery

If true, treat input as a public key

Response

200OK

Converted account information

400Bad Request

Invalid parameters

500Internal Server Error

Internal server error

503Service Unavailable

Service unavailable