Search
Preparing search index...
The search index is not available
API Reference | Injective - Powering the future of decentralized finance.
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
API Reference | Injective - Powering the future of decentralized finance.
@injectivelabs/sdk-ts
ChainGrpcExchangeApi
Class ChainGrpcExchangeApi
Hierarchy
ChainGrpcExchangeApi
Index
Constructors
constructor
Properties
client
module
Methods
fetch
Fee
Discount
Account
Info
fetch
Fee
Discount
Schedule
fetch
Module
Params
fetch
Module
State
fetch
Pending
Trade
Reward
Points
fetch
Positions
fetch
Subaccount
Trade
Nonce
fetch
Trade
Reward
Points
fetch
Trading
Rewards
Campaign
Constructors
constructor
new
Chain
Grpc
Exchange
Api
(
endpoint
:
string
)
:
ChainGrpcExchangeApi
Parameters
endpoint:
string
Returns
ChainGrpcExchangeApi
Properties
Protected
client
client
:
QueryClientImpl
Protected
module
module
:
string
= ChainModule.Exchange
Methods
fetch
Fee
Discount
Account
Info
fetch
Fee
Discount
Account
Info
(
injectiveAddress
:
string
)
:
internal
.
Promise
<
FeeDiscountAccountInfo
>
Parameters
injectiveAddress:
string
Returns
internal
.
Promise
<
FeeDiscountAccountInfo
>
fetch
Fee
Discount
Schedule
fetch
Fee
Discount
Schedule
(
)
:
internal
.
Promise
<
FeeDiscountSchedule
>
Returns
internal
.
Promise
<
FeeDiscountSchedule
>
fetch
Module
Params
fetch
Module
Params
(
)
:
internal
.
Promise
<
ExchangeModuleParams
>
Returns
internal
.
Promise
<
ExchangeModuleParams
>
fetch
Module
State
fetch
Module
State
(
)
:
internal
.
Promise
<
internal
.
GenesisState
>
Returns
internal
.
Promise
<
internal
.
GenesisState
>
fetch
Pending
Trade
Reward
Points
fetch
Pending
Trade
Reward
Points
(
injectiveAddresses
:
string
[]
, timestamp
?:
number
)
:
internal
.
Promise
<
string
[]
>
Parameters
injectiveAddresses:
string
[]
Optional
timestamp:
number
Returns
internal
.
Promise
<
string
[]
>
fetch
Positions
fetch
Positions
(
)
:
internal
.
Promise
<
ChainDerivativePosition
[]
>
Returns
internal
.
Promise
<
ChainDerivativePosition
[]
>
fetch
Subaccount
Trade
Nonce
fetch
Subaccount
Trade
Nonce
(
subaccountId
:
string
)
:
internal
.
Promise
<
internal
.
QuerySubaccountTradeNonceResponse
>
Parameters
subaccountId:
string
Returns
internal
.
Promise
<
internal
.
QuerySubaccountTradeNonceResponse
>
fetch
Trade
Reward
Points
fetch
Trade
Reward
Points
(
injectiveAddresses
:
string
[]
)
:
internal
.
Promise
<
string
[]
>
Parameters
injectiveAddresses:
string
[]
Returns
internal
.
Promise
<
string
[]
>
fetch
Trading
Rewards
Campaign
fetch
Trading
Rewards
Campaign
(
)
:
internal
.
Promise
<
TradeRewardCampaign
>
Returns
internal
.
Promise
<
TradeRewardCampaign
>
Modules
@injectivelabs/sdk-
ts
internal
@injectivelabs/wallet-
ts
Chain
Grpc
Exchange
Api
constructor
client
module
fetch
Fee
Discount
Account
Info
fetch
Fee
Discount
Schedule
fetch
Module
Params
fetch
Module
State
fetch
Pending
Trade
Reward
Points
fetch
Positions
fetch
Subaccount
Trade
Nonce
fetch
Trade
Reward
Points
fetch
Trading
Rewards
Campaign
Generated using
TypeDoc