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

io.blockfrost.sdk.api.model.Account Maven / Gradle / Ivy

There is a newer version: 0.1.3
Show newest version
package io.blockfrost.sdk.api.model;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.databind.PropertyNamingStrategies;
import com.fasterxml.jackson.databind.annotation.JsonNaming;
import lombok.*;

/**
 * Account
 */
@Data
@Builder
@NoArgsConstructor
@AllArgsConstructor
@ToString
@JsonIgnoreProperties(ignoreUnknown = true)
@JsonNaming(PropertyNamingStrategies.SnakeCaseStrategy.class)
public class Account {
    /**
     * Bech32 stake address
     */
    private String stakeAddress;
    /**
     * Registration state of an account
     */
    private Boolean active;
    /**
     * Epoch of the most recent action - registration or deregistration
     */
    private Integer activeEpoch;
    /**
     * Balance of the account in Lovelaces
     */
    private String controlledAmount;
    /**
     * Sum of all rewards for the account in the Lovelaces
     */
    private String rewardsSum;
    /**
     * Sum of all the withdrawals for the account in Lovelaces
     */
    private String withdrawalsSum;
    /**
     * Sum of all funds from reserves for the account in the Lovelaces
     */
    private String reservesSum;
    /**
     * Sum of all funds from treasury for the account in the Lovelaces
     */
    private String treasurySum;
    /**
     * Sum of available rewards that haven't been withdrawn yet for the account in the Lovelaces
     */
    private String withdrawableAmount;
    /**
     * Bech32 pool ID that owns the account
     */
    private String poolId;
}




© 2015 - 2025 Weber Informatics LLC | Privacy Policy