feat: add batch_id to cash_in_txs

feat: bitcoind sendmany request
feat: check if wallet supports transaction batching
This commit is contained in:
Sérgio Salgado 2021-05-21 16:21:54 +01:00
parent 24ed69244c
commit c8adaabf85
3 changed files with 43 additions and 0 deletions

View file

@ -210,6 +210,11 @@ function isStrictAddress (settings, cryptoCode, toAddress) {
})
}
function supportsBatching (settings, cryptoCode) {
return fetchWallet(settings, cryptoCode)
.then(r => _.isFunction(r.wallet.sendCoinsBatch))
}
const coinFilter = ['ETH']
const balance = (settings, cryptoCode) => {