Skip to content

Commit

Permalink
#385 added handler getCryptoWithdrawalFees
Browse files Browse the repository at this point in the history
  • Loading branch information
davesag committed Aug 30, 2021
1 parent 5fca364 commit 9d2b0f8
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/api/public/getCryptoWithdrawalFees.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,9 @@
const { getTransport } = require('../../utils/transport')

// https://www.independentreserve.com/products/api#GetCryptoWithdrawalFees
const getCryptoWithdrawalFees = async () => {
const { get } = getTransport()
return get('Public/GetCryptoWithdrawalFees')
}

module.exports = getCryptoWithdrawalFees
5 changes: 5 additions & 0 deletions test/unit/api/public/getCryptoWithdrawalFees.test.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
const doTest = require('../../../helpers/publicHandlerTest')

const config = { handler: 'getCryptoWithdrawalFees' }

doTest(config)

0 comments on commit 9d2b0f8

Please sign in to comment.