com.casper.sdk.model.block.BlockHeaderV2 Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of casper-java-sdk Show documentation
Show all versions of casper-java-sdk Show documentation
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;
}