Says whether a spend of amount minor units of asset from the account would pass the checks before the kernel, and names the reason if it would not. Both parameters are required: a missing one is refused as ERR-QueryUnbounded. Any other parameter, an asset that is not a valid symbol and an amount that is not a count of minor units are refused as 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",