cn.hyperchain.sdk.response.tx.TxResponse Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of litesdk Show documentation
Show all versions of litesdk Show documentation
A Java client tool for Hyperchain
package cn.hyperchain.sdk.response.tx;
import cn.hyperchain.sdk.response.Response;
import com.google.gson.Gson;
import com.google.gson.GsonBuilder;
import com.google.gson.JsonArray;
import com.google.gson.JsonElement;
import com.google.gson.annotations.Expose;
import java.util.ArrayList;
import java.util.List;
public class TxResponse extends Response {
static Gson gson = new GsonBuilder().excludeFieldsWithoutExposeAnnotation().create();
public class Transaction {
@Expose
private String version;
@Expose
private String hash;
@Expose
private String blockNumber;
@Expose
private String blockHash;
@Expose
private String txIndex;
@Expose
private String from;
@Expose
private String to;
@Expose
private String amount;
@Expose
private String timestamp;
@Expose
private String nonce;
@Expose
private String extra;
@Expose
private String executeTime;
@Expose
private String payload;
@Expose
private String signature;
@Expose
private String blockTimestamp;
@Expose
private String blockWriteTime;
@Expose
private ArrayList
© 2015 - 2024 Weber Informatics LLC | Privacy Policy