Questions tagged [return]
The return tag has no usage guidance.
4 questions
2
votes
1
answer
26
views
Transmit a message and 4xx status code from contract
eosio_assert() transmits a message and a status code 500. Is there a contract method that transmits a message and a status code of my choice, such as a 4xx status code?
3
votes
1
answer
3k
views
Reading table rows with EOSJS
Is there a way to receive the return output of an action with EOSJS? Say for example I have an action that reads columns from a table, sums a row and returns the result. How would I structure the ...
1
vote
0
answers
51
views
When a client receives a transaction id, what does that mean?
When a client submits a transaction to a node it receives a return code including, if successful, a transaction id.
What does receipt of this transaction id indicate? Does it indicate simply that the ...
3
votes
1
answer
733
views
Can actions have return types?
I've been looking at most of the example contracts and every action seems to return void. Does this mean that you can not have a return type for your actions? Instead, would you have to send a ...