Create an unsigned transaction to split a coin object into multiple equal-size coins.

interface UnsafeSplitCoinEqualParams {
    coinObjectId: string;
    gas?: null | string;
    gasBudget: string;
    signer: string;
    splitCount: string;
}

Properties

coinObjectId: string

the coin object to be spilt

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

splitCount: string

the number of coins to split into