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

how to push actions with raw json data? #70

Closed
Petelin opened this issue Oct 12, 2018 · 1 comment
Closed

how to push actions with raw json data? #70

Petelin opened this issue Oct 12, 2018 · 1 comment

Comments

@Petelin
Copy link

Petelin commented Oct 12, 2018

dear developer, thanks for the great library, i am using it to create dapp.
however when i push action to the chain. the param ActionData: eos.NewActionData(data)})
will be binary string format.

#   13   2018-10-12T02:43:02.000      eosslotloger::result => eosslotloger  94f97639...
"046c6f73741042082184d07befe80300000000000004454f5300000000000000000000000004454f530000000035454f53364d5279416a51713875643768564e5963666e56504a7163567073634e35536f384268744875475971455435474457354356655349475f4b315f4b59364258695a4461446d39514d4b6d5150723278703964737444676d484c6b565469347245b2cd3ea401d963b6fa75dd776a6397b77aef6623f9fabd4aa5c56f695b309af199017b227265656c30223a7b22706f73223a203335202c20226e756d626572223a2036207d2c227265656c31223a7b22706f73223a203134202c20226e756d626572223a2030207d2c227265656c32223a7b22706f73223a2038202c20226e756d626572223a2037207d2c226a61636b706f74223a7b20706f696e743a30202c2022706f73223a2d31202c20226e756d626572223a202d31207d7d4433446b5759547275753144356f795539366e6a727064733147376e3766573348504252454438467336623374323251704d33694d476375403031316361623464373532338079ce0bff770500"

how i can set it to simple JSON format? thanks a lot

@Petelin
Copy link
Author

Petelin commented Oct 12, 2018

#   14   2018-10-12T02:47:35.000     eosio.token::transfer => eosslotcode3  f0c7b383...
{"from":"xxxx11111111","to":"eosslotcode3","quantity":"0.1000 EOS","memo":"seed:b2cd3ea401d963b6fa75dd776a6397b77aef6623f9fabd4aa5c56f695b309af1"}

this is what i expected

@Petelin Petelin closed this as completed Dec 12, 2018
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

1 participant