2 ms·
But why not return a proper Boolean value then?
by ulrikrasmussen 9y ago
But why not return a proper Boolean value then?
- tyleraldrich 9y agoWho knows, maybe for legacy code reasons? This seems to be the documentation: https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_gettransactionreceipt https://github.com/ethereum/wiki/wiki/JSON-RPC#eth_gettransa...
- vvillena 9y agoThats how booleans are encoded in the Ethereum ABI. 0x0 is false, 0x1 is true.