Skip to content

RevocationCheckRequest

PQSafe AgentPay API Reference v0.1.0


PQSafe AgentPay API Reference / RevocationCheckRequest

Interface: RevocationCheckRequest

Defined in: pqsafe/agent-pay/src/sprint2/revocation.ts:43

A revocation check request. The verifier assembles this from the envelope and passes it to checkRevocation().

Properties

currency

currency: string

Defined in: pqsafe/agent-pay/src/sprint2/revocation.ts:53

ISO 4217 currency


envelopeEpoch

envelopeEpoch: bigint

Defined in: pqsafe/agent-pay/src/sprint2/revocation.ts:49

Epoch the envelope was signed under (carried in SpendEnvelope.issuerEpoch, Sprint 3+)


envelopeId

envelopeId: string

Defined in: pqsafe/agent-pay/src/sprint2/revocation.ts:47

keccak256(envelopeJson) — the on-chain primary key


issuerAddress

issuerAddress: string

Defined in: pqsafe/agent-pay/src/sprint2/revocation.ts:45

PQSafe issuer address (pq1 + 40 hex)


requestedAmount

requestedAmount: number

Defined in: pqsafe/agent-pay/src/sprint2/revocation.ts:51

Amount of the requested payment — drives fail-safe threshold selection