Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Define API #8

Open
rainbreak opened this issue May 14, 2016 · 3 comments
Open

Define API #8

rainbreak opened this issue May 14, 2016 · 3 comments

Comments

@rainbreak
Copy link
Owner

rainbreak commented May 14, 2016

  • checkValueSent(tx, address, value)
  • getValueSent(tx, address) (summing over outputs?)
  • checkValueSentFrom(tx, address, value)
  • getValueSentFrom(tx, address)
@rainbreak rainbreak changed the title Create abstract interface Define API Aug 5, 2016
@rainbreak
Copy link
Owner Author

@ethers: I'm open to ideas for useful function calls here.

@ethers
Copy link

ethers commented Aug 10, 2016

Thanks, I'm not yet sure about the higher level apis, but meantime the primitives would be to get inputs and outputs. I looked around and saw some ideas here:
https://21.co/learn/21-lib-bitcoin/#parsing-a-transaction
https://blockchain.info/api/blockchain_api - see Single transaction

The other main libs don't seem to have higher level apis or have documentation about them:
https://github.com/bitpay/bitcore-lib
https://github.com/bitcoinjs/bitcoinjs-lib

@rainbreak
Copy link
Owner Author

@iurimatias: trying to define a useful api here. Ideas welcome.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants