Operator: name the account by an alias, (source, name), as a seed's aliases do; a system account's role is one. An alias names one account for good. The operator's policy authority alone (REQ-RC-7).
register_alias (REQ-RC-7, amendment 0024): name the account in the path by (source, name),
as a seed’s aliases do. A system account’s role is one (ops/runbooks/system-accounts.md).
object
justification
required
Why.
string
name
required
The name within the source: a role (issuer/fee) or a prior system’s identifier. At most
256 bytes; never personal data (INV-17).
string
source
required
The source: 16 bytes as 32 hex digits, or a name of at most 16 ASCII bytes, zero-padded
(system-role for a system account’s role, as the migration’s role aliases).
Decided. For a transfer or a reservation, the reply to a repeat once the core has decided (REQ-CS-3).
Media typeapplication/json
The reply to a command (REQ-CS-2): an acknowledgement, not an outcome. Its state may be
Received; a caller learns completion by notification or by operation(reference)
(REQ-CS-6). There is no blocking “wait until terminal” reply.
object
api_key
The API key a register_credential with scheme api-key issued (F-028): on the one
reply that decided it, and never again. aledgent keeps only its hash (REQ-AU-8).
Not terminal and not refunding: nothing has returned yet.
string
Allowed value: open-non-refunding
Needs-Review: waiting for a human. Not terminal and not refunding.
string
Allowed value: awaiting-human
null
client_key
required
The client key the command was taken under: the caller’s, or the one derived from the
request when the caller gave none (REQ-OP-11). A retry with it gets this reply again.
string
client_key_derived
required
Whether ingress derived the client key.
boolean
operation_reference
required
The operation reference: service-derived, opaque, never supplied by a caller
(REQ-OP-10).
Pass-through data (REQ-PO-5): any one JSON value, at most 1024 bytes of UTF-8 as sent. Kept and echoed exactly as sent; never read by aledgent. Over the bound, or not one JSON value, the command is refused with ERR-MalformedCommand.
Allowed value: The initiating principal holds no authority that covers this operation, account, asset or bound
error
required
Allowed value: ERR-NotAuthorised
ERR-AuthorityRevokedobject
description
required
Allowed value: The authority relied on has been revoked
error
required
Allowed value: ERR-AuthorityRevoked
ERR-CredentialInvalidobject
description
required
Allowed value: The credential presented is invalid, expired, or of the wrong kind
error
required
Allowed value: ERR-CredentialInvalid
ERR-RecoveryNotElapsedobject
description
required
Allowed value: A recovery or succession was completed before its delay elapsed (`REQ-AU-16`)
error
required
Allowed value: ERR-RecoveryNotElapsed
ERR-UnboundedGrantobject
description
required
Allowed value: An authority grant was submitted without a bound (`REQ-AU-2`)
error
required
Allowed value: ERR-UnboundedGrant
ERR-BoundExceededobject
description
required
Allowed value: The operation would exceed a bound on the authority used
error
required
Allowed value: ERR-BoundExceeded
ERR-UnknownAccountobject
description
required
Allowed value: No such ledger account exists, or this principal cannot reach it
error
required
Allowed value: ERR-UnknownAccount
ERR-AccountFrozenobject
description
required
Allowed value: The account is frozen
error
required
Allowed value: ERR-AccountFrozen
ERR-AccountClosedobject
description
required
Allowed value: The account is closed
error
required
Allowed value: ERR-AccountClosed
ERR-AccountNotEmptyobject
description
required
Allowed value: Closure attempted with a non-zero balance (`REQ-LA-4`)
error
required
Allowed value: ERR-AccountNotEmpty
ERR-IdentityRestrictedobject
description
required
Allowed value: The owning identity is not allowed to transact
error
required
Allowed value: ERR-IdentityRestricted
ERR-UnknownAssetobject
description
required
Allowed value: The asset is not in the registry (`REQ-AS-1`)
error
required
Allowed value: ERR-UnknownAsset
ERR-AssetDeprecatedobject
description
required
Allowed value: The asset is registered but no longer accepts new operations
error
required
Allowed value: ERR-AssetDeprecated
ERR-PrecisionExceededobject
description
required
Allowed value: The amount has more precision than the asset (`REQ-AS-4`)
error
required
Allowed value: ERR-PrecisionExceeded
ERR-ZeroAmountobject
description
required
Allowed value: A zero amount was submitted where a movement was intended
error
required
Allowed value: ERR-ZeroAmount
ERR-InsufficientAvailableobject
description
required
Allowed value: The available balance does not cover the operation (`INV-3`)
error
required
Allowed value: ERR-InsufficientAvailable
ERR-AmountMismatchobject
description
required
Allowed value: A capture, or an observed external execution, differs from the reservation it belongs to (`INV-14`)
error
required
Allowed value: ERR-AmountMismatch
ERR-ReleaseUnsafeobject
description
required
Allowed value: A release was attempted while the external leg could still execute (`REQ-OP-9`)
error
required
Allowed value: ERR-ReleaseUnsafe
ERR-OperationTerminalobject
description
required
Allowed value: The operation has already reached a terminal state (`INV-21`)
error
required
Allowed value: ERR-OperationTerminal
ERR-InvalidTransitionobject
description
required
Allowed value: The requested state transition is not permitted (§5.6)
error
required
Allowed value: ERR-InvalidTransition
ERR-UnknownOperationobject
description
required
Allowed value: No operation with this reference
error
required
Allowed value: ERR-UnknownOperation
ERR-DeadlineRequiredobject
description
required
Allowed value: A non-terminal operation was submitted without a deadline (`INV-15`)
error
required
Allowed value: ERR-DeadlineRequired
ERR-ClientKeyReusedobject
description
required
Allowed value: The same client key was submitted with a different request (`REQ-OP-10`)
error
required
Allowed value: ERR-ClientKeyReused
ERR-BatchTooLargeobject
description
required
Allowed value: A multi-leg submission is larger than the declared maximum
error
required
Allowed value: ERR-BatchTooLarge
ERR-UnsupportedLegobject
description
required
Allowed value: The settlement adapter does not support this operation or asset (`REQ-SA-1`)
error
required
Allowed value: ERR-UnsupportedLeg
ERR-SettlementLayerUnavailableobject
description
required
Allowed value: The settlement adapter cannot be reached, or refuses to serve (`REQ-SA-2`)
error
required
Allowed value: ERR-SettlementLayerUnavailable
ERR-DecisionUnavailableobject
description
required
Allowed value: The command cannot be decided now. Only a command answered with its decision gets it (`REQ-CS-8`). The command is kept; retrying with the same client key is safe and returns its decision (`REQ-CS-7`)
error
required
Allowed value: ERR-DecisionUnavailable
ERR-ObservationDuplicateobject
description
required
Allowed value: An observation with this coordinate has already been applied (`INV-12`)
error
required
Allowed value: ERR-ObservationDuplicate
ERR-ObservationUnassociatedobject
description
required
Allowed value: An observation is valid but relates to no operation aledgent holds
error
required
Allowed value: ERR-ObservationUnassociated
ERR-EvidenceInsufficientobject
description
required
Allowed value: The evidence supplied does not establish the outcome claimed (`INV-11`)
error
required
Allowed value: ERR-EvidenceInsufficient
ERR-JustificationRequiredobject
description
required
Allowed value: An operator action was submitted without a justification
error
required
Allowed value: ERR-JustificationRequired
ERR-ApprovalRequiredobject
description
required
Allowed value: A reversal, or a release without proof (`REQ-RC-5` step 3), was submitted without a second, distinct principal approving it (`REQ-OS-3`)
error
required
Allowed value: ERR-ApprovalRequired
ERR-DisclosureUnsupportedobject
description
required
Allowed value: aledgent cannot make the assertion requested
error
required
Allowed value: ERR-DisclosureUnsupported
ERR-DisclosureFalseobject
description
required
Allowed value: aledgent can determine locally that the assertion is false (`REQ-DS-4`)
error
required
Allowed value: ERR-DisclosureFalse
ERR-NotDisclosableobject
description
required
Allowed value: The subject has not authorised this disclosure, and no legal obligation applies
error
required
Allowed value: ERR-NotDisclosable
ERR-AnchorNotFinalobject
description
required
Allowed value: An anchor was cited whose publication has not reached finality (`REQ-PR-8`)
error
required
Allowed value: ERR-AnchorNotFinal
ERR-QueryUnboundedobject
description
required
Allowed value: A query was submitted without bounds that aledgent can serve (`REQ-CS-5`)
error
required
Allowed value: ERR-QueryUnbounded
ERR-MalformedCommandobject
description
required
Allowed value: The request does not have a shape aledgent accepts: a field unknown or of the wrong type, a field a command requires and lacks, a value that does not parse, or a body over its bound (`REQ-ER-3`)
error
required
Allowed value: ERR-MalformedCommand
ERR-InitialStateNotSealedobject
description
required
Allowed value: The initial state committed at the book's genesis is not yet in place and checked, and the book takes no command until it is sealed (`REQ-RC-6`)
error
required
Allowed value: ERR-InitialStateNotSealed
ERR-IdentifierArchivedobject
description
required
Allowed value: The identifier is one a prior system issued that the book's initial state deliberately left out: it names no ledger account and never will (`REQ-RC-7`)
error
required
Allowed value: ERR-IdentifierArchived
ERR-Internalobject
description
required
Allowed value: An unexpected fault inside aledgent. No detail is returned to the caller, and an incident is raised (`REQ-ER-2`)
error
required
Allowed value: ERR-Internal
Example
{
"description": "The initiating principal holds no authority that covers this operation, account, asset or bound",
Allowed value: The initiating principal holds no authority that covers this operation, account, asset or bound
error
required
Allowed value: ERR-NotAuthorised
ERR-AuthorityRevokedobject
description
required
Allowed value: The authority relied on has been revoked
error
required
Allowed value: ERR-AuthorityRevoked
ERR-CredentialInvalidobject
description
required
Allowed value: The credential presented is invalid, expired, or of the wrong kind
error
required
Allowed value: ERR-CredentialInvalid
ERR-RecoveryNotElapsedobject
description
required
Allowed value: A recovery or succession was completed before its delay elapsed (`REQ-AU-16`)
error
required
Allowed value: ERR-RecoveryNotElapsed
ERR-UnboundedGrantobject
description
required
Allowed value: An authority grant was submitted without a bound (`REQ-AU-2`)
error
required
Allowed value: ERR-UnboundedGrant
ERR-BoundExceededobject
description
required
Allowed value: The operation would exceed a bound on the authority used
error
required
Allowed value: ERR-BoundExceeded
ERR-UnknownAccountobject
description
required
Allowed value: No such ledger account exists, or this principal cannot reach it
error
required
Allowed value: ERR-UnknownAccount
ERR-AccountFrozenobject
description
required
Allowed value: The account is frozen
error
required
Allowed value: ERR-AccountFrozen
ERR-AccountClosedobject
description
required
Allowed value: The account is closed
error
required
Allowed value: ERR-AccountClosed
ERR-AccountNotEmptyobject
description
required
Allowed value: Closure attempted with a non-zero balance (`REQ-LA-4`)
error
required
Allowed value: ERR-AccountNotEmpty
ERR-IdentityRestrictedobject
description
required
Allowed value: The owning identity is not allowed to transact
error
required
Allowed value: ERR-IdentityRestricted
ERR-UnknownAssetobject
description
required
Allowed value: The asset is not in the registry (`REQ-AS-1`)
error
required
Allowed value: ERR-UnknownAsset
ERR-AssetDeprecatedobject
description
required
Allowed value: The asset is registered but no longer accepts new operations
error
required
Allowed value: ERR-AssetDeprecated
ERR-PrecisionExceededobject
description
required
Allowed value: The amount has more precision than the asset (`REQ-AS-4`)
error
required
Allowed value: ERR-PrecisionExceeded
ERR-ZeroAmountobject
description
required
Allowed value: A zero amount was submitted where a movement was intended
error
required
Allowed value: ERR-ZeroAmount
ERR-InsufficientAvailableobject
description
required
Allowed value: The available balance does not cover the operation (`INV-3`)
error
required
Allowed value: ERR-InsufficientAvailable
ERR-AmountMismatchobject
description
required
Allowed value: A capture, or an observed external execution, differs from the reservation it belongs to (`INV-14`)
error
required
Allowed value: ERR-AmountMismatch
ERR-ReleaseUnsafeobject
description
required
Allowed value: A release was attempted while the external leg could still execute (`REQ-OP-9`)
error
required
Allowed value: ERR-ReleaseUnsafe
ERR-OperationTerminalobject
description
required
Allowed value: The operation has already reached a terminal state (`INV-21`)
error
required
Allowed value: ERR-OperationTerminal
ERR-InvalidTransitionobject
description
required
Allowed value: The requested state transition is not permitted (§5.6)
error
required
Allowed value: ERR-InvalidTransition
ERR-UnknownOperationobject
description
required
Allowed value: No operation with this reference
error
required
Allowed value: ERR-UnknownOperation
ERR-DeadlineRequiredobject
description
required
Allowed value: A non-terminal operation was submitted without a deadline (`INV-15`)
error
required
Allowed value: ERR-DeadlineRequired
ERR-ClientKeyReusedobject
description
required
Allowed value: The same client key was submitted with a different request (`REQ-OP-10`)
error
required
Allowed value: ERR-ClientKeyReused
ERR-BatchTooLargeobject
description
required
Allowed value: A multi-leg submission is larger than the declared maximum
error
required
Allowed value: ERR-BatchTooLarge
ERR-UnsupportedLegobject
description
required
Allowed value: The settlement adapter does not support this operation or asset (`REQ-SA-1`)
error
required
Allowed value: ERR-UnsupportedLeg
ERR-SettlementLayerUnavailableobject
description
required
Allowed value: The settlement adapter cannot be reached, or refuses to serve (`REQ-SA-2`)
error
required
Allowed value: ERR-SettlementLayerUnavailable
ERR-DecisionUnavailableobject
description
required
Allowed value: The command cannot be decided now. Only a command answered with its decision gets it (`REQ-CS-8`). The command is kept; retrying with the same client key is safe and returns its decision (`REQ-CS-7`)
error
required
Allowed value: ERR-DecisionUnavailable
ERR-ObservationDuplicateobject
description
required
Allowed value: An observation with this coordinate has already been applied (`INV-12`)
error
required
Allowed value: ERR-ObservationDuplicate
ERR-ObservationUnassociatedobject
description
required
Allowed value: An observation is valid but relates to no operation aledgent holds
error
required
Allowed value: ERR-ObservationUnassociated
ERR-EvidenceInsufficientobject
description
required
Allowed value: The evidence supplied does not establish the outcome claimed (`INV-11`)
error
required
Allowed value: ERR-EvidenceInsufficient
ERR-JustificationRequiredobject
description
required
Allowed value: An operator action was submitted without a justification
error
required
Allowed value: ERR-JustificationRequired
ERR-ApprovalRequiredobject
description
required
Allowed value: A reversal, or a release without proof (`REQ-RC-5` step 3), was submitted without a second, distinct principal approving it (`REQ-OS-3`)
error
required
Allowed value: ERR-ApprovalRequired
ERR-DisclosureUnsupportedobject
description
required
Allowed value: aledgent cannot make the assertion requested
error
required
Allowed value: ERR-DisclosureUnsupported
ERR-DisclosureFalseobject
description
required
Allowed value: aledgent can determine locally that the assertion is false (`REQ-DS-4`)
error
required
Allowed value: ERR-DisclosureFalse
ERR-NotDisclosableobject
description
required
Allowed value: The subject has not authorised this disclosure, and no legal obligation applies
error
required
Allowed value: ERR-NotDisclosable
ERR-AnchorNotFinalobject
description
required
Allowed value: An anchor was cited whose publication has not reached finality (`REQ-PR-8`)
error
required
Allowed value: ERR-AnchorNotFinal
ERR-QueryUnboundedobject
description
required
Allowed value: A query was submitted without bounds that aledgent can serve (`REQ-CS-5`)
error
required
Allowed value: ERR-QueryUnbounded
ERR-MalformedCommandobject
description
required
Allowed value: The request does not have a shape aledgent accepts: a field unknown or of the wrong type, a field a command requires and lacks, a value that does not parse, or a body over its bound (`REQ-ER-3`)
error
required
Allowed value: ERR-MalformedCommand
ERR-InitialStateNotSealedobject
description
required
Allowed value: The initial state committed at the book's genesis is not yet in place and checked, and the book takes no command until it is sealed (`REQ-RC-6`)
error
required
Allowed value: ERR-InitialStateNotSealed
ERR-IdentifierArchivedobject
description
required
Allowed value: The identifier is one a prior system issued that the book's initial state deliberately left out: it names no ledger account and never will (`REQ-RC-7`)
error
required
Allowed value: ERR-IdentifierArchived
ERR-Internalobject
description
required
Allowed value: An unexpected fault inside aledgent. No detail is returned to the caller, and an incident is raised (`REQ-ER-2`)
error
required
Allowed value: ERR-Internal
Example
{
"description": "The initiating principal holds no authority that covers this operation, account, asset or bound",