Skip to main content

UnsafeSplitCoinParams

@iota/iota-sdk


@iota/iota-sdk / client / UnsafeSplitCoinParams

Interface: UnsafeSplitCoinParams

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

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

Properties

coinObjectId

coinObjectId: string

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

the coin object to be spilt


gas?

optional gas?: string | null

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

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

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


signer

signer: string

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

the transaction signer's IOTA address


splitAmounts

splitAmounts: string[]

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

the amounts to split out from the coin