UNPKG

@gateway.fm/gtw-dvf-client-js

Version:

DVF client js lib with gateway.fm rpc endpoints

14 lines (10 loc) 334 B
const get = require('../lib/dvf/get-generic') const validateAssertions = require('../lib/validators/validateAssertions') /** * @param {String} symbol 'ETH' */ module.exports = async (dvf, symbol) => { validateAssertions(dvf, {symbol}) const endpoint = `/market-data/ticker/${symbol}/order-size` return get(dvf, endpoint) }