withdraw abstract method

Future<YieldTransactionResult> withdraw(
  1. String vaultId,
  2. String ownerAddress,
  3. String amount, [
  4. String? receiverAddress,
  5. bool? sponsored,
])

Withdraws from a yield vault and returns the transaction hash.

Implementation

Future<YieldTransactionResult> withdraw(String vaultId, String ownerAddress, String amount, [String? receiverAddress, bool? sponsored]);