getEncodedHash

open fun getEncodedHash(chainId: Array<Byte>, codeAddress: String, codeName: String, codeVersion: String, typeHash: String, domainSeparatorHash: String, sender: String, userOpHash: String): Array<Byte>

Returns the encoded hash of the user operation

Return

The encoded hash of the user operation

Parameters

chainId

The chainId of the network.

codeAddress

The address of the Biz Smart Contract.

codeName

The name of the Biz Smart Contract.

codeVersion

The version of the Biz Smart Contract.

typeHash

The type hash of the transaction.

domainSeparatorHash

The domain separator hash of the wallet.

sender

The address of the UserOperation sender.

userOpHash

The hash of the user operation.