Eip7702

class Eip7702

Functions

Link copied to clipboard
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]))`.
Link copied to clipboard
open fun signAuthorization(chainId: Array<Byte>, contractAddress: String, nonce: Array<Byte>, privateKey: String): String
Signs an Authorization hash in [EIP-7702 format](https://eips.ethereum.