supra-ts-sdk - v2.0.0
    Preparing search index...

    Type Alias WaitForTransactionOptions

    Options for configuring the behavior of the waitForTransaction() function.

    type WaitForTransactionOptions = {
        timeoutSecs?: number;
        timeoutMs?: number;
        checkSuccess?: boolean;
    }
    Index
    timeoutSecs?: number

    The longest time to wait for a final status, in seconds.

    Use timeoutMs, which takes precedence when both are set.

    timeoutMs?: number

    The longest time to wait for a final status, in milliseconds. Default waitTimeoutMs of SupraConfig, else 60000.

    checkSuccess?: boolean

    Throw SupraTransactionFailedError for a final status other than Success. Default true.