Sep24
Interactive flow for deposit and withdrawal using SEP-24.
Functions
Link copied to clipboard
Link copied to clipboard
Available anchor services and information about them. For example, limits, currency, fees, payment methods.
Link copied to clipboard
suspend fun getTransaction(transactionId: String, authToken: AuthToken): AnchorTransaction
Content copied to clipboard
Get single transaction's current status and details.
Link copied to clipboard
suspend fun getTransactionBy(authToken: AuthToken, id: String? = null, stellarTransactionId: String? = null, externalTransactionId: String? = null, lang: String? = null): AnchorTransaction
Content copied to clipboard
Get single transaction's current status and details. One of the id, stellarTransactionId, externalTransactionId must be provided.
Link copied to clipboard
suspend fun getTransactionsForAsset(asset: AssetId, authToken: AuthToken, noOlderThan: Instant? = null, limit: Int? = null, kind: TransactionKind? = null, pagingId: String? = null, lang: String? = null): List<AnchorTransaction>
Content copied to clipboard
Get all account's transactions by specified asset. See SEP-24 specification for parameters
Link copied to clipboard
suspend fun withdraw(assetId: StellarAssetId, authToken: AuthToken, extraFields: Map<String, String>? = null, withdrawalAccount: String? = null): InteractiveFlowResponse
Content copied to clipboard
Initiates interactive withdrawal using SEP-24.