@thruputchain/client
    Preparing search index...

    Interface SignedToken<TPreimage>

    A signed auth token as it appears in contract arguments and return values.

    On the wire a token occupies no calldata bytes: the runtime passes its handle out of band, and only contracts can mint or consume one. A client therefore only ever sees a placeholder, which this type is. TPreimage records the token's declared preimage type for documentation; no preimage is ever available off chain.

    interface SignedToken<TPreimage = unknown> {
        "[signedTokenPreimageBrand]"?: TPreimage;
        kind: "signedToken";
    }

    Type Parameters

    • TPreimage = unknown
    Index

    Properties

    "[signedTokenPreimageBrand]"?: TPreimage
    kind: "signedToken"