Closed dksuper closed 6 years ago
How to get return value on eos blockchain , when I use the eosjs?
Here is my contract:
and it was already set in my eos private blockchain.
Then I use the eosjs to trigger this contract:
When I trigger it , I can saw the log , show in my eos private blockchain:
But why I only get this return value , not "Hello, batman"?
Did I do something wrong?
I will very appreciate ,that you can give me the advice.
I think there's no explicit return values. You need to get the transaction id and block number and wait until it become irreversible or dropped by all the BPs.
How to get return value on eos blockchain , when I use the eosjs?
Here is my contract:
and it was already set in my eos private blockchain.
Then I use the eosjs to trigger this contract:
When I trigger it , I can saw the log , show in my eos private blockchain:
But why I only get this return value , not "Hello, batman"?
Did I do something wrong?
I will very appreciate ,that you can give me the advice.