Class DeclareTransactionV1
-
- All Implemented Interfaces:
-
com.swmansion.starknet.data.types.DeprecatedTransaction
,com.swmansion.starknet.data.types.ExecutableTransaction
,com.swmansion.starknet.data.types.StarknetResponse
@Serializable() public final class DeclareTransactionV1 extends DeclareTransaction implements DeprecatedTransaction, ExecutableTransaction
-
-
Field Summary
Fields Modifier and Type Field Description private final Felt
classHash
private final Felt
senderAddress
private final Felt
hash
private final Felt
maxFee
private final TransactionVersion
version
private final List<Felt>
signature
private final Felt
nonce
private final Cairo0ContractDefinition
contractDefinition
private final TransactionType
type
-
Constructor Summary
Constructors Constructor Description DeclareTransactionV1(Felt classHash, Felt senderAddress, Felt hash, Felt maxFee, List<Felt> signature, Felt nonce, Cairo0ContractDefinition contractDefinition)
DeclareTransactionV1(Felt classHash, Felt senderAddress, Felt hash, Felt maxFee, List<Felt> signature, Felt nonce)
DeclareTransactionV1(Felt classHash, Felt senderAddress, Felt maxFee, List<Felt> signature, Felt nonce)
-
Method Summary
Modifier and Type Method Description Felt
getClassHash()
Felt
getSenderAddress()
Felt
getHash()
Felt
getMaxFee()
TransactionVersion
getVersion()
List<Felt>
getSignature()
Felt
getNonce()
final Cairo0ContractDefinition
getContractDefinition()
-
-
Constructor Detail
-
DeclareTransactionV1
DeclareTransactionV1(Felt classHash, Felt senderAddress, Felt hash, Felt maxFee, List<Felt> signature, Felt nonce, Cairo0ContractDefinition contractDefinition)
-
DeclareTransactionV1
DeclareTransactionV1(Felt classHash, Felt senderAddress, Felt hash, Felt maxFee, List<Felt> signature, Felt nonce)
-
-
Method Detail
-
getClassHash
Felt getClassHash()
-
getSenderAddress
Felt getSenderAddress()
-
getVersion
TransactionVersion getVersion()
-
getSignature
List<Felt> getSignature()
-
getContractDefinition
final Cairo0ContractDefinition getContractDefinition()
-
-
-
-