Optionalsettings: AptosSettingsReadonlyclientThe client instance the SDK uses. Defaults to `@aptos-labs/aptos-client
Optional ReadonlyclientOptional client configurations
Optional ReadonlyfaucetThe optional hardcoded faucet URL to send requests to instead of using the network
Optional ReadonlyfaucetOptional specific Faucet configurations
Optional ReadonlyfullnodeThe optional hardcoded fullnode URL to send requests to instead of using the network
Optional ReadonlyfullnodeOptional specific Fullnode configurations
Optional ReadonlyindexerThe optional hardcoded indexer URL to send requests to instead of using the network
Optional ReadonlyindexerOptional specific Indexer configurations
ReadonlynetworkThe Network that this SDK is associated with. Defaults to DEVNET
Optional ReadonlypepperThe optional hardcoded pepper service URL to send requests to instead of using the network
Optional ReadonlyproverThe optional hardcoded prover service URL to send requests to instead of using the network
InternalReturns the URL endpoint to send the request to. If a custom URL was provided in the config, that URL is returned. If a custom URL was provided but not URL endpoints, an error is thrown. Otherwise, the URL endpoint is derived from the network.
The type of Aptos API to get the URL for.
This class holds the config information for the SDK client instance.
Example