Skip to content

OutcomeContract.get

GET /{namespace}/outcome-contracts/{id}

Returns one Outcome Contract by id.

Mode
read

Get returns one Outcome Contract by id. It is inherited: every Noun has get, list, create, update and delete.

Inputs

InputTypeRequiredDescription
idstringrequiredThe id of the Outcome Contract.
atstringA time or Version name: the record as it stood then. Unset: as it stands now.

Outputs

OutputTypeRequiredDescription
outcomeContractOutcome ContractrequiredThe Outcome Contract.

Effects

  • Reads only: it emits no Event and changes nothing.
  • Read: try, do.

Refuses when

CheckErrorFixThen call
The key is valid, but its scopes do not allow this operation.forbiddenUse a key whose scopes cover the operation, or ask an owner of the namespace to grant them.OutcomeContract.get

When it waits

Never: a read runs at once.