Derive an AccountIdentifier from a PublicKey
Authorizations
ApiKeyAuthApiKeyAuthapi-key string
NOWNodes API key passed in the api-key header.
CHANGELOG — Cardano Rosetta Java 2.3.3 → 2.4.0 Add metadata.address_type=CIP-113 smart-wallet derivation, rejection of staking_credential with CIP-113 (5062), new PLB validation errors (5063/5064); correct the existing success schema/example to account_identifier.address (old page incorrectly showed /construction/payloads fields).
Derive returns the AccountIdentifier associated with a public key. Blockchains that require an on-chain action to create an account should not implement this method.
Cardano Rosetta Java 2.4.0 supports metadata.address_type="CIP-113" (case-sensitive). For this type, an edwards25519 payment public key is used to derive a smart-wallet base address: the configured programmable-logic-base script hash is the payment credential, and the hash of the supplied public key is the stake credential. Do not supply metadata.staking_credential with CIP-113 (error 5062). CIP113_BASE_SCRIPT_HASH must be configured for this operation (errors 5063/5064). Other address types Enterprise, Base, Reward are unchanged; the response uses account_identifier.address.
Body
Request value.
network_identifierNetworkIdentifierrequiredRosetta network identifier object.
public_keyPublicKeyrequiredPublic Key value.
metadataobjectCardano address-derivation options. Set address_type to CIP-113 for a programmable-token smart-wallet address. Do not pass staking_credential for CIP-113 (error 5062).
Response
HTTP 200 response for constructionDerive.
Bad Request. The request is malformed or contains invalid parameters.
Unauthorized: API key is present but rejected by the NOWNodes gateway.
Missing API key. The NOWNodes gateway returns plain text for this error.
Internal Server Error. The gateway or backend failed while processing the request.