-
Notifications
You must be signed in to change notification settings - Fork 6
Data Service
Vladimir edited this page Jul 23, 2019
·
4 revisions
This is a special Waves service for an efficient and convenient way to get data from Waves blockchain.
Please notice that the full list of the Data service methods is available at Data Service Swagger and Test Data Service Swagger
- alias()
/**
Get address for alias
*/
func alias(name: String) -> Observable<DataService.DTO.Alias>
- aliases()
/**
Get a list of aliases for a given address
*/
func list(address: String) -> Observable<[DataService.DTO.Alias]>
asset()
/**
Get asset info by asset ID
*/
func asset(id: String) -> Observable<DataService.DTO.Asset>
- assets()
/**
Get a list of assets info from a list of IDs
*/
func assets(ids: [String]) -> Observable<[DataService.DTO.Asset]>
- pairs()
/**
Get pair info by amount and price assets
*/
func pairs(query: DataService.Query.PairsPrice) -> Observable<[DataService.DTO.PairPrice]>
- transactionsExchange()
/**
Get a list of exchange transactions by applying filters
*/
func transactionsExchange(query: DataService.Query.ExchangeFilters) -> Observable<[DataService.DTO.ExchangeTransaction]>
- candles()
/**
Get candles by amount and price assets. Maximum amount of candles in response – 1440.
*/
func candles(query: DataService.Query.CandleFilters) -> Observable<DataService.DTO.Chart>