This class holds the config information for the SDK client instance.

Example

const aptosConfig = new AptosConfig({network:Network.TESTNET})

Constructors

Properties

client: Client

The client instance the SDK uses. Defaults to `@aptos-labs/aptos-client

clientConfig?: ClientConfig

Optional client configurations

faucet?: string

The optional hardcoded faucet URL to send requests to instead of using the network

faucetConfig?: FaucetConfig

Optional specific Faucet configurations

fullnode?: string

The optional hardcoded fullnode URL to send requests to instead of using the network

fullnodeConfig?: ClientHeadersType

Optional specific Fullnode configurations

indexer?: string

The optional hardcoded indexer URL to send requests to instead of using the network

indexerConfig?: ClientHeadersType

Optional specific Indexer configurations

network: Network

The Network that this SDK is associated with. Defaults to DEVNET

Generated using TypeDoc