class Endpoints( algod_url: str, algod_token: str, indexer_url: str, indexer_token: str,)
Connection parameters for Algorand node services.
Constructor parameters
str
required
URL of the algod daemon endpoint.
str
required
Authentication token header value for algod.
str
required
URL of the Algorand indexer service endpoint.
str
required
Authentication token header value for indexer.
Examples
>>> from ai_economy_sdk.network import Endpoints>>> ep = Endpoints("http://localhost:4001", "a" * 64, "http://localhost:8980", "")>>> ep.algod_url'http://localhost:4001'