Skip to content

AlgoClientConfig

@algorandfoundation/algokit-utils / types/network-client / AlgoClientConfig

types/network-client.AlgoClientConfig

Config for an Algorand SDK client.

Optional port: string | number

The port to use e.g. 4001, 443, etc.

src/types/network-client.ts:8


server: string

Base URL of the server e.g. http://localhost, https://testnet-api.algonode.cloud/, etc.

src/types/network-client.ts:6


Optional token: string | TokenHeader

The token to use for API authentication (or undefined if none needed) - can be a string, or an object with the header key => value

src/types/network-client.ts:10