signAuthorization

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.org/EIPS/eip-7702)

Return

The signed authorization.

Parameters

chain_id

The chain ID of the user.

contract_address

The address of the smart contract wallet.

nonce

The nonce of the user.

private_key

The private key of the user.