Hello. I’m building a canister that can receive btc and also send btc. The first thing I’ve done is create a p2pkh address for the canister and that’s working. Now I have this method called get_utxos
pub async fn get_utxos(network: BitcoinNetwork, address: String) -> GetUtxosResponse {
let filter = None;
let utxos_res = bitcoin_get_utxos(GetUtxosRequest {
address,
network,
filter,
})
.await;
utxos_res.unwrap().0
}
I’m using bitcoin api from ic-cdk crate.
When I call this method , I get , CanisterError:IC0539: Error from canister g4xu7-ji… Canister exceeded it’s current Wasm memory limit if 4026531840 bytes… I believe this canister is the bitcoin integration canister… How do I solve this?