Documentation
    Preparing search index...

    Interface CapabilityInvokeOptions<Schema>

    Invoke a capability

    interface CapabilityInvokeOptions<Schema extends StandardSchemaV1> {
        args: InferOutput<Schema>;
        aud?: DID;
        cause?: CID<unknown, number, number, Version>;
        exp?: null | number;
        iat?: number;
        iss: ISigner;
        meta?: CborObject;
        nbf?: number;
        nonce?: Uint8Array<ArrayBuffer>;
        store: Store;
        sub: DID;
        ttl?: number;
    }

    Type Parameters

    • Schema extends StandardSchemaV1

    Hierarchy

    • Omit<
          InvocationOptions,
          "cmd"
          | "args"
          | "prf"
          | "verifierResolver"
          | "didResolver"
          | "isRevoked",
      >
      • CapabilityInvokeOptions
    Index

    Properties

    args: InferOutput<Schema>
    aud?: DID
    cause?: CID<unknown, number, number, Version>
    exp?: null | number

    Expiration time in seconds or null for no expiration

    iat?: number

    Issued at time in seconds

    iss: ISigner
    meta?: CborObject
    nbf?: number
    nonce?: Uint8Array<ArrayBuffer>
    store: Store

    Store to resolve proofs from

    sub: DID
    ttl?: number

    Time to live in seconds, expiration thats precedence over ttl

    300