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.

Parameters

chain_id

The chain ID of the user.

code_address

The address of the smart contract wallet.

code_name

The name of the smart contract wallet.

code_version

The version of the smart contract wallet.

type_hash

The type hash of the smart contract wallet.

domain_separator_hash

The domain separator hash of the smart contract wallet.

sender

The sender of the smart contract wallet.

user_op_hash

The user operation hash of the smart contract wallet.