Function getK1FactoryData

  • Generates encoded factory data for K1 account creation

    Parameters

    Returns Promise<`0x${string}`>

    Promise resolving to Hex encoded function data for account creation

    Example

    const factoryData = await getK1FactoryData({
    signerAddress: "0x123...",
    index: BigInt(0),
    attesters: ["0xabc...", "0xdef..."],
    attesterThreshold: 2
    });