Class DeclareTransactionV2
-
- 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 DeclareTransactionV2 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 Felt
compiledClassHash
private final Cairo1ContractDefinition
contractDefinition
private final TransactionType
type
-
Constructor Summary
Constructors Constructor Description DeclareTransactionV2(Felt senderAddress, Cairo1ContractDefinition contractDefinition, StarknetChainId chainId, Felt maxFee, Felt nonce, CasmContractDefinition casmContractDefinition, List<Felt> signature, Boolean forFeeEstimate)
DeclareTransactionV2(Felt senderAddress, Cairo1ContractDefinition contractDefinition, StarknetChainId chainId, Felt maxFee, Felt nonce, CasmContractDefinition casmContractDefinition, List<Felt> signature)
DeclareTransactionV2(Felt senderAddress, Cairo1ContractDefinition contractDefinition, StarknetChainId chainId, Felt maxFee, Felt nonce, CasmContractDefinition casmContractDefinition)
-
Method Summary
Modifier and Type Method Description Felt
getClassHash()
Felt
getSenderAddress()
Felt
getHash()
Felt
getMaxFee()
TransactionVersion
getVersion()
List<Felt>
getSignature()
Felt
getNonce()
final Felt
getCompiledClassHash()
final Cairo1ContractDefinition
getContractDefinition()
-
-
Constructor Detail
-
DeclareTransactionV2
DeclareTransactionV2(Felt senderAddress, Cairo1ContractDefinition contractDefinition, StarknetChainId chainId, Felt maxFee, Felt nonce, CasmContractDefinition casmContractDefinition, List<Felt> signature, Boolean forFeeEstimate)
-
DeclareTransactionV2
DeclareTransactionV2(Felt senderAddress, Cairo1ContractDefinition contractDefinition, StarknetChainId chainId, Felt maxFee, Felt nonce, CasmContractDefinition casmContractDefinition, List<Felt> signature)
-
DeclareTransactionV2
DeclareTransactionV2(Felt senderAddress, Cairo1ContractDefinition contractDefinition, StarknetChainId chainId, Felt maxFee, Felt nonce, CasmContractDefinition casmContractDefinition)
-
-
Method Detail
-
getClassHash
Felt getClassHash()
-
getSenderAddress
Felt getSenderAddress()
-
getVersion
TransactionVersion getVersion()
-
getSignature
List<Felt> getSignature()
-
getCompiledClassHash
final Felt getCompiledClassHash()
-
getContractDefinition
final Cairo1ContractDefinition getContractDefinition()
-
-
-
-