Skip to main content

Interface: IIotaConfig

Configuration for IOTA.

Extends

  • IAccountConfig

Properties

vaultSeedId?

optional vaultSeedId?: string

The ID of the vault seed.

Inherited from

IAccountConfig.vaultSeedId


vaultMnemonicId?

optional vaultMnemonicId?: string

The ID of the vault mnemonic.

Inherited from

IAccountConfig.vaultMnemonicId


coinType?

optional coinType?: number

The coin type.

Inherited from

IAccountConfig.coinType


maxAddressScanRange?

optional maxAddressScanRange?: number

The maximum number of addresses to scan for the account.

Inherited from

IAccountConfig.maxAddressScanRange


clientOptions

clientOptions: NetworkOrTransport

The configuration for the client.


network

network: string

The network the operations are being performed on.


inclusionTimeoutSeconds?

optional inclusionTimeoutSeconds?: number

The length of time to wait for the inclusion of a transaction in seconds.

Default

60

gasStation?

optional gasStation?: IGasStationConfig

Gas station configuration for sponsored transactions. If provided, transactions will be processed through the gas station.


gasBudget?

optional gasBudget?: number

The default gas budget for all transactions (including sponsored and direct).

Default

50000000

gasReservationDuration?

optional gasReservationDuration?: number

The default gas reservation duration in seconds for all transactions (including sponsored and direct).

Default

60

enableCostLogging?

optional enableCostLogging?: boolean

Enable cost logging for transactions.

Default

false

objectLockRetries?

optional objectLockRetries?: number

The number of times to retry a transaction that is rejected because one or more of its owned objects is reserved by another in-flight transaction.

Default

3

objectLockRetryDelayMs?

optional objectLockRetryDelayMs?: number

The base delay in milliseconds between object-lock retries; the delay grows exponentially with each attempt.

Default

1000