ic_cdk::api::management_canister::bitcoin

Function bitcoin_get_block_headers

source
pub async fn bitcoin_get_block_headers(
    arg: GetBlockHeadersRequest,
) -> CallResult<(GetBlockHeadersResponse,)>
Expand description

See IC method bitcoin_get_block_headers.

This call requires cycles payment. This method handles the cycles cost under the hood. Check API fees & Pricing for more details.