Create an unsigned batched transaction.

interface UnsafeBatchTransactionParams {
    gas?: null | string;
    gasBudget: string;
    signer: string;
    singleTransactionParams: RPCTransactionRequestParams[];
    txnBuilderMode?: null | SuiTransactionBlockBuilderMode;
}

Properties

gas?: null | string

gas object to be used in this transaction, node will pick one from the signer's possession if not provided

gasBudget: string

the gas budget, the transaction will fail if the gas cost exceed the budget

signer: string

the transaction signer's Sui address

singleTransactionParams: RPCTransactionRequestParams[]

list of transaction request parameters

txnBuilderMode?: null | SuiTransactionBlockBuilderMode

Whether this is a regular transaction or a Dev Inspect Transaction