0

So I've been thinking about this from the start but haven't found any resources on how they differ. On the eosio chain api reference, there is a send_transaction method and a push_transaction method. I'd like to know why there are 2 endpoints instead of 1 when they seem to be the exact same methods.

API Reference: https://developers.eos.io/manuals/eos/v2.0/nodeos/plugins/chain_api_plugin/api-reference/index

0

Found this: https://github.com/EOSIO/eos/blob/26a4d285d0be1052d962149e431eb81500782991/docs/20_upgrade-guides/1.8-upgrade-guide.md

To quote:

v1.8 changes the structure of transaction traces, even prior to the activation of any protocol features. Clients consuming transaction and action traces made available through history_plugin, mongo_db_plugin, or state_history_plugin should be aware of the changes made to the trace structure (see details at #7044 and #7108). Clients consuming the trace output of the push_transaction RPC from the chain API should not need to do anything since the output of that RPC should be backwards compatible. However, they are encouraged to replace usage of push_transaction with the new RPC send_transaction which uses the new flat structure to store the action traces.

1
  • Thank you Matthew! You always come to the rescue in these cases. Have an awesome day! (Or weekend whichever part you are in the world) Stay awesome! :) Aug 7 at 2:18

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.