io.api.bloxy.core.ITransactionApi.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of bloxy-api Show documentation
Show all versions of bloxy-api Show documentation
Kotlin & Java Library for all available Bloxy API endpoints
package io.api.bloxy.core
import io.api.bloxy.model.dto.transaction.TxDetail
import io.api.bloxy.model.dto.transaction.TxTransfer
import org.jetbrains.annotations.NotNull
/**
* API for reading transaction information
* More information - https://bloxy.info/api_methods#tx
*
* @author GoodforGod
* @since 16.11.2018
*/
interface ITransactionApi {
/**
* List of all transfers in the given transaction
* @param txHashes to filter
* @param limit max result
* @param offset of the list from origin (0)
*/
@NotNull
fun transfers(
txHashes: List,
limit: Int = 1000,
offset: Int = 0
): List
/**
* Transaction information by hash
* @param txHashes to filter
*/
@NotNull
fun details(
txHashes: List
): List
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy