Skip to main content

UnsafeMergeCoinsParams

@iota/iota-sdk


@iota/iota-sdk / client / UnsafeMergeCoinsParams

Interface: UnsafeMergeCoinsParams

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

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

Properties​

coinToMerge​

coinToMerge: string

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

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

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

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

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


signer​

signer: string

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

the transaction signer's IOTA address