Bitcoin-com / bitbox-sdk

BITBOX SDK for Bitcoin Cash
https://developer.bitcoin.com/bitbox
MIT License
89 stars 62 forks source link

RawTransactions.sendRawTransaction() should return a txid string when called with a single hex #67

Closed christroutner closed 5 years ago

christroutner commented 5 years ago

This issue depends on this issue in the rest repo being completed first. Once that feature change has been made to rest, BITBOX needs to be updated to reflect the same behavior:

When a single hex string is passed into BITBOX.RawTransactions.sendRawTransactions(), it should return a TXID as a string. The current implementation returns an array with a single string element.

cgcardona commented 5 years ago

Also a person should be able to pass in an array of raw hex and have it pass back an array of txids by using the newly created REST bulk sendRawTransactions endpoint

christroutner commented 5 years ago

This Issue will be unblocked when this rest PR is merged.

christroutner commented 5 years ago

This issue resolved by PR #70