AptosConfig

data class AptosConfig(val network: Network = Network.DEVNET, val endpoints: AptosEndpoints = AptosEndpoints(), val commonHeaders: Map<String, String> = emptyMap(), val fullNode: AptosEndpointConfig = AptosEndpointConfig(), val indexer: AptosEndpointConfig = AptosEndpointConfig(), val faucet: AptosEndpointConfig = AptosEndpointConfig(), val requestTimeoutMillis: Long, val indexerWaitTimeoutMillis: Long, val archivalFallback: Boolean = true, val namesContractAddress: AccountAddress? = null, val transactionDefaults: TransactionDefaults = TransactionDefaults(), val transport: AptosTransport? = null, val abiCachePolicy: AbiCachePolicy = xyz.mcxross.kaptos.move.AbiCachePolicy())

Immutable configuration for the namespaced Aptos API.

An injected transport remains caller-owned. When it is omitted, Aptos creates and closes one shared transport for all of its services.

Constructors

Link copied to clipboard
constructor(network: Network = Network.DEVNET, endpoints: AptosEndpoints = AptosEndpoints(), commonHeaders: Map<String, String> = emptyMap(), fullNode: AptosEndpointConfig = AptosEndpointConfig(), indexer: AptosEndpointConfig = AptosEndpointConfig(), faucet: AptosEndpointConfig = AptosEndpointConfig(), requestTimeoutMillis: Long, indexerWaitTimeoutMillis: Long, archivalFallback: Boolean = true, namesContractAddress: AccountAddress? = null, transactionDefaults: TransactionDefaults = TransactionDefaults(), transport: AptosTransport? = null, abiCachePolicy: AbiCachePolicy = xyz.mcxross.kaptos.move.AbiCachePolicy())

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard