Documentation IndexFetch the complete documentation index at: /llms.txtUse this file to discover all available pages before exploring further.
Fetch the complete documentation index at: /llms.txt
Use this file to discover all available pages before exploring further.
Derive the CAIP-2 network id from an algod client and register it.
from ai_economy_sdk import network_from_algod
def network_from_algod(algod_client: Any) -> str
algosdk.v2client.algod.AlgodClient
# Requires running Algod node: from algosdk.v2client import algod from ai_economy_sdk.network import network_from_algod client = algod.AlgodClient("a" * 64, "http://localhost:4001") caip = network_from_algod(client) print(caip)
register_network