MCPcopy Create free account
hub / github.com/ElementsProject/lightning / url

Method url

plugins/currencyrate-plugin/src/oracle.rs:43–47  ·  view source on GitHub ↗
(&self, currency_lc: &str, currency: &str)

Source from the content-addressed store, hash-verified

41 }
42 }
43 pub fn url(&self, currency_lc: &str, currency: &str) -> String {
44 self.url_template
45 .replace("{currency_lc}", currency_lc)
46 .replace("{currency}", currency)
47 }
48
49 pub fn reply_members(&self, currency_lc: &str, currency: &str) -> Vec<String> {
50 self.reply_members

Callers 2

get_rateMethod · 0.80
run_rest_serverFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected