Transaction object to add merge operations to
Array of coin objects to merge
Optional
options: { balance?: number; useGasCoin?: boolean }Optional parameters for balance splitting and gas coin usage
balance
- If provided, splits this amount from the resulting coin objectuseGasCoin
- If true, uses the gas coin for the operationTransaction result representing the merged coin
Merges multiple coins into a single coin for transaction building
This function takes multiple coin objects and merges them into a single coin that can be used in a transaction. It supports optional splitting to create a specific balance amount.