UNPKG

lnurl-pay

Version:

Client library for lnurl-pay and lightning address

4 lines (3 loc) 519 B
import type { LnUrlRequestInvoiceArgs, LnUrlRequestInvoiceResponse, LnUrlrequestInvoiceWithServiceParamsArgs } from './types'; export declare const requestInvoiceWithServiceParams: ({ params, tokens, comment, onionAllowed, validateInvoice, fetchGet, }: LnUrlrequestInvoiceWithServiceParamsArgs) => Promise<LnUrlRequestInvoiceResponse>; export declare const requestInvoice: ({ lnUrlOrAddress, tokens, comment, onionAllowed, validateInvoice, fetchGet, }: LnUrlRequestInvoiceArgs) => Promise<LnUrlRequestInvoiceResponse>;