cln/plugins/offers_proof.h
Rusty Russell 9dda3eecb8 offers: add createproof API.
Changelog-EXPERIMENTAL: JSON-RPC: `createproof` to create a payment proof for a (successful) BOLT12 payment.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
Signed-off-by: Rusty Russell <rusty@rustcorp.com.au>
2026-05-11 11:13:55 +09:30

12 lines
307 B
C

#ifndef LIGHTNING_PLUGINS_OFFERS_PROOF_H
#define LIGHTNING_PLUGINS_OFFERS_PROOF_H
#include "config.h"
struct command_result;
struct command;
struct command_result *json_createproof(struct command *cmd,
const char *buffer,
const jsmntok_t *params);
#endif /* LIGHTNING_PLUGINS_OFFERS_PROOF_H */