Skip to main content

fetch_ledger

Function fetch_ledger 

Source
fn fetch_ledger(
    rpc: &str,
    ledger: u32,
) -> Result<(Vec<u8>, Vec<(Vec<u8>, Vec<u8>)>), Box<dyn Error>>
Expand description

Fetches the ledger header and all transactions with metadata from the node.