Closed tomtomcrypto closed 12 months ago
On other clients a subscription to newHeads should give back the transactions as such:
{ "jsonrpc": "2.0", "method": "eth_subscription", "params": { "subscription": "0x1", "result": { "number": "0x40c22", "hash": "0x16af2ee1672203c7ac13ff280822008be0f38e1e5bdc675760015ae3192c0e3a", "parentHash": "0x1fcf5dadfaf2ab4d985eb05d40eaa23605b0db25d736610c4b87173bfe438f91", "nonce": "0x0000000000000000", "sha3Uncles": "0x1dcc4de8dec75d7aab85b567b6ccd41ad312451b948a7413f0a142fd40d49347", "logsBloom": "0x00008000000000080000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000040000000000000000000000000000000000000000001000000000000000000000040000000000000000000000000000000000000400000000010000000000000000100000000000020000000000000000000000000000000000010000000000000000000000000000000000000000000", "transactionsRoot": "0x5b2e3c1a49352f1ca9fb5dfe74b7ffbbb6d70e23a12693444e26058d8a8e6296", "stateRoot": "0xbe8d3bc58bd982421a3ea8b66753404502df0f464ae78a17661d157c406dd38b", "receiptsRoot": "0x81b175ec1f4d44fbbd6ba08f1bd3950663b307b7cb35751c067b535cc0b58f12", "miner": "0x0000000000000000000000000000000000000000", "difficulty": "0x1", "totalDifficulty": "0x7c16e", "extraData": "0xd783010600846765746887676f312e372e33856c696e757800000000000000002160f780bb1f61eda045c67cdb1297ba37d8349df8035533cb0cf82a7e45f23f3d72bbec125a9f499b3eb110b7d1918d466cb2ede90b38296cfe2aaf452c513f00", "size": "0x3a1", "gasLimit": "0x47e7c4", "gasUsed": "0x11ac3a", "timestamp": "0x592afc24", "uncles": [], "transactions": [ "0x419c69d21b14e2e8f911def22bb6d0156c876c0e1c61067de836713043364d6c", "0x70a5b2cb2cee6e0b199232a1757fc2a9d6053a4691a7afef8508fd88aeeec703", "0x4b3035f1d32339fe1a4f88147dc197a0fe5bbd63d3b9dec2dad96a3b46e4fddd" ] } } }
On Telos we do not give transactions and the includeTransactions option doesn't add the details of transactions
Moved here https://github.com/telosnetwork/telosevm-translator/issues/49
On other clients a subscription to newHeads should give back the transactions as such:
On Telos we do not give transactions and the includeTransactions option doesn't add the details of transactions