Gets coin objects for transaction building
This function retrieves and prepares coin objects for use in swap transactions. It handles both SUI gas coins and other token types, including coin merging when necessary.
Wallet address
Coin type or address
Amount needed for the transaction
Transaction object to build
Sui client instance
Transaction result representing the prepared coin
Gets coin objects for transaction building
This function retrieves and prepares coin objects for use in swap transactions. It handles both SUI gas coins and other token types, including coin merging when necessary.