Uses of Class
org.ldk.enums.Currency
-
Packages that use Currency Package Description org.ldk.enums org.ldk.impl org.ldk.structs -
-
Uses of Currency in org.ldk.enums
Methods in org.ldk.enums that return Currency Modifier and Type Method Description static CurrencyCurrency. valueOf(String name)Returns the enum constant of this type with the specified name.static Currency[]Currency. values()Returns an array containing the constants of this enum type, in the order they are declared. -
Uses of Currency in org.ldk.impl
Methods in org.ldk.impl that return Currency Modifier and Type Method Description static Currencybindings. Currency_bitcoin()static Currencybindings. Currency_bitcoin_testnet()static Currencybindings. Currency_clone(long orig)static Currencybindings. Currency_regtest()static Currencybindings. Currency_signet()static Currencybindings. Currency_simnet()static Currencybindings. Invoice_currency(long this_arg)static Currencybindings. RawInvoice_currency(long this_arg)Methods in org.ldk.impl with parameters of type Currency Modifier and Type Method Description static longbindings. create_invoice_from_channelmanager(long channelmanager, long keys_manager, Currency network, long amt_msat, String description)static longbindings. create_invoice_from_channelmanager_and_duration_since_epoch(long channelmanager, long keys_manager, Currency network, long amt_msat, String description, long duration_since_epoch)static longbindings. create_phantom_invoice(long amt_msat, String description, byte[] payment_hash, byte[] payment_secret, long[] phantom_route_hints, long keys_manager, Currency network) -
Uses of Currency in org.ldk.structs
Methods in org.ldk.structs that return Currency Modifier and Type Method Description CurrencyInvoice. currency()Returns the currency for which the invoice was issuedCurrencyRawInvoice. currency()Methods in org.ldk.structs with parameters of type Currency Modifier and Type Method Description static Result_InvoiceSignOrCreationErrorZUtilMethods. create_invoice_from_channelmanager(ChannelManager channelmanager, KeysInterface keys_manager, Currency network, Option_u64Z amt_msat, String description)Utility to construct an invoice.static Result_InvoiceSignOrCreationErrorZUtilMethods. create_invoice_from_channelmanager_and_duration_since_epoch(ChannelManager channelmanager, KeysInterface keys_manager, Currency network, Option_u64Z amt_msat, String description, long duration_since_epoch)See [`create_invoice_from_channelmanager`] This version can be used in a `no_std` environment, where [`std::time::SystemTime`] is not available and the current time is supplied by the caller.static Result_InvoiceSignOrCreationErrorZUtilMethods. create_phantom_invoice(Option_u64Z amt_msat, String description, byte[] payment_hash, byte[] payment_secret, PhantomRouteHints[] phantom_route_hints, KeysInterface keys_manager, Currency network)Utility to create an invoice that can be paid to one of multiple nodes, or a \"phantom invoice.\" See [`PhantomKeysManager`] for more information on phantom node payments.
-