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
IndexerGrpcAccountApi
Class IndexerGrpcAccountApi
Hierarchy
IndexerGrpcAccountApi
Index
Constructors
constructor
Properties
client
module
Methods
fetch
Order
States
fetch
Portfolio
fetch
Rewards
fetch
Subaccount
Balance
fetch
Subaccount
Balances
List
fetch
Subaccount
History
fetch
Subaccount
Order
Summary
fetch
Subaccounts
List
Constructors
constructor
new
Indexer
Grpc
Account
Api
(
endpoint
:
string
)
:
IndexerGrpcAccountApi
Parameters
endpoint:
string
Returns
IndexerGrpcAccountApi
Properties
Protected
client
client
:
InjectiveAccountsRPCClientImpl
Protected
module
module
:
string
= IndexerModule.Account
Methods
fetch
Order
States
fetch
Order
States
(
params
?:
{
derivativeOrderHashes
?:
string
[]
;
spotOrderHashes
?:
string
[]
}
)
:
internal
.
Promise
<
internal
.
OrderStatesResponse
>
Parameters
Optional
params:
{
derivativeOrderHashes
?:
string
[]
;
spotOrderHashes
?:
string
[]
}
Optional
derivative
Order
Hashes
?:
string
[]
Optional
spot
Order
Hashes
?:
string
[]
Returns
internal
.
Promise
<
internal
.
OrderStatesResponse
>
fetch
Portfolio
fetch
Portfolio
(
address
:
string
)
:
internal
.
Promise
<
AccountPortfolio
>
deprecated
use IndexerGrpcAccountPortfoliooApi.fetchPortfolio instead
Parameters
address:
string
Returns
internal
.
Promise
<
AccountPortfolio
>
fetch
Rewards
fetch
Rewards
(
__namedParameters
:
{
address
:
string
;
epoch
:
number
}
)
:
internal
.
Promise
<
TradingReward
[]
>
Parameters
__namedParameters:
{
address
:
string
;
epoch
:
number
}
address
:
string
epoch
:
number
Returns
internal
.
Promise
<
TradingReward
[]
>
fetch
Subaccount
Balance
fetch
Subaccount
Balance
(
subaccountId
:
string
, denom
:
string
)
:
internal
.
Promise
<
SubaccountBalance
>
Parameters
subaccountId:
string
denom:
string
Returns
internal
.
Promise
<
SubaccountBalance
>
fetch
Subaccount
Balances
List
fetch
Subaccount
Balances
List
(
subaccountId
:
string
)
:
internal
.
Promise
<
SubaccountBalance
[]
>
Parameters
subaccountId:
string
Returns
internal
.
Promise
<
SubaccountBalance
[]
>
fetch
Subaccount
History
fetch
Subaccount
History
(
__namedParameters
:
{
denom
?:
string
;
pagination
?:
PaginationOption
;
subaccountId
:
string
;
transferTypes
?:
string
[]
}
)
:
internal
.
Promise
<
{
pagination
:
ExchangePagination
;
transfers
:
SubaccountTransfer
[]
}
>
Parameters
__namedParameters:
{
denom
?:
string
;
pagination
?:
PaginationOption
;
subaccountId
:
string
;
transferTypes
?:
string
[]
}
Optional
denom
?:
string
Optional
pagination
?:
PaginationOption
subaccount
Id
:
string
Optional
transfer
Types
?:
string
[]
Returns
internal
.
Promise
<
{
pagination
:
ExchangePagination
;
transfers
:
SubaccountTransfer
[]
}
>
fetch
Subaccount
Order
Summary
fetch
Subaccount
Order
Summary
(
__namedParameters
:
{
marketId
?:
string
;
orderDirection
?:
string
;
subaccountId
:
string
}
)
:
internal
.
Promise
<
internal
.
SubaccountOrderSummaryResponse
>
Parameters
__namedParameters:
{
marketId
?:
string
;
orderDirection
?:
string
;
subaccountId
:
string
}
Optional
market
Id
?:
string
Optional
order
Direction
?:
string
subaccount
Id
:
string
Returns
internal
.
Promise
<
internal
.
SubaccountOrderSummaryResponse
>
fetch
Subaccounts
List
fetch
Subaccounts
List
(
address
:
string
)
:
internal
.
Promise
<
string
[]
>
Parameters
address:
string
Returns
internal
.
Promise
<
string
[]
>
Modules
@injectivelabs/sdk-
ts
internal
@injectivelabs/wallet-
ts
Indexer
Grpc
Account
Api
constructor
client
module
fetch
Order
States
fetch
Portfolio
fetch
Rewards
fetch
Subaccount
Balance
fetch
Subaccount
Balances
List
fetch
Subaccount
History
fetch
Subaccount
Order
Summary
fetch
Subaccounts
List
Generated using
TypeDoc