getInitCode

open fun getInitCode(factory: String, publicKey: PublicKey, verificationFacet: String, salt: Int): Array<Byte>

Returns the init code parameter of ERC-4337 User Operation

Return

The init code.

Parameters

factory

The address of the factory contract.

public_key

Public key for the verification facet

verification_facet

The address of the verification facet.

salt

The salt of the init code.