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

chainId

The chainId of the network

contractAddress

The address of the contract to be authorized

nonce

The nonce of the transaction