Documentation
    Preparing search index...

    Interface BuildTransactionOptions

    interface BuildTransactionOptions {
        assumeSufficientAddressBalances?: boolean;
        client?: ClientWithCoreApi;
        onlyTransactionKind?: boolean;
        restrictedMoveCalls?: readonly string[];
    }

    Hierarchy (View Summary)

    Index
    assumeSufficientAddressBalances?: boolean

    Resolve CoinWithBalance intents from address balance without looking up balances or coins.

    If nothing else needs resolution, the transaction doesn't use GasCoin, and it already has a ValidDuring or Validity expiration, an unset gas payment is also set to [] (pay gas from address balance). Execution fails if the balances aren't there.

    onlyTransactionKind?: boolean
    restrictedMoveCalls?: readonly string[]

    package, package::module or package::module::function entries. Building or serializing a transaction with a MoveCall matching any of them throws. Takes precedence over the client's restrictedMoveCalls, then DEFAULT_RESTRICTED_MOVE_CALLS; pass [] to allow all calls.