Skip to main content

UnsafeSplitCoinEqualParams

@iota/iota-sdk


@iota/iota-sdk / client / UnsafeSplitCoinEqualParams

Interface: UnsafeSplitCoinEqualParams

Defined in: sdk/typescript/src/client/types/params.ts:729

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

Properties​

coinObjectId​

coinObjectId: string

Defined in: sdk/typescript/src/client/types/params.ts:733

the coin object to be spilt


gas?​

optional gas?: string | null

Defined in: sdk/typescript/src/client/types/params.ts:740

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


gasBudget​

gasBudget: string

Defined in: sdk/typescript/src/client/types/params.ts:742

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


signal?​

optional signal?: AbortSignal

Defined in: sdk/typescript/src/client/types/params.ts:743


signer​

signer: string

Defined in: sdk/typescript/src/client/types/params.ts:731

the transaction signer's IOTA address


splitCount​

splitCount: string

Defined in: sdk/typescript/src/client/types/params.ts:735

the number of coins to split into