Preparing search index...
The search index is not available
@evaafi/sdk
@evaafi/sdk
IcpPriceSource
Class IcpPriceSource
Hierarchy (
View Summary
)
BackendPriceSource
IcpPriceSource
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
IcpPriceSource
(
endpoint
:
string
,
nfts
:
OracleNFT
[]
)
:
IcpPriceSource
Parameters
endpoint
:
string
nfts
:
OracleNFT
[]
Returns
IcpPriceSource
Properties
Protected
_endpoint
_endpoint
:
string
Protected
_nfts
_nfts
:
OracleNFT
[]
Protected
price
Source
Name
priceSourceName
:
string
= 'IcpPriceSource'
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
()
:
Promise
<
OutputData
[]
>
Returns
Promise
<
OutputData
[]
>
parse
Prices
parsePrices
(
outputData
:
OutputData
)
:
RawPriceData
Parameters
outputData
:
OutputData
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...