MCPcopy Create free account
hub / github.com/bwt-dev/bwt / get_wallet

Method get_wallet

src/query.rs:482–489  ·  view source on GitHub ↗
(&self, checksum: &Checksum)

Source from the content-addressed store, hash-verified

480 }
481
482 pub fn get_wallet(&self, checksum: &Checksum) -> Option<Wallet> {
483 self.indexer
484 .read()
485 .unwrap()
486 .watcher()
487 .get(checksum)
488 .cloned()
489 }
490
491 // get the ScriptInfo entry of a child key, without it necessarily having indexed history
492 pub fn get_wallet_script_info(&self, checksum: &Checksum, index: u32) -> Option<ScriptInfo> {

Callers 1

setupFunction · 0.80

Calls 2

getMethod · 0.80
watcherMethod · 0.80

Tested by

no test coverage detected