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
IndexerGrpcOracleApi
Class IndexerGrpcOracleApi
Hierarchy
IndexerGrpcOracleApi
Index
Constructors
constructor
Properties
client
module
Methods
fetch
Oracle
List
fetch
Oracle
Price
fetch
Oracle
Price
No
Throw
Constructors
constructor
new
Indexer
Grpc
Oracle
Api
(
endpoint
:
string
)
:
IndexerGrpcOracleApi
Parameters
endpoint:
string
Returns
IndexerGrpcOracleApi
Properties
Protected
client
client
:
InjectiveOracleRPCClientImpl
Protected
module
module
:
string
= IndexerModule.Oracle
Methods
fetch
Oracle
List
fetch
Oracle
List
(
)
:
internal
.
Promise
<
Oracle
[]
>
Returns
internal
.
Promise
<
Oracle
[]
>
fetch
Oracle
Price
fetch
Oracle
Price
(
__namedParameters
:
{
baseSymbol
:
string
;
oracleScaleFactor
?:
number
;
oracleType
:
string
;
quoteSymbol
:
string
}
)
:
internal
.
Promise
<
internal
.
PriceResponse
>
Parameters
__namedParameters:
{
baseSymbol
:
string
;
oracleScaleFactor
?:
number
;
oracleType
:
string
;
quoteSymbol
:
string
}
base
Symbol
:
string
Optional
oracle
Scale
Factor
?:
number
oracle
Type
:
string
quote
Symbol
:
string
Returns
internal
.
Promise
<
internal
.
PriceResponse
>
fetch
Oracle
Price
No
Throw
fetch
Oracle
Price
No
Throw
(
__namedParameters
:
{
baseSymbol
:
string
;
oracleScaleFactor
?:
number
;
oracleType
:
string
;
quoteSymbol
:
string
}
)
:
internal
.
Promise
<
internal
.
PriceResponse
>
Parameters
__namedParameters:
{
baseSymbol
:
string
;
oracleScaleFactor
?:
number
;
oracleType
:
string
;
quoteSymbol
:
string
}
base
Symbol
:
string
Optional
oracle
Scale
Factor
?:
number
oracle
Type
:
string
quote
Symbol
:
string
Returns
internal
.
Promise
<
internal
.
PriceResponse
>
Modules
@injectivelabs/sdk-
ts
internal
@injectivelabs/wallet-
ts
Indexer
Grpc
Oracle
Api
constructor
client
module
fetch
Oracle
List
fetch
Oracle
Price
fetch
Oracle
Price
No
Throw
Generated using
TypeDoc