deposit
suspend fun deposit(assetId: StellarAssetId, authToken: AuthToken, extraFields: Map<String, String>? = null, destinationAccount: String? = null, destinationMemo: Pair<String, MemoType>? = null): InteractiveFlowResponse
Content copied to clipboard
Initiates interactive deposit using SEP-24.
Return
response object from the anchor
Parameters
destination Account
The Stellar or muxed account the client wants to use as the destination of the payment sent by the anchor. Defaults to the account authenticated via SEP-10 if not specified.
asset Id
Stellar asset to deposit or withdraw
auth Token
Auth token from the anchor (account's authentication using SEP-10)
extra Fields
Additional information to pass to the anchor
Throws
if asset was refused by the anchor