Optional
settings: AptosSettingsReadonly
clientThe client instance the SDK uses. Defaults to `@aptos-labs/aptos-client
Optional
Readonly
clientOptional client configurations
Optional
Readonly
faucetThe optional hardcoded faucet URL to send requests to instead of using the network
Optional
Readonly
faucetOptional specific Faucet configurations
Optional
Readonly
fullnodeThe optional hardcoded fullnode URL to send requests to instead of using the network
Optional
Readonly
fullnodeOptional specific Fullnode configurations
Optional
Readonly
indexerThe optional hardcoded indexer URL to send requests to instead of using the network
Optional
Readonly
indexerOptional specific Indexer configurations
Readonly
networkThe Network that this SDK is associated with. Defaults to DEVNET
Optional
Readonly
pepperThe optional hardcoded pepper service URL to send requests to instead of using the network
Optional
Readonly
proverThe optional hardcoded prover service URL to send requests to instead of using the network
Internal
Returns 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