com.binance4j.mining.dto.Profit Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of binance4j-mining Show documentation
Show all versions of binance4j-mining Show documentation
Connector for the mining endpoints of the Binance API
package com.binance4j.mining.dto;
/**
* Account profit.
*
* @param time Mining date in ms.
* @param hashTransfer Transferred Hashrate.
* @param transferAmount Transferred Income.
* @param dayHashRate Daily Hashrate.
* @param profitAmount Earnings Amount.
* @param coinName Coin type.
* @param type Type.
*
* - 0: Mining Wallet
* - 5: Mining Address
* - 7: Pool Savings
* - 8: Transferred
* - 31: Income Transfer
* - 32: Hashrate Resale-Mining Wallet
* - 33: Hashrate Resale-Pool Savings
*
* @param status Status.
*
* - 0: Unpaid
* - 1: Paying
* - 2: Paid
*
*/
public record Profit(long time, int type, long hashTransfer, String transferAmount, long dayHashRate, String profitAmount, String coinName, int status) {
}