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

update API doc based on https://github.com/bosnet/sebak/pull/863/ #23

Merged
merged 7 commits into from
Jan 31, 2019
Merged

Conversation

johndoe0x
Copy link
Contributor

Based on PR#863, API doc is updated.

please review it.

@johndoe0x johndoe0x self-assigned this Dec 21, 2018
@johndoe0x johndoe0x requested review from soonkuk and kfangw December 25, 2018 13:07
@johndoe0x
Copy link
Contributor Author

I didn't add reviewers ^^;;

Would you review this API doc ? @kfangw @soonkuk

Copy link

@kfangw kfangw left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM.
But, please commit after the change is released.
bosnet/sebak#863

@johndoe0x
Copy link
Contributor Author

@kfangw got it. Thanks for reviewing.

@kfangw
Copy link

kfangw commented Jan 14, 2019

@cmcm2222 Please deploy the DOC when the v0.1.5 released.

@@ -33,6 +33,13 @@
+ fee: 10000
+ hash: `7nLuyg8radTExzBM2WhG37AwohBwEySBw4vj2xdtdjAs`
+ operation_count: 1
+ operations:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In transaction, block: 241 should be changed
when I call the api in testnet block shows block hash

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

thank :)
👍

+ type : `payment` - operation type. ex. payment, create-account
+ B
+ target : `GCIKBR6QXYF6VLLTXC7EHKDGAPAOLSRALZTWTLZ2SANBYWMWT6AURQGG`
+ amount : `100000` - amount in GON
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

txs, block-height, block-hash , total-txs, total-ops should be included

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

when you see the `payment' type.
https://mainnet.blockchainos.org/api/v1/transactions/EqGR1c3S3dMDD6ZDxusAxuLNJGErb1tzS56Q2QNYUUoW

you can see that it is different with inflation or collect-tx-fee.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Ok I got it.

@johndoe0x johndoe0x merged commit c8117d8 into bosnet:master Jan 31, 2019
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

Successfully merging this pull request may close these issues.

3 participants