Skip to main content

load_node

Function load_node 

Source
pub async fn load_node(
    api: Arc<ApiClient>,
    reference: Reference,
) -> Result<MantarayNode, String>
Expand description

Fetch a Mantaray chunk by reference and parse it. Returns the parsed node on success; on parse-failure surfaces the underlying error string (“mantaray: invalid version hash” etc).