Class DeclareTransactionV3
-
- All Implemented Interfaces:
-
com.swmansion.starknet.data.types.ExecutableTransaction
,com.swmansion.starknet.data.types.StarknetResponse
,com.swmansion.starknet.data.types.TransactionV3
@Serializable() public final class DeclareTransactionV3 extends DeclareTransaction implements TransactionV3, ExecutableTransaction
-
-
Field Summary
Fields Modifier and Type Field Description private final Felt
classHash
private final Felt
senderAddress
private final Felt
hash
private final TransactionVersion
version
private final List<Felt>
signature
private final Felt
nonce
private final ResourceBoundsMapping
resourceBounds
private final Uint64
tip
private final List<Felt>
paymasterData
private final List<Felt>
accountDeploymentData
private final DAMode
nonceDataAvailabilityMode
private final DAMode
feeDataAvailabilityMode
private final Felt
compiledClassHash
private final Cairo1ContractDefinition
contractDefinition
private final TransactionType
type
-
Constructor Summary
Constructors Constructor Description DeclareTransactionV3(Felt senderAddress, Cairo1ContractDefinition contractDefinition, StarknetChainId chainId, Boolean forFeeEstimate, Felt nonce, CasmContractDefinition casmContractDefinition, List<Felt> signature, ResourceBoundsMapping resourceBounds)
DeclareTransactionV3(Felt senderAddress, Cairo1ContractDefinition contractDefinition, StarknetChainId chainId, Boolean forFeeEstimate, Felt nonce, CasmContractDefinition casmContractDefinition, ResourceBoundsMapping resourceBounds)
DeclareTransactionV3(Felt senderAddress, Cairo1ContractDefinition contractDefinition, StarknetChainId chainId, Felt nonce, CasmContractDefinition casmContractDefinition, ResourceBoundsMapping resourceBounds)
DeclareTransactionV3(Felt classHash, Felt senderAddress, Felt hash, TransactionVersion version, List<Felt> signature, Felt nonce, ResourceBoundsMapping resourceBounds, Uint64 tip, List<Felt> paymasterData, List<Felt> accountDeploymentData, DAMode nonceDataAvailabilityMode, DAMode feeDataAvailabilityMode, Felt compiledClassHash, Cairo1ContractDefinition contractDefinition)
DeclareTransactionV3(Felt classHash, Felt senderAddress, Felt hash, TransactionVersion version, List<Felt> signature, Felt nonce, ResourceBoundsMapping resourceBounds, Uint64 tip, List<Felt> paymasterData, List<Felt> accountDeploymentData, DAMode nonceDataAvailabilityMode, DAMode feeDataAvailabilityMode, Felt compiledClassHash)
DeclareTransactionV3(Felt classHash, Felt senderAddress, TransactionVersion version, List<Felt> signature, Felt nonce, ResourceBoundsMapping resourceBounds, Uint64 tip, List<Felt> paymasterData, List<Felt> accountDeploymentData, DAMode nonceDataAvailabilityMode, DAMode feeDataAvailabilityMode, Felt compiledClassHash)
-
Method Summary
Modifier and Type Method Description Felt
getClassHash()
Felt
getSenderAddress()
Felt
getHash()
TransactionVersion
getVersion()
List<Felt>
getSignature()
Felt
getNonce()
ResourceBoundsMapping
getResourceBounds()
Uint64
getTip()
List<Felt>
getPaymasterData()
final List<Felt>
getAccountDeploymentData()
DAMode
getNonceDataAvailabilityMode()
DAMode
getFeeDataAvailabilityMode()
final Felt
getCompiledClassHash()
final Cairo1ContractDefinition
getContractDefinition()
-
-
Constructor Detail
-
DeclareTransactionV3
DeclareTransactionV3(Felt senderAddress, Cairo1ContractDefinition contractDefinition, StarknetChainId chainId, Boolean forFeeEstimate, Felt nonce, CasmContractDefinition casmContractDefinition, List<Felt> signature, ResourceBoundsMapping resourceBounds)
-
DeclareTransactionV3
DeclareTransactionV3(Felt senderAddress, Cairo1ContractDefinition contractDefinition, StarknetChainId chainId, Boolean forFeeEstimate, Felt nonce, CasmContractDefinition casmContractDefinition, ResourceBoundsMapping resourceBounds)
-
DeclareTransactionV3
DeclareTransactionV3(Felt senderAddress, Cairo1ContractDefinition contractDefinition, StarknetChainId chainId, Felt nonce, CasmContractDefinition casmContractDefinition, ResourceBoundsMapping resourceBounds)
-
DeclareTransactionV3
DeclareTransactionV3(Felt classHash, Felt senderAddress, Felt hash, TransactionVersion version, List<Felt> signature, Felt nonce, ResourceBoundsMapping resourceBounds, Uint64 tip, List<Felt> paymasterData, List<Felt> accountDeploymentData, DAMode nonceDataAvailabilityMode, DAMode feeDataAvailabilityMode, Felt compiledClassHash, Cairo1ContractDefinition contractDefinition)
-
DeclareTransactionV3
DeclareTransactionV3(Felt classHash, Felt senderAddress, Felt hash, TransactionVersion version, List<Felt> signature, Felt nonce, ResourceBoundsMapping resourceBounds, Uint64 tip, List<Felt> paymasterData, List<Felt> accountDeploymentData, DAMode nonceDataAvailabilityMode, DAMode feeDataAvailabilityMode, Felt compiledClassHash)
-
DeclareTransactionV3
DeclareTransactionV3(Felt classHash, Felt senderAddress, TransactionVersion version, List<Felt> signature, Felt nonce, ResourceBoundsMapping resourceBounds, Uint64 tip, List<Felt> paymasterData, List<Felt> accountDeploymentData, DAMode nonceDataAvailabilityMode, DAMode feeDataAvailabilityMode, Felt compiledClassHash)
-
-
Method Detail
-
getClassHash
Felt getClassHash()
-
getSenderAddress
Felt getSenderAddress()
-
getVersion
TransactionVersion getVersion()
-
getSignature
List<Felt> getSignature()
-
getResourceBounds
ResourceBoundsMapping getResourceBounds()
-
getPaymasterData
List<Felt> getPaymasterData()
-
getAccountDeploymentData
final List<Felt> getAccountDeploymentData()
-
getNonceDataAvailabilityMode
DAMode getNonceDataAvailabilityMode()
-
getFeeDataAvailabilityMode
DAMode getFeeDataAvailabilityMode()
-
getCompiledClassHash
final Felt getCompiledClassHash()
-
getContractDefinition
final Cairo1ContractDefinition getContractDefinition()
-
-
-
-