Skip to main content

UnsafeSplitCoinEqualParams

@iota/iota-sdk


@iota/iota-sdk / client / UnsafeSplitCoinEqualParams

Interface: UnsafeSplitCoinEqualParams

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

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:734

the coin object to be spilt


gas?

optional gas?: string | null

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

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:743

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:744


signer

signer: string

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

the transaction signer's IOTA address


splitCount

splitCount: string

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

the number of coins to split into