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

Method call

cln-rpc/src/lib.rs:274–276  ·  view source on GitHub ↗
(&mut self, req: Request)

Source from the content-addressed store, hash-verified

272 }
273
274 pub async fn call(&mut self, req: Request) -> Result<Response, RpcError> {
275 self.call_enum(req).await
276 }
277
278 /// Performs an rpc-call
279 pub async fn call_enum(&mut self, req: Request) -> Result<Response, RpcError> {

Callers 15

getinfoMethod · 0.45
list_peersMethod · 0.45
list_fundsMethod · 0.45
send_payMethod · 0.45
list_channelsMethod · 0.45
add_gossipMethod · 0.45
add_psbt_outputMethod · 0.45
auto_clean_onceMethod · 0.45
auto_clean_statusMethod · 0.45
check_messageMethod · 0.45
closeMethod · 0.45
connect_peerMethod · 0.45

Calls 1

call_enumMethod · 0.80

Tested by 15

test_call_enumFunction · 0.36
test_feerate_stressFunction · 0.36
test_quiescenceFunction · 0.36
test_apis_batch1Function · 0.36
test_apis_batch2Function · 0.36
test_custom_sourceFunction · 0.36
test_no_sourcesFunction · 0.36
test_invalid_currencyFunction · 0.36
test_cached_medianFunction · 0.36
test_currencyrate_sourceFunction · 0.36