UNPKG

spacylabs-rhino

Version:
16 lines (10 loc) 366 B
const get = require('../lib/dvf/get-authenticated') const validateAssertions = require('../lib/validators/validateAssertions') module.exports = async (dvf, token, nonce, signature) => { if (token) { validateAssertions(dvf, {token}) } const endpoint = '/v1/trading/deposits' const data = {token} return get(dvf, endpoint, nonce, signature, data) }