Class RawTransaction
- java.lang.Object
-
- com.algorand.algosdk.v2.client.common.Query
-
- com.algorand.algosdk.v2.client.algod.RawTransaction
-
public class RawTransaction extends Query
Broadcasts a raw transaction or transaction group to the network. /v2/transactions
-
-
Constructor Summary
Constructors Constructor Description RawTransaction(Client client)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description Response<PostTransactionsResponse>execute()Execute the query.Response<PostTransactionsResponse>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 QueryDatagetRequestString()RawTransactionrawtxn(byte[] rawtxn)The byte encoded signed transaction to broadcast to networkRawTransactionskipPqAddressCheck(Boolean skipPqAddressCheck)Skip post-quantum address checks, including the check that rejects PQ authorizer and LogicSig escrow (TEAL v13 or later) whose address is an Edwards25519 curve point.-
Methods inherited from class com.algorand.algosdk.v2.client.common.Query
addPathSegment, addQuery, addToBody, addToBody, baseExecute, baseExecute, getRequestMethod, getRequestUrl, getRequestUrl, resetPathSegment
-
-
-
-
Constructor Detail
-
RawTransaction
public RawTransaction(Client client)
-
-
Method Detail
-
rawtxn
public RawTransaction rawtxn(byte[] rawtxn)
The byte encoded signed transaction to broadcast to network
-
skipPqAddressCheck
public RawTransaction skipPqAddressCheck(Boolean skipPqAddressCheck)
Skip post-quantum address checks, including the check that rejects PQ authorizer and LogicSig escrow (TEAL v13 or later) whose address is an Edwards25519 curve point. This should only be used if you understand the risks and know what you are doing.
-
execute
public Response<PostTransactionsResponse> execute() throws Exception
Execute the query.
-
execute
public Response<PostTransactionsResponse> 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:
getRequestStringin classQuery
-
-