getAuthorizationHash

open fun getAuthorizationHash(chainId: Array<Byte>, contractAddress: String, nonce: Array<Byte>): Array<Byte>

Computes an Authorization hash in [EIP-7702 format](https://eips.ethereum.org/EIPS/eip-7702) `keccak256('0x05' || rlp([chain_id, address, nonce]))`.

Return

The authorization hash.

Parameters

chain_id

The chain ID of the user.

contract_address

The address of the smart contract wallet.

nonce

The nonce of the user.