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
IndexerGrpcMitoApi
Class IndexerGrpcMitoApi
Hierarchy
IndexerGrpcMitoApi
Index
Constructors
constructor
Properties
client
module
Methods
fetch
Holder
Portfolio
fetchLPHolders
fetch
Leaderboard
fetch
Lp
Token
Price
Chart
fetchTVLChart
Request
fetch
Vault
fetch
Vaults
fetch
Vaults
By
Holder
Address
Constructors
constructor
new
Indexer
Grpc
Mito
Api
(
endpoint
:
string
)
:
IndexerGrpcMitoApi
Parameters
endpoint:
string
Returns
IndexerGrpcMitoApi
Properties
Protected
client
client
:
MitoAPIClientImpl
Protected
module
module
:
string
= IndexerModule.Mito
Methods
fetch
Holder
Portfolio
fetch
Holder
Portfolio
(
holderAddress
:
string
)
:
internal
.
Promise
<
MitoPortfolio
>
Parameters
holderAddress:
string
Returns
internal
.
Promise
<
MitoPortfolio
>
fetchLPHolders
fetchLPHolders
(
__namedParameters
:
{
pageIndex
?:
number
;
pageSize
?:
number
;
vaultAddress
:
string
}
)
:
internal
.
Promise
<
MitoHolders
[]
>
Parameters
__namedParameters:
{
pageIndex
?:
number
;
pageSize
?:
number
;
vaultAddress
:
string
}
Optional
page
Index
?:
number
Optional
page
Size
?:
number
vault
Address
:
string
Returns
internal
.
Promise
<
MitoHolders
[]
>
fetch
Leaderboard
fetch
Leaderboard
(
)
:
internal
.
Promise
<
MitoLeaderboard
>
Returns
internal
.
Promise
<
MitoLeaderboard
>
fetch
Lp
Token
Price
Chart
fetch
Lp
Token
Price
Chart
(
__namedParameters
:
{
from
?:
string
;
to
?:
string
;
vaultAddress
:
string
}
)
:
internal
.
Promise
<
MitoPriceSnapshot
[]
>
Parameters
__namedParameters:
{
from
?:
string
;
to
?:
string
;
vaultAddress
:
string
}
Optional
from
?:
string
Optional
to
?:
string
vault
Address
:
string
Returns
internal
.
Promise
<
MitoPriceSnapshot
[]
>
fetchTVLChart
Request
fetchTVLChart
Request
(
__namedParameters
:
{
from
?:
string
;
to
?:
string
;
vaultAddress
:
string
}
)
:
internal
.
Promise
<
MitoPriceSnapshot
[]
>
Parameters
__namedParameters:
{
from
?:
string
;
to
?:
string
;
vaultAddress
:
string
}
Optional
from
?:
string
Optional
to
?:
string
vault
Address
:
string
Returns
internal
.
Promise
<
MitoPriceSnapshot
[]
>
fetch
Vault
fetch
Vault
(
__namedParameters
:
{
contractAddress
?:
string
;
slug
?:
string
}
)
:
internal
.
Promise
<
MitoVault
>
Parameters
__namedParameters:
{
contractAddress
?:
string
;
slug
?:
string
}
Optional
contract
Address
?:
string
Optional
slug
?:
string
Returns
internal
.
Promise
<
MitoVault
>
fetch
Vaults
fetch
Vaults
(
__namedParameters
:
{
codeId
?:
string
;
pageIndex
?:
number
;
pageSize
?:
number
}
)
:
internal
.
Promise
<
{
pagination
?:
MitoPagination
;
vaults
:
MitoVault
[]
}
>
Parameters
__namedParameters:
{
codeId
?:
string
;
pageIndex
?:
number
;
pageSize
?:
number
}
Optional
code
Id
?:
string
Optional
page
Index
?:
number
Optional
page
Size
?:
number
Returns
internal
.
Promise
<
{
pagination
?:
MitoPagination
;
vaults
:
MitoVault
[]
}
>
fetch
Vaults
By
Holder
Address
fetch
Vaults
By
Holder
Address
(
__namedParameters
:
{
holderAddress
:
string
;
pageIndex
?:
number
;
pageSize
?:
number
;
vaultAddress
?:
string
}
)
:
internal
.
Promise
<
MitoSubscription
[]
>
Parameters
__namedParameters:
{
holderAddress
:
string
;
pageIndex
?:
number
;
pageSize
?:
number
;
vaultAddress
?:
string
}
holder
Address
:
string
Optional
page
Index
?:
number
Optional
page
Size
?:
number
Optional
vault
Address
?:
string
Returns
internal
.
Promise
<
MitoSubscription
[]
>
Modules
@injectivelabs/sdk-
ts
internal
@injectivelabs/wallet-
ts
Indexer
Grpc
Mito
Api
constructor
client
module
fetch
Holder
Portfolio
fetchLPHolders
fetch
Leaderboard
fetch
Lp
Token
Price
Chart
fetchTVLChart
Request
fetch
Vault
fetch
Vaults
fetch
Vaults
By
Holder
Address
Generated using
TypeDoc