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

tx_status & tx_result are not listed in the docs but are returned when hitting the endpoint below #212

Closed
timstackblock opened this issue Aug 27, 2020 · 0 comments · Fixed by #214
Assignees
Labels
bug Something isn't working P4 Priority 4 Edge cases, improvements, items to be refactored soon

Comments

@timstackblock
Copy link
Contributor

timstackblock commented Aug 27, 2020

Describe the bug
The URL http://localhost:3999/extended/v1/tx/{tx_id} returns 2 fields which are not listed in the output for the doc we need to add these to outputs in the doc https://blockstack.github.io/stacks-blockchain-api/#operation/get_transaction_by_id

"tx_status":"success",

"tx_result":{"hex":"0x03","repr":"true"},

Full output below

"tx_type":"coinbase",
"fee_rate":"0",
"sender_address":"ST2TJRHDHMYBQ417HFB0BDX430TQA5PXRX6495G1V",
"sponsored":false,
"post_condition_mode":"deny",
"tx_status":"success",
"block_hash":"0x43a8689406842ac0583ce1379c6111c299599917802021f92e17a284c4f72916",
"block_height":618,
"burn_block_time":1598543125,
"burn_block_time_iso":"2020-08-27T15:45:25.000Z",
"canonical":true,
"tx_index":0,
"tx_result":{"hex":"0x03","repr":"true"},
"coinbase_payload":{"data":"0x0000000000000000000000000000000000000000000000000000000000000000"}}


"tx_status":"success",

"tx_result":{"hex":"0x03","repr":"true"},```
@timstackblock timstackblock added bug Something isn't working P4 Priority 4 Edge cases, improvements, items to be refactored soon labels Aug 27, 2020
agraebe added a commit that referenced this issue Aug 27, 2020
@agraebe agraebe linked a pull request Aug 27, 2020 that will close this issue
agraebe added a commit that referenced this issue Aug 27, 2020
blockstack-devops pushed a commit that referenced this issue Aug 27, 2020
## [0.11.2](v0.11.1...v0.11.2) (2020-08-27)

### Bug Fixes

* add tx_result to example ([1ce88a6](1ce88a6)), closes [#212](#212)
* adding block time ([f895fe7](f895fe7)), closes [#213](#213)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working P4 Priority 4 Edge cases, improvements, items to be refactored soon
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants