getTransactions

open suspend fun getTransactions(chainId: String, limit: Int? = null, offset: Int? = null, order: GetTransactionsOrder? = null): Result<List<Transaction>>

Fetches a list of transactions associated with the client on a given blockchain.

Return

A Result containing a list of Transaction objects if successful, or an error if the operation fails.

Parameters

chainId

The blockchain identifier.

limit

The number of transactions to fetch (optional).

offset

The offset for pagination (optional).

order

The sorting order of transactions (optional).