usePostToLens

import { usePostToLens } from 'zk3-sdk'

const { mutateAsync: postToLens } = usePostToLens()

const handlePostToLens = () => {
    const args = {
        content: 'postContent', // as string
        selectedProof: circle // as circle type
    }
    // if you pass in a circle that the Identity from useIdentity 
    // is not a part of the function WILL revert
    await postToLens(args)
}

Last updated