Why do raw data was "0x"?
See original GitHub issueI’m using getTransactionReceipt()
here are result.
logs:
[ { transactionIndex: 0,
blockNumber: 7,
transactionHash:
'0x5fe9806d27253fa4356ebdc77f82dc07a24b8518dae780f46893643c814bb922',
address: '0x44f6e9F1f4e7bf436985cFF92047FB8a7fC717dF',
topics: [Array],
data: '0x',
logIndex: 0,
blockHash:
'0x20961d0c5868799456e1683df52724c5a27c15dddc1b2fd77bb7a9c768427257' },
{ transactionIndex: 0,
blockNumber: 7,
transactionHash:
'0x5fe9806d27253fa4356ebdc77f82dc07a24b8518dae780f46893643c814bb922',
address: '0x9F1feE6Ec310899d3B6D65c3f1A13795c82e42eD',
topics: [Array],
data: '0x',
logIndex: 1,
blockHash:
'0x20961d0c5868799456e1683df52724c5a27c15dddc1b2fd77bb7a9c768427257' } ],
I’m expecting data: '0x',
will be there just like web3
.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Why are hex numbers prefixed with # instead of 0x?
Since hex notations like 0xCAFE , $CAFE or CAFEh are used to represent nondescript raw data, it might have led to confusion to...
Read more >Why Do We Need Transaction Data? - Medium
The raw input data for the transaction above is ... The 0x at the beginning indicates that this will be a hexadecimal value,...
Read more >[confirmation popup] '0x' prefix included in vanilla TX's raw data ...
Since the last fix '0x' will show up in the raw data block in the confirmation popup window. Now Before.
Read more >Convert the raw data in little endian format on x64 system
The raw data gets from the device in endian neutral format.
Read more >Measuring the impact of hidden DEX costs - Blog - 0x
At the same time, you can see that there are some trades (in red) that typically result in negative slippage (below the zero...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This sounds like it may be specific to some aspect of Web3.js, so I’m going to close this now. But if you come up with an example to work from, please re-open.
Thanks! 😃
@ricmoo Never mind, web3 just changed its concept too. I think, this part is remaining data for non-indexed params of event. I’m expecting some raw data field so I could do parse my own.