@thruputchain/client
    Preparing search index...

    Type Alias ContractViewOptions<TArgs>

    ContractViewOptions: ContractMethodInputs<TArgs> & {
        assumedAuth?: AuthClaim;
        caller?: ContractAddress;
        client: Pick<ThruputClient, "simulateInvocation">;
        minStateBlockHeight?: bigint;
        signal?: AbortSignal;
    }

    View options with an argument object only when the method requires one.

    Type Parameters

    • TArgs

    Type Declaration

    • OptionalassumedAuth?: AuthClaim

      Optional authorization assumed by the simulator, without signatures.

    • Optionalcaller?: ContractAddress
    • client: Pick<ThruputClient, "simulateInvocation">
    • OptionalminStateBlockHeight?: bigint

      Minimum committed snapshot height. No waiting or request-driven refresh.

    • Optionalsignal?: AbortSignal

      Cancel this read without affecting other requests on the same client.