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

Method url

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

Source from the content-addressed store, hash-verified

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

Callers 2

get_rateMethod · 0.80
run_rest_serverFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected