Documentation
    Preparing search index...

    Interface UnsafeSplitCoinEqualParams

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

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

    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

    signal?: AbortSignal
    signer: string

    the transaction signer's Sui address

    splitCount: string

    the number of coins to split into