Hi everyone,
I read from the documentation this is the way to instantiate the algod_client:
from algosdk.v2client import algod
algod_token = "authentication token"
algod_address = "https://algod_address"
algod_client = algod.AlgodClient(algod_token, algod_address)
should this be instantiated only once?
or shall I instantiate it every time I have to interact with the algod chain/network?
are these connections automatically closed? if so what are the details?
are there any performance downsides of instantiating every time an interaction is made?
Thank you