1

I found that there are two types of transfer I can use in an EOS contract, but I don't know what is the difference between them.

1st type

enter image description here

enter image description here

2nd type

enter image description here

1
  • Please use the markdown code function and not screenshots.
    – tmm
    Commented Nov 1, 2018 at 14:21

2 Answers 2

0

transaction-send: is an deferred transaction

action-send: is an in-line action

https://developers.eos.io/eosio-cpp/docs/communication-model

0

An action will be sent as part of the current transaction, meaning that if anything within the action fails, the entire current transaction will also fail. This also consumes your allotted CPU time.

A transaction is automatically a deferred transaction. Whether its contents pass or fail has no impact on the current transaction. If no delay time is set for the transaction, then it will execute in the next block. A transaction can contain multiple actions.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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