Class GetLightBlockHeaderProof
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- com.algorand.algosdk.v2.client.algod.GetLightBlockHeaderProof
-
public class GetLightBlockHeaderProof extends Query
Gets a proof for a given light block header inside a state proof commitment /v2/blocks/{round}/lightheader/proof
-
-
Constructor Summary
Constructors Constructor Description GetLightBlockHeaderProof(Client client, Long round)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<LightBlockHeaderProof>
execute()
Execute the query.Response<LightBlockHeaderProof>
execute(String[] headers, String[] values)
Execute the query with custom headers, there must be an equal number of keys and values or else an error will be generated.protected QueryData
getRequestString()
-
Methods inherited from class com.algorand.algosdk.v2.client.common.Query
addPathSegment, addQuery, addToBody, addToBody, baseExecute, baseExecute, getRequestMethod, getRequestUrl, getRequestUrl, resetPathSegment
-
-
-
-
Method Detail
-
execute
public Response<LightBlockHeaderProof> execute() throws Exception
Execute the query.
-
execute
public Response<LightBlockHeaderProof> execute(String[] headers, String[] values) throws Exception
Execute the query with custom headers, there must be an equal number of keys and values or else an error will be generated.
-
getRequestString
protected QueryData getRequestString()
- Specified by:
getRequestString
in classQuery
-
-