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

io.api.bloxy.core.IAddressApi.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.address.AddrCorrelation
import io.api.bloxy.model.dto.address.AddrDetails
import io.api.bloxy.model.dto.address.AddrStatistic
import io.api.bloxy.model.dto.address.Balance
import org.jetbrains.annotations.NotNull


/**
 * API for Analysis of addresses, their activities and statistics
 * More information - https://bloxy.info/api_methods#address
 *
 * @author GoodforGod
 * @since 16.11.2018
 */
interface IAddressApi {

    /**
     * Basic check that address is suitable for token transfer distribution.
     * @param addresses to check
     */
    @NotNull
    fun details(
        addresses: List
    ): List

    /**
     * Counts and aggregates basic statistic on addresses
     * @param addresses to check
     */
    @NotNull
    fun statistics(
        addresses: List
    ): List

    /**
     * Lists the tokens that owns holders, that also owns the same set of tokens
     * @param address to check
     */
    @NotNull
    fun correlated(
        address: String
    ): List

    /**
     * Lists the balance of all currency/tokens for this address
     * @param address to check
     */
    @NotNull
    fun balance(
        address: String
    ): Balance
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy