MultiSig Tools · Stellar
Developers

State, errors and terminology

Understand lifecycle states, recovery strategies, and the versioned API contract.

Request, Intent, Task and Job

A Request (also called a Proposal or Signing Request in the Human UI) coordinates signatures for one Classic transaction envelope. An Intent describes a Soroban host function and authorization plan; its execution package is created separately. An Agent Task describes work from the represented signer's perspective. An Integration Job describes work owned by the service. Neither a Task nor a Job grants additional Stellar authority.

Classic Request status

StateMeaning
awaiting_signaturesMore valid signatures are required. quorum_unreachable means current refusals leave insufficient weight.
waiting_preconditionsAuthorization or envelope exists but a ledger/time precondition is not met or cannot be verified.
readyCurrent required authorization and preconditions allow submission.
submittedStellar inclusion and successful execution are confirmed.
expiredThe Request or transaction validity window elapsed.
staleThe transaction sequence is no longer usable.
blockedThe current envelope or authorization cannot proceed; read statusReason and evidence.

For external execution, expired, stale and blocked alone do not prove that no payment occurred. Reconcile the original hash; require verified failed or non-included evidence before considering a replacement.

Soroban authorization status

StateMeaning
awaiting_authorizationA required AUTH entry still needs signer authorization.
authorization_readyThe plan has sufficient current valid AUTH.
expiredThe authorization window elapsed.
blockedThe current plan cannot be satisfied or validated.
cancelledThe Intent was cancelled.
completedExecution was confirmed successful on Stellar.

A released execution hash must be reconciled before replacement, re-plan or cancellation. A completed receipt is terminal even if signer policy changes.

Agent Task state

StateMeaning
action_requiredAt least one relevant action needs attention.
waitingWaiting for other signers, conditions or a caller with sufficient scope.
execution_unknownA released hash lacks a terminal result.
completedSuccess confirmed.
expiredWork expired.
failedWork cannot proceed or verified execution failed.
cancelledIntent cancelled.

Read signatureRequired independently from nextActions[].available. A read credential can discover a needed signature without being able to contribute it.

Integration Job state

StateMeaning
waiting_for_authorizationMore approval is required.
waiting_preconditionsClassic preconditions need resolution.
readyA permitted execution action is available.
executingSoroban has a prepared execution package.
execution_unknownReconcile the original hash.
completedSuccess confirmed.
expiredWork expired or a non-inclusion proof resolved the attempt.
failedExecution or preparation failed; inspect evidence.
cancelledSoroban Intent cancelled.

Use the concrete nextActions and actionCalls provided for the current resource. An external Stellar submission is not an API operation.

Retry vocabulary

StrategyWhat to do
retry_same_requestRepeat exactly the same accepted call.
retry_same_request_with_backoffRepeat the same call with bounded delays.
inspect_then_decideInspect canonical current state before deciding.
stop_and_inspectStop automated retries and examine state/evidence.
stopDo not repeat this action.
correct_inputCorrect the rejected input.
authenticateObtain the required valid credential.
human_reviewRequire a conscious review before further action.
human_recoveryFollow the stated human-assisted recovery sequence.
start_new_requestBegin a new pairing request only where the operation explicitly permits it.
reconcile_firstReconcile every original unresolved transaction hash.
inspect_terminalRetrieve the terminal receipt.
review_and_reauthorizeReview a changed plan and collect fresh authorization.
completeKeep the successful evidence; no replacement payment.

Choose the rule in this order: onError[code], onHttpStatus[status], defaultError. If no response arrived, use transportFailure. Reconciliation responses use onOutcome.

Errors

Read OpenAPI, then x-multisig-errors for the published source-derived code catalogue with declared HTTP statuses, meanings and caller actions. The catalogue covers statically declared codes and explicitly listed dynamic families; additional deployment or provider errors can occur. Do not assume an unlisted error is safe to retry.

curl -fsS https://api-testnet.multisig.tools/stellar/openapi.json | jq '."x-multisig-errors"'
CodeCaller action
unknown_request_fieldCorrect the field identified by details.field.
idempotency_conflictStop; inspect the original accepted input and key.
intent_authorization_not_readyInspect and collect required AUTH.
managed_executor_not_configuredChoose an allowed external executor or request operator configuration.
intent_execution_outcome_unknownReconcile original hashes before mutation.
intent_already_executedInspect and retain the terminal receipt.
integration_service_existsRecover the existing service through its operator; do not replace its credential automatically.
already_exchangedFollow the reserved credential recovery path.

Testnet device pairing permits 20 attempts per actor per ten-minute window. When exhausted, the response includes Retry-After (seconds), RateLimit-Limit and RateLimit-Remaining. Other rate limits depend on deployment and credential policy. The published policy does not guarantee a universal remaining count. On 429, use bounded backoff according to the operation; do not create parallel credentials to bypass limits.

Glossary

  • Principal: the Stellar signer that delegates access.
  • Actor: the individual authenticated credential or Human responsible for an action.
  • Authorizer: the account or contract required to authorize a Soroban invocation.
  • Executor: the Stellar transaction source that supplies the sequence, fee and execution signature.
  • Treasury: a shared Stellar account; its live signer policy governs approval.
  • Integration Profile: scoped service configuration; it is not a signer.
  • Receipt: verified evidence of the transaction result, not a broadcast acknowledgement.

Contract change history

1.1.3

  • Shared signer workspace operations accept an optional selected Human wallet header and reject a mismatch. Legacy clients may omit it; machine credentials retain their own scope.
  • Contract and contact views keep private data bound to its verified wallet.

1.1.2

  • Align logical operation parameters with conditional Human/Agent access.
  • Preserve unresolved external execution in Inbox and make refusal reconsideration optional.
  • Include exact reconciliation hash defaults or explicit required inputs.
  • Reject invalid Request view selectors. Record advisory non-native transfer metadata at creation for shared summaries.

1.1.1

Added Testnet request, response and parameter illustrations to all logical operations. These show message structure, not usable credentials or verified ledger evidence. Use the actual XDR, IDs, signatures and receipts returned by the preceding operations.

1.1.0

Added explicit session status/logout operations, same-hash Soroban execution resume, Principal-specific AUTH preimages, structured refusal status, Classic Integration jobs, own-profile inspection, optional Inbox totals, error catalogue and public discovery validators. Unknown closed-schema request fields are now rejected. The transport operation IDs have been shortened; regenerate generated clients before adopting this revision. The logical operation wire version remains 1. Existing snake_case fields and legacy public Request links remain compatible.

This is the contract revision in the source release. Check info.version on the target deployment before relying on a new feature.

On this page