Examples for python in algov2

PureStake does not support v1 anymore.

Use algoexplorer api:

from algosdk import algod

algod_token = ""
algod_address = "https://testnet.algoexplorerapi.io"
headers = {"User-Agent": "DoYouLoveMe?"}

client = algod.AlgodClient(algod_token, algod_address, headers)

print(client.suggested_params())

PS: You can write code and output between triple backquotes ``` instead of snapshots. This makes search easier.