Skip to main content

Interface: UnsafeMergeCoinsParams

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

Properties

PropertyTypeDescription
signerstringthe transaction signer's IOTA address
primaryCoinstringthe coin object to merge into, this coin will remain after the transaction
coinToMergestringthe coin object to be merged, this coin will be destroyed, the balance will be added to primary_coin
gas?string | nullgas object to be used in this transaction, node will pick one from the signer's possession if not provided
gasBudgetstringthe gas budget, the transaction will fail if the gas cost exceed the budget
signal?AbortSignal-