AptosConfig

class AptosConfig(settings: AptosSettings = AptosSettings())

The AptosConfig class holds the config information for the SDK client instance. It is initialized with an instance of AptosSettings and sets up various configurations based on the provided settings.

Parameters

settings

The AptosSettings instance to initialize the AptosConfig with. If not provided, default values are used.

Constructors

Link copied to clipboard
constructor(settings: AptosSettings = AptosSettings())

Properties

Link copied to clipboard

The client configuration, taken from AptosSettings if provided.

Link copied to clipboard

The faucet configuration, taken from AptosSettings if provided.

Link copied to clipboard

The faucet configuration, defaults to a new FaucetConfig instance if not provided in AptosSettings.

Link copied to clipboard

The fullnode configuration, taken from AptosSettings if provided.

Link copied to clipboard

The fullnode configuration, defaults to a new FullNodeConfig instance if not provided in AptosSettings.

Link copied to clipboard

The indexer configuration, taken from AptosSettings if provided.

Link copied to clipboard

The indexer configuration, defaults to a new IndexerConfig instance if not provided in AptosSettings.

Link copied to clipboard

The network configuration, defaults to Network.DEVNET if not provided in AptosSettings.

Functions

Link copied to clipboard