scoin / multichain-node

A simple wrapper for Multichain's JSON RPC api that parses your input.
MIT License
73 stars 54 forks source link

Added missing getBalance command #4

Closed lionello closed 7 years ago

lionello commented 8 years ago

Alpha 23 has this additional call (possibly others; haven't checked all)

scoin commented 8 years ago

Hey, thanks for contributing. This command is part of the bitcoind api, not specifically multichaind. Since it works in multichaind, I'm happy to have it here. Please submit a test for this and any commands you'd like to add in https://github.com/scoin/multichain-node/blob/development/test/test.js

scoin commented 7 years ago

test does not pass because it is not given an account parameter. Probably wouldn't pass past that because there's no native currency in the test instance of multichain, and no tokens have been issued at the run time of the test. Please feel free to resubmit.