Skip to content

创建文章

We are looking for publications that demonstrate building dApps or smart contracts!
See the full list of Gitcoin bounties that are eligible for rewards.

types network client.AlgoClientConfig

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

Interface: AlgoClientConfig

types/network-client.AlgoClientConfig

Config for an Algorand SDK client

Table of contents

Properties

Properties

port

Optional port: string | number

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

Defined in

src/types/network-client.ts:8


server

server: string

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

Defined in

src/types/network-client.ts:6


token

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

Defined in

src/types/network-client.ts:10