Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Network.TrustTokenParams
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/mod.ts";
const { TrustTokenParams } = Protocol.Network;

Determines what type of Trust Token operation is executed and depending on the type, some additional parameters.

Properties

refreshPolicy: "UseCached" | "Refresh"

Only set for "srr-token-redemption" type and determine whether to request a fresh SRR or use a still valid cached SRR. (TrustTokenParamsRefreshPolicy enum)

optional
issuers: string[]

Origins of issuers from whom to request tokens or redemption records.