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

com.casper.sdk.model.block.BlockHeaderV2 Maven / Gradle / Ivy

Go to download

SDK to streamline the 3rd party Java client integration processes. Such 3rd parties include exchanges & app developers.

The newest version!
package com.casper.sdk.model.block;

import com.casper.sdk.model.common.Digest;
import com.casper.sdk.model.era.EraEndV2;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.*;

/**
 * V2 Block header.
 *
 * @author [email protected]
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class BlockHeaderV2 extends BlockHeader {

    @JsonProperty("era_end")
    private EraEndV2 eraEnd;

    @JsonProperty("proposer")
    private Digest proposer;

    @JsonProperty("current_gas_price")
    private long currentGasPrice;

    @JsonProperty("last_switch_block_hash")
    private Digest lastSwitchBlockHash;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy