We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pls ,
let web3 = try Web3.InfuraRopstenWeb3() let queue = web3.requestDispatcher.queue queue.async { do { let block = try? web3.eth.getBlockByNumber(UInt64(8991408),fullTransactions: true) print("result -- \(block)") } catch { } } Optional(web3swift.Block(number: 8991408, hash: 32 bytes, parentHash: 32 bytes, nonce: Optional(8 bytes), sha3Uncles: 32 bytes, logsBloom: Optional(web3swift.EthereumBloomFilter(bytes: 256 bytes)), transactionsRoot: 32 bytes, stateRoot: 32 bytes, receiptsRoot: 32 bytes, miner: Optional(web3swift.EthereumAddress(_address: "0x05fc5a079e0583b8a07526023a16e2022c4c6296", type: web3swift.EthereumAddress.AddressType.normal)), difficulty: 861633615, totalDifficulty: 32019180529229072, extraData: 28 bytes, size: 1282, gasLimit: 8000029, gasUsed: 363236, timestamp: 2020-11-02 09:05:45 +0000, transactions: [web3swift.TransactionInBlock.transaction(Transaction Nonce: 255 Gas price: 53000000000 Gas limit: 21000 To: 0xD063C6488dAC3733173E6fD6d27239464df30e5D Value: 0 Data: 0xa9059cbb000000000000000000000000f056cbfd91d5e7ad8f428186c261366689ade12100000000000000000000000000000000000000000000000000000000001fa535 v: 41 r: 111306528176752701153592501826457129584515046434811502003588269096859364448536 s: 31764820737146994732133133002258175313324093061810692088640777569689599755057 Intrinsic chainID: Optional(3) Infered chainID: Optional(3) sender: Optional("0x39bc720C018a1dB3C38C2e6E17d6F26F9E7b46bb") hash: Optional("0x1be2eed9329909f4a38411a4c8cd0bb2e51ef60e6068456029d4231c54effd9d") ), web3swift.TransactionInBlock.transaction(Transaction Nonce: 10 Gas price: 5721815885 Gas limit: 21000 To: 0x12d845389E70AADBc054eF41AA326D69678F0388 Value: 1 Data: 0x v: 41 r: 85728252517246383475874159471165951464217075821853301595031083990549396655797 s: 44438773711917494519883672516734374285751254037699630777298566728677134487853 Intrinsic chainID: Optional(3) Infered chainID: Optional(3) sender: Optional("0x27213fC2c0Db32b2b22aB00396d9938987330CaB") hash: Optional("0x840a7e3222390f1c0fdbb6cf3b8e24f1f63ce0474eebe6a0327ebcc1f005653f") ), web3swift.TransactionInBlock.transaction(Transaction Nonce: 1188 Gas price: 1600000000 Gas limit: 21000 To: 0x8f55EEa90f914Df7fff673F7f78aeb0aaDEC3bDa Value: 0 Data: 0x1801fbe5c415b800b0951d56995ec9d6ae31dd03000000007bdc30b41849d69f828043a8000001c4790118bf858ed1695c25a4fb8eb18289472d1dd34db70e447cf3053c v: 42 r: 69249556865622371411488297006406176889397960726132761025906010750804062810934 s: 2255420494968904699252620944624019632658157201644240470784484120096757883878 Intrinsic chainID: Optional(3) Infered chainID: Optional(3) sender: Optional("0x727824242d344e7b25A62fcdc40081f66346b3AF") hash: Optional("0x3d3c7c28fd7bd845c23208e55981c59fb0b206afdd8b1d79a2d712fa3334896c") ), web3swift.TransactionInBlock.transaction(Transaction Nonce: 1 Gas price: 1443631771 Gas limit: 21000 To: 0x6a599ae42ef01fA7641C23cB0cffe2414FAA297a Value: 1000000000000000000 Data: 0xd0febe4c v: 41 r: 74848861739711262939117588592280010671199439888877191302662162447749760162664 s: 50823065042415655951288500833614898433657731434939806164429578616341843015305 Intrinsic chainID: Optional(3) Infered chainID: Optional(3) sender: Optional("0x3B867befDa57597623F56442C5D53E600E412c24") hash: Optional("0x372210e7261ffe776ea0fe3edcf5c8a76f2630d2bc6a6ffa8d6e4a6e85380e9a") ), web3swift.TransactionInBlock.transaction(Transaction Nonce: 78 Gas price: 1443631771 Gas limit: 21000 To: 0xdb9E173Ae2734b2fB1EF69d1309E39F92A84c987 Value: 0 Data: 0xc2a672e0000000000000000000000000b7ae94efb23121f5ff9666104856d9c9d4143d6400000000000000000000000000000000000000000000001406064c7fc9428000 v: 41 r: 20217190886468106055153558721989280520143161745773049338122847759982735321775 s: 27433316939602930262401276528610485859039110732853832405384592050845283983994 Intrinsic chainID: Optional(3) Infered chainID: Optional(3) sender: Optional("0x5E47AD039a2d2A070E12157da86739a6E1A91cb8") hash: Optional("0x290052c8a0f27bf517259a7b5e9a05fe2a9e0d7d92809838d335ce866938f5b7") )], uncles: []))
but this result can't check hash in etherscan
The text was updated successfully, but these errors were encountered:
No branches or pull requests
pls ,
but this result can't check hash in etherscan
The text was updated successfully, but these errors were encountered: