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

com.casper.sdk.identifier.global.StateRootHashIdentifier 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.identifier.global;

import com.casper.sdk.service.CasperService;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Getter;
import lombok.Setter;

/**
 * Identifier class passed to service
 * {@link CasperService#queryGlobalState(GlobalStateIdentifier, String, String[])} to identify and
 * retrieve the global state given the state root hash
 *
 * @author Alexandre Carvalho
 * @author Andre Bertolace
 * @since 0.2.0
 */
@Getter
@Setter
@Builder
@AllArgsConstructor
public class StateRootHashIdentifier implements GlobalStateIdentifier {

    /**
     * State root hash
     */
    @JsonProperty("StateRootHash")
    private String hash;
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy