Experimental
Create Frame action typed data to be signed by user wallet
The request object
Typed data for Frame request This function might change in the future release
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',
});
Experimental
Sign Frame action with Lens Manager if enabled
⚠️ Requires authenticated LensClient.
The request object
Signature result This function might change in the future release
const result = await client.frames.signFrameAction({
actionResponse: '0x0000000000000000000000000000000000000000',
buttonIndex: 2,
inputText: 'Hello, World!',
profileId: '0x01',
pubId: '0x01-0x01',
specVersion: '1.0.0',
state: '{"counter":1,"idempotency_key":"431b8b38-eb4d-455b"}',
url: 'https://mylensframe.xyz',
});
Experimental
Verify Frame signature
The request object
Verification result This function might change in the future release
const result = await client.frames.verifyFrameSignature({
identityToken: identityToken,
signature: data.signature,
signedTypedData: data.signedTypedData,
});
Lens Frames