The Agent class used by this instance.
The SecretJS module used by this instance. You can set this to a compatible version of the SecretJS module in order to use it instead of the one bundled with this package. This setting is per-chain:,all ScrtAgent instances constructed by the configured Scrt instance's getAgent method will use the non-default SecretJS module.
Smallest unit of native token.
Optional
devnetIf this is a devnet, this contains an interface to the devnet container.
The unique chain id.
Logger.
Whether this is mainnet, public testnet, local devnet, or mocknet.
Whether this chain is stopped.
The API URL to use.
Static
AgentThe default Agent class for Secret Network.
Static
ConfigThe default Config class for Secret Network.
Static
ModeShorthand for the ChainMode enum.
Static
SecretJSThe default SecretJS module.
Static
defaultSmallest unit of native token.
Static
defaultSet permissive fees by default.
Static
variantsAsync functions that return Chain instances in different modes.
Values for FADROMA_CHAIN
environment variable.
Populated by @fadroma/connect.
A fresh instance of the anonymous read-only API client. Memoize yourself.
Return self.
Whether this is a devnet or mocknet.
Get the current block height.
Whether this is a devnet.
Whether this is a mainnet.
Whether this is a mocknet.
Whether this is a testnet.
Wait for the block height to increment.
a fresh instance of the anonymous read-only API client.
Static
devnetStatic
gasStatic
mainnetStatic
mocknetStatic
testnetGenerated using TypeDoc
Represents a Secret Network API endpoint.