NibiJS Documentation - v4.5.0 / Exports
# NibiJS - Exports
# Table of contents
# Enumerations
# Classes
# Interfaces
- ABCIEvent
- Chain
- ChainIdParts
- CoinMap
- EpochsExtension
- EventAttribute
- EventMap
- EventMapAttribute
- InflationExtension
- MsgAddMarginEncodeObject
- MsgClosePositionEncodeObject
- MsgCreatePoolEncodeObject
- MsgDonateToEcosystemFundEncodeObject
- MsgExitPoolEncodeObject
- MsgJoinPoolEncodeObject
- MsgMultiLiquidateEncodeObject
- MsgOpenPositionEncodeObject
- MsgPartialCloseEncodeObject
- MsgRemoveMarginEncodeObject
- MsgSwapAssetsEncodeObject
- MsgTypeUrls
- OracleExtension
- PageRequest
- PerpExtension
- SpotExtension
- SudoExtension
- TxLog
- TxMessage
# Type Aliases
# Variables
- ERR
- INT_MULT
- Localnet
- Msg
- PERP_MSG_TYPE_URLS
- SPOT_MSG_TYPE_URLS
- TEST_ADDRESS
- TEST_CHAIN
- TEST_MNEMONIC
- nibiruRegistryTypes
- perpTypes
- spotTypes
# NibiruExtensions
Ƭ NibiruExtensions: StargateQueryClient
& SpotExtension
& PerpExtension
& SudoExtension
& InflationExtension
& OracleExtension
& EpochsExtension
& DistributionExtension
& GovExtension
& StakingExtension
& IbcExtension
& WasmExtension
& AuthExtension
# Defined in
query/query.ts:32 (opens new window)
# Variables
# ERR
• Const
ERR: Object
# Type declaration
Name | Type |
---|---|
collections | string |
noPrices | string |
sequence | string |
# Defined in
testutil.ts:19 (opens new window)
# INT_MULT
• Const
INT_MULT: 1000000
# Defined in
chain/parse.ts:2 (opens new window)
# Localnet
• Const
Localnet: Chain
Localnet: "Chain" configuration for a local Nibiru network. A local environment is no different from a real one, except that it has a single validator running on your host machine. Localnet is primarily used as a controllable, isolated development environment for testing purposes.
# Defined in
chain/chain.ts:93 (opens new window)
# Msg
• Const
Msg: MsgFactory
# Defined in
msg/index.ts:9 (opens new window)
# PERP_MSG_TYPE_URLS
• Const
PERP_MSG_TYPE_URLS: Object
# Type declaration
Name | Type |
---|---|
MsgAddMargin | string |
MsgClosePosition | string |
MsgDonateToEcosystemFund | string |
MsgMarketOrder | string |
MsgMultiLiquidate | string |
MsgPartialClose | string |
MsgRemoveMargin | string |
# Defined in
msg/perp.ts:16 (opens new window)
# SPOT_MSG_TYPE_URLS
• Const
SPOT_MSG_TYPE_URLS: Object
# Type declaration
Name | Type |
---|---|
MsgCreatePool | string |
MsgExitPool | string |
MsgJoinPool | string |
MsgSwapAssets | string |
# Defined in
msg/spot.ts:12 (opens new window)
# TEST_ADDRESS
• Const
TEST_ADDRESS: string
Address for the wallet of the default validator on localnet"
# Defined in
testutil.ts:16 (opens new window)
# TEST_CHAIN
• Const
TEST_CHAIN: Chain
= Localnet
TEST_CHAIN: Alias for Localnet.
See
Localnet
# Defined in
testutil.ts:8 (opens new window)
# TEST_MNEMONIC
• Const
TEST_MNEMONIC: string
Mnemonic for the wallet of the default validator on localnet"
# Defined in
testutil.ts:11 (opens new window)
# nibiruRegistryTypes
• Const
nibiruRegistryTypes: ReadonlyArray
<[string
, GeneratedType
]>
# Defined in
tx/txClient.ts:31 (opens new window)
# perpTypes
• Const
perpTypes: ReadonlyArray
<[string
, GeneratedType
]>
# Defined in
msg/perp.ts:26 (opens new window)
# spotTypes
• Const
spotTypes: ReadonlyArray
<[string
, GeneratedType
]>