Skip to main content

UnsafeMergeCoinsParams

@iota/iota-sdk


@iota/iota-sdk / client / UnsafeMergeCoinsParams

Interface: UnsafeMergeCoinsParams

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

Create an unsigned transaction to merge multiple coins into one coin.

Properties

coinToMerge

coinToMerge: string

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

the coin object to be merged, this coin will be destroyed, the balance will be added to primary_coin


gas?

optional gas?: string | null

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

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

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


primaryCoin

primaryCoin: string

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

the coin object to merge into, this coin will remain after the transaction


signal?

optional signal?: AbortSignal

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


signer

signer: string

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

the transaction signer's IOTA address