Questions tagged [return]

The tag has no usage guidance.

Filter by
Sorted by
Tagged with
2
votes
1answer
25 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
1answer
2k 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
0answers
45 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
1answer
553 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 ...