Questions tagged [return]
The return tag has no usage guidance.
3
questions
1
vote
0
answers
20
views
Basic function returns 0x0000000000000
I'm trying to learn Soliity and started with a basic api.
I pass the parameters of the function
(from here I got the format of the parameters https://market.link/nodes/5fcd7b71-33aa-4679-bc70-...
0
votes
1
answer
45
views
Retrieve a non-constant/non-view transaction's return (output) data with hardhat/ethersjs
I'm trying to figure out if it's possible to retrieve the return value of a non-view function. Specifically, I want to see the return value of a newly created contract
I have created a simple setup to ...
1
vote
0
answers
499
views
returning struct in solidity
I have seen here that we can return struct for internal functions.
Why can we not just return struct for a non-internal (= public) function?
Also, I can see in the same link "structs would have ...