Skip to main content
Deno 2 is finally here 🎉️
Learn more
Go to Latest
interface default.Network.TrustTokenOperationDoneEvent
import { type default } from "https://deno.land/x/puppeteer@14.1.1/vendor/puppeteer-core/puppeteer/api-docs-entry.d.ts";
const { TrustTokenOperationDoneEvent } = default.Network;

Fired exactly once for each Trust Token operation. Depending on the type of the operation and whether the operation succeeded or failed, the event is fired before the corresponding request was sent or after the response was received.

Properties

status: (
| "Ok"
| "InvalidArgument"
| "FailedPrecondition"
| "ResourceExhausted"
| "AlreadyExists"
| "Unavailable"
| "BadResponse"
| "InternalError"
| "UnknownError"
| "FulfilledLocally"
)

Detailed success or error status of the operation. 'AlreadyExists' also signifies a successful operation, as the result of the operation already exists und thus, the operation was abort preemptively (e.g. a cache hit). (TrustTokenOperationDoneEventStatus enum)

requestId: RequestId
optional
topLevelOrigin: string

Top level origin. The context in which the operation was attempted.

optional
issuerOrigin: string

Origin of the issuer in case of a "Issuance" or "Redemption" operation.

optional
issuedTokenCount: integer

The number of obtained Trust Tokens on a successful "Issuance" operation.