Replies: 1 comment
-
Hi @tom-hbar The Ethereum JSON RPC Spec only applies to EVM type transactions. This means transactions of type This may have been a bug at the time, lots of improvements since then. These should be sufficient for EVM developers as it matches behaviour of other EVM chains. Let me know if you believe there's a gap. |
Beta Was this translation helpful? Give feedback.
-
After some investigation, it seems that
eth_getBlockByNumber
only returns transactions that are of typeCONTRACTCALL
orETHEREUMTRANSACTION
. The transactions array is empty if no transactions of those types are in the block, despite there being >0 transactions in the block.Additionally,
eth_getTransactionByHash
only returns information about transactions of typeCONTRACTCALL
orETHEREUMTRANSACTION
. It also looks like it only returnsCONTRACTCALL
transactions that were submitted via the relay – HAPI contract calls via the SDK return null.Will the relay return all transactions (for example,
CRYPTOTRANSFER
) for these methods at some point in the future? If so, is there a timeline for implementation?Beta Was this translation helpful? Give feedback.
All reactions