Function casper_client::get_block

source ·
pub async fn get_block(
    rpc_id: JsonRpcId,
    node_address: &str,
    verbosity: Verbosity,
    maybe_block_identifier: Option<BlockIdentifier>
) -> Result<SuccessResponse<GetBlockResult>, Error>
Expand description

Retrieves a Block from the network.

Sends a JSON-RPC chain_get_block request to the specified node.

For details of the parameters, see the module docs.