All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.api.bloxy.core.ITransactionApi.kt Maven / Gradle / Ivy

There is a newer version: 1.2.1
Show newest version
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