Class GetPendingTransactions
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- com.algorand.algosdk.v2.client.algod.GetPendingTransactions
-
public class GetPendingTransactions extends Query
Get the list of pending transactions, sorted by priority, in decreasing order, truncated at the end at MAX. If MAX = 0, returns all pending transactions. /v2/transactions/pending
-
-
Constructor Summary
Constructors Constructor Description GetPendingTransactions(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<PendingTransactionsResponse>
execute()
Execute the query.Response<PendingTransactionsResponse>
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()
GetPendingTransactions
max(Long max)
Truncated number of transactions to display.-
Methods inherited from class com.algorand.algosdk.v2.client.common.Query
addPathSegment, addQuery, addToBody, addToBody, baseExecute, baseExecute, getRequestMethod, getRequestUrl, getRequestUrl, resetPathSegment
-
-
-
-
Constructor Detail
-
GetPendingTransactions
public GetPendingTransactions(Client client)
-
-
Method Detail
-
max
public GetPendingTransactions max(Long max)
Truncated number of transactions to display. If max=0, returns all pending txns.
-
execute
public Response<PendingTransactionsResponse> execute() throws Exception
Execute the query.
-
execute
public Response<PendingTransactionsResponse> 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
-
-