Versions in this module Expand all Collapse all v0 v0.15.0 Aug 18, 2026 Changes in this version + const CodeIdempotencyConflict + const CodeIdempotencyInProgress + const FixtureVersion + const IdempotencyHeader + func ConclusiveFailedReceipt(status string) bool + func NewIdempotencyKey() (string, error) + func NonSuccessReceipt(r Receipt) bool + func ResolveIdempotencyKey(explicit string) (string, error) + type ConflictError struct + Body IdempotencyBody + Key string + func (e ConflictError) Error() string + type DirectStatus struct + CompletedAt *string + CreatedAt string + Error *string + ExecutionID string + Receipts []Receipt + Result any + Status string + TransactionHash *string + TransactionLink *string + Type string + type Fixture struct + Expect Outcome + HTTPStatus int + Kind Kind + Name string + Note string + RequireChainEvidence bool + Response json.RawMessage + ResponseRaw string + Rule string + Version int + func LoadFixtureDir(dir string) ([]Fixture, error) + func (f Fixture) DecodeResponse() (DirectStatus, error) + func (f Fixture) Sample() Sample + type IdempotencyBody struct + Code string + Error string + OriginalExecutionID *string + Retryable *bool + func ParseIdempotencyBody(body []byte) (IdempotencyBody, bool) + func (b IdempotencyBody) IsConflict() bool + func (b IdempotencyBody) IsInProgress() bool + type InProgressTimeoutError struct + Key string + func (e InProgressTimeoutError) Error() string + type Kind string + const KindClassifier + const KindDefensive + const KindObserved + type Options struct + RequireChainEvidence bool + type Outcome string + const OutcomeFailure + const OutcomeMalformed + const OutcomePending + const OutcomeRateLimited + const OutcomeSuccess + const OutcomeUnconfirmed + const OutcomeUnrecognized + func Classify(sample Sample, opts Options) (Outcome, string) + type Receipt struct + BlockNumber *int64 + ChainID *int + GasUsed *string + Hash string + Network string + ReceiptStatus string + Verified bool + VerifiedAt string + func FirstBlockingReceipt(receipts []Receipt) *Receipt + type Sample struct + Body []byte + HTTPStatus int + type SequenceFixture struct + Kind Kind + Name string + Rule string + Steps []SequenceStep + Version int + func LoadSequence(path string) (SequenceFixture, error) + func LoadSequenceDir(dir string) ([]SequenceFixture, error) + type SequenceStep struct + Expect Outcome + HTTPStatus int + RequireChainEvidence bool + Response json.RawMessage + ResponseRaw string + func (s SequenceStep) Sample() Sample + type Vocabulary struct + Pending []string + Surface string + Terminal []string + func DirectExecutionVocabulary() Vocabulary + func WorkflowRunVocabulary() Vocabulary