Skip to main content
Version: Next

Function: calculateDeclareTransactionHash()

calculateDeclareTransactionHash(classHash, compiledClassHash, senderAddress, version, chainId, nonce, accountDeploymentData, nonceDataAvailabilityMode, feeDataAvailabilityMode, resourceBounds, tip, paymasterData): string

Defined in: src/utils/hash/transactionHash/v3.ts:141

Calculate v3 declare transaction hash

Parameters

classHash

string

compiledClassHash

string

senderAddress

BigNumberish

version

BigNumberish

chainId

"0x534e5f4d41494e" | "0x534e5f5345504f4c4941"

nonce

BigNumberish

accountDeploymentData

BigNumberish[]

nonceDataAvailabilityMode

EDAMode

feeDataAvailabilityMode

EDAMode

resourceBounds

ResourceBoundsBN

tip

BigNumberish

paymasterData

BigNumberish[]

Returns

string

format: hex-string