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, int invoice_expiry_delta_secs)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, int invoice_expiry_delta_secs)static longbindings. create_invoice_from_channelmanager_with_description_hash(long channelmanager, long keys_manager, Currency network, long amt_msat, long description_hash, int invoice_expiry_delta_secs)static longbindings. create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(long channelmanager, long keys_manager, Currency network, long amt_msat, long description_hash, long duration_since_epoch, int invoice_expiry_delta_secs)static longbindings. create_phantom_invoice(long amt_msat, byte[] payment_hash, String description, int invoice_expiry_delta_secs, long[] phantom_route_hints, long keys_manager, Currency network)static longbindings. create_phantom_invoice_with_description_hash(long amt_msat, byte[] payment_hash, int invoice_expiry_delta_secs, long description_hash, 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, int invoice_expiry_delta_secs)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, int invoice_expiry_delta_secs)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_invoice_from_channelmanager_with_description_hash(ChannelManager channelmanager, KeysInterface keys_manager, Currency network, Option_u64Z amt_msat, Sha256 description_hash, int invoice_expiry_delta_secs)Utility to construct an invoice.static Result_InvoiceSignOrCreationErrorZUtilMethods. create_invoice_from_channelmanager_with_description_hash_and_duration_since_epoch(ChannelManager channelmanager, KeysInterface keys_manager, Currency network, Option_u64Z amt_msat, Sha256 description_hash, long duration_since_epoch, int invoice_expiry_delta_secs)See [`create_invoice_from_channelmanager_with_description_hash`] 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, byte[] payment_hash, String description, int invoice_expiry_delta_secs, 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.static Result_InvoiceSignOrCreationErrorZUtilMethods. create_phantom_invoice_with_description_hash(Option_u64Z amt_msat, byte[] payment_hash, int invoice_expiry_delta_secs, Sha256 description_hash, 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.
-