Lens Frames

Methods

  • Experimental

    Create Frame action typed data to be signed by user wallet

    Parameters

    Returns Promise<CreateFrameEip712TypedDataFragment>

    Typed data for Frame request This function might change in the future release

    Example

    const result = await client.frames.createFrameTypedData({
    actionResponse: '0x0000000000000000000000000000000000000000',
    buttonIndex: 2,
    deadline: 1711038973,
    inputText: 'Hello, World!',
    profileId: '0x01',
    pubId: '0x01-0x01',
    specVersion: '1.0.0',
    state: '{"counter":1,"idempotency_key":"431b8b38-eb4d-455b"}',
    url: 'https://mylensframe.xyz',
    });