@getalby/lightning-tools
Version:
Collection of helpful building blocks and tools to develop Bitcoin Lightning web apps
29 lines (28 loc) • 592 B
TypeScript
export type BoostOptions = {
webln?: unknown;
};
export type BoostArguments = {
destination: string;
customKey?: string;
customValue?: string;
amount?: number;
boost: Boost;
};
export type WeblnBoostParams = {
destination: string;
amount: number;
customRecords: Record<string, string>;
};
export type Boost = {
action: string;
value_msat: number;
value_msat_total: number;
app_name: string;
app_version: string;
feedId: string;
podcast: string;
episode: string;
ts: number;
name: string;
sender_name: string;
};