Skip to content

AlgoClientConfig

Defined in: src/network-client.ts:2

Config for an Algorand SDK client.

optional port: string | number

Defined in: src/network-client.ts:6

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


server: string

Defined in: src/network-client.ts:4

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


optional token: string | {[name: string]: string; }

Defined in: src/network-client.ts:8

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