UNPKG

spacylabs-rhino

Version:
13 lines (8 loc) 376 B
const get = require('../lib/dvf/get-authenticated') const validateAssertions = require('../lib/validators/validateAssertions') module.exports = async (dvf, withdrawalId, nonce, signature) => { validateAssertions(dvf, { withdrawalId }) const endpoint = `/v1/trading/withdrawals/${withdrawalId}` const data = {} return get(dvf, endpoint, nonce, signature, data) }