Documentation
¶
Index ¶
- func CalculateTransactionHashCommon(txHashPrefix *felt.Felt, version *felt.Felt, contractAddress *felt.Felt, ...) (*felt.Felt, error)
- func ClassHash(contract rpc.ContractClass) (*felt.Felt, error)
- func CompiledClassHash(casmClass contracts.CasmClass) *felt.Felt
- func ComputeHashOnElementsFelt(feltArr []*felt.Felt) (*felt.Felt, error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func CalculateTransactionHashCommon ¶
func CalculateTransactionHashCommon( txHashPrefix *felt.Felt, version *felt.Felt, contractAddress *felt.Felt, entryPointSelector *felt.Felt, calldata *felt.Felt, maxFee *felt.Felt, chainId *felt.Felt, additionalData []*felt.Felt) (*felt.Felt, error)
CalculateTransactionHashCommon [specification] calculates the transaction hash in the StarkNet network - a unique identifier of the transaction. [specification]: https://github.com/starkware-libs/cairo-lang/blob/master/src/starkware/starknet/core/os/transaction_hash/transaction_hash.py#L27C5-L27C38
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.