Package foundation.icon.icx
Class SignedTransaction
- java.lang.Object
-
- foundation.icon.icx.SignedTransaction
-
public class SignedTransaction extends java.lang.Object
SignedTransaction serializes transaction messages and makes parameters to send
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
SignedTransaction.TransactionSerializer
Transaction Serializer for generating a signature with transaction properties.
-
Constructor Summary
Constructors Constructor Description SignedTransaction(Transaction transaction, Wallet wallet)
Creates a signed transactionSignedTransaction(Transaction transaction, Wallet wallet, java.math.BigInteger stepLimit)
Creates a signed transaction with the given stepLimit
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description RpcObject
getProperties()
Gets the parameters including signature
-
-
-
Constructor Detail
-
SignedTransaction
public SignedTransaction(Transaction transaction, Wallet wallet)
Creates a signed transaction- Parameters:
transaction
- a raw transaction to be signedwallet
- a wallet for signing the transaction
-
SignedTransaction
public SignedTransaction(Transaction transaction, Wallet wallet, java.math.BigInteger stepLimit)
Creates a signed transaction with the given stepLimit- Parameters:
transaction
- a raw transaction to be signedwallet
- a wallet for signing the transactionstepLimit
- A maximum step allowance that can be used by the transaction. The stepLimit value of the transaction will be overridden by this value.- Since:
- 0.9.12
-
-
Method Detail
-
getProperties
public RpcObject getProperties()
Gets the parameters including signature- Returns:
- parameters
-
-