Generate address from xpub
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
Derives a Cardano Shelley payment address from an extended public key (xpub) using the specified role (external or internal/change) and address derivation index.
Parameters
addressstringrequiredpathExtended public key (xpub) encoded in hex or base58.
roleinteger01requiredpathBIP-44 role index. 0 = external (receiving) address, 1 = internal (change) address.
indexinteger<int64>>= 0requiredpathZero-based derivation index of the address to generate.
Response
HTTP 200 response for generateAddressFromXpub.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Extended public key not found or invalid.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or backend failed while processing the request.