feat(V5): Created v5 Fulcrum POST balance endpoint in bch-api

This commit is contained in:
Daniel Gonzalez
2021-05-22 20:55:24 -04:00
parent b410b501a1
commit 20f2e20bcb
4 changed files with 239 additions and 81 deletions
+15 -2
View File
@@ -26,7 +26,19 @@ const balance = {
unconfirmed: 0
}
}
const balances = {
success: true,
balances: [
{
balance: { confirmed: 7000, unconfirmed: 0 },
address: 'bitcoincash:qp3sn6vlwz28ntmf3wmyra7jqttfx7z6zgtkygjhc7'
},
{
balance: { confirmed: 7000, unconfirmed: 0 },
address: 'bitcoincash:qrdka2205f4hyukutc2g0s6lykperc8nsu5u2ddpqf'
}
]
}
const txHistory = [
{
height: 601861,
@@ -128,5 +140,6 @@ module.exports = {
txHistory,
mempool,
txDetails,
blockHeaders
blockHeaders,
balances
}