• Creates a valid GraphRuleMetadata.

    Parameters

    • input: GraphRuleOptions

      Use your IDE suggestions for an enhanced development experience

    Returns GraphRuleMetadata

    Example

    const metadata = graphRule({
    name: 'MyGraphRule',
    title: 'This is my Graph Rule',
    description: 'Get ready for the future of social interaction!',
    authors: ['awesome-dev@lens.xyz'],
    source: 'https://github.com/foobarbaz/my-open-action',
    configureParams: [],
    processFollowParams: [
    {
    key: '83b03721c31435de384ca9cc3799cdfa10e19123e6a48dbf11589e36a0ef0b95',
    name: 'recipient',
    type: 'address',
    },
    {
    key: 'e4ddce99520beb836fc879fc2a7d0743f784ffb925f96544bb5ff27c441c8c99',
    name: 'fee',
    type: 'address token, uint256 value',
    }
    ],
    processUnfollowParams: [],
    processFollowRuleChangesParams: [],
    });