UNPKG

spacylabs-rhino

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