Preparing search index...
The search index is not available
@evaafi/sdk
@evaafi/sdk
IotaPriceSource
Class IotaPriceSource
Hierarchy (
View Summary
)
PriceSource
IotaPriceSource
Index
Constructors
constructor
Properties
_endpoint
_nfts
price
Source
Name
Accessors
endpoint
nfts
source
Name
Methods
get
Prices
load
Oracle
Data
parse
Prices
Constructors
constructor
new
IotaPriceSource
(
endpoint
:
string
,
nfts
:
OracleNFT
[]
)
:
IotaPriceSource
Parameters
endpoint
:
string
nfts
:
OracleNFT
[]
Returns
IotaPriceSource
Properties
Protected
_endpoint
_endpoint
:
string
Protected
_nfts
_nfts
:
OracleNFT
[]
Protected
price
Source
Name
priceSourceName
:
string
= 'IotaPriceSource'
Accessors
endpoint
get
endpoint
()
:
string
Returns
string
set
endpoint
(
endpoint
:
string
)
:
void
Parameters
endpoint
:
string
Returns
void
nfts
get
nfts
()
:
OracleNFT
[]
Returns
OracleNFT
[]
set
nfts
(
nfts
:
OracleNFT
[]
)
:
void
Parameters
nfts
:
OracleNFT
[]
Returns
void
source
Name
get
sourceName
()
:
string
Returns
string
Methods
get
Prices
getPrices
()
:
Promise
<
RawPriceData
[]
>
Returns
Promise
<
RawPriceData
[]
>
load
Oracle
Data
loadOracleData
(
oracleNftId
:
String
)
:
Promise
<
OutputData
>
Parameters
oracleNftId
:
String
Returns
Promise
<
OutputData
>
parse
Prices
parsePrices
(
outputData
:
OutputData
,
oracleId
:
number
)
:
RawPriceData
Parameters
outputData
:
OutputData
oracleId
:
number
Returns
RawPriceData
Settings
Member Visibility
Protected
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
_endpoint
_nfts
price
Source
Name
Accessors
endpoint
nfts
source
Name
Methods
get
Prices
load
Oracle
Data
parse
Prices
@evaafi/sdk
Loading...