public class GetBestBlockResponse extends Message<Chainkit.GetBestBlockResponse>
Message
,
Chainkit.GetBestBlockResponse
builder, wrapperFactory
Constructor and Description |
---|
GetBestBlockResponse()
Empty Constructor
|
GetBestBlockResponse(Chainkit.GetBestBlockResponse apiObject)
Constructor using underlying Lightning API Object
|
GetBestBlockResponse(javax.json.JsonReader jsonReader)
Json Parsing Constructor
|
Modifier and Type | Method and Description |
---|---|
byte[] |
getBlockHash()
Getter for blockHash.
|
int |
getBlockHeight()
Getter for blockHeight.
|
void |
setBlockHash(byte[] value)
Setter for blockHash.
|
void |
setBlockHeight(int value)
Setter for blockHeight.
|
equals, getApiObject, getMessageName, hashCode, populateRepeatedFields, toJson, toJsonAsString, toString, validate
public GetBestBlockResponse()
public GetBestBlockResponse(javax.json.JsonReader jsonReader) throws javax.json.JsonException
javax.json.JsonException
- if problems was found with the supplied JSON data.public GetBestBlockResponse(Chainkit.GetBestBlockResponse apiObject)