getTransactionsForAsset

suspend fun getTransactionsForAsset(asset: AssetId, authToken: AuthToken, noOlderThan: Instant? = null, limit: Int? = null, kind: TransactionKind? = null, pagingId: String? = null, lang: String? = null): List<AnchorTransaction>

Get all account's transactions by specified asset. See SEP-24 specification for parameters

Return

transaction object

Parameters

asset

target asset to query for

authToken

auth token of the account authenticated with the anchor

noOlderThan

The response should contain transactions starting on or after this date & time.

limit

The response should contain at most limit transactions

kind

The kind of transaction that is desired

pagingId

The response should contain transactions starting prior to this ID (exclusive)

lang

Language to use

Throws

if SEP-24 interactive flow is not configured