The transaction builder to append operations to
Asset identifier for the pool
Amount to withdraw
Optional
options: Partial<EnvOption & AccountCapOption>Optional parameters including environment and account capability
Transaction result representing the withdrawn coins
Builds a withdraw transaction for a lending pool
Constructs and adds withdrawal operations to a transaction object. This function supports standard withdrawal and withdrawal using account capability.