pub fn get_metadata(
    db: &dyn MoveDbReader,
    ledger_version: u64,
    chain_id: ChainId,
    version: u64
) -> Result<MetadataView, JsonRpcError>
Expand description

Returns the blockchain metadata for a specified version. If no version is specified, default to returning the current blockchain metadata Can be used to verify that target Full Node is up-to-date