Timeline for web3js getPastlog return empty array
Current License: CC BY-SA 4.0
9 events
when toggle format | what | by | license | comment | |
---|---|---|---|---|---|
Jul 25, 2022 at 7:43 | comment | added | 张三次 | thanks,i has resolved question. i need give blocknum as param for from and to ,so that i can get data. | |
Jul 20, 2022 at 20:55 | history | edited | Dave Dev Advocate Chainstack | CC BY-SA 4.0 |
deleted 42 characters in body
|
Jul 20, 2022 at 20:50 | history | edited | Dave Dev Advocate Chainstack | CC BY-SA 4.0 |
deleted 42 characters in body
|
Jul 20, 2022 at 20:50 | comment | added | Dave Dev Advocate Chainstack | Could it be the network ID? It should be 1 for mainnet. Once you make it work, you'll need to use the syntax I sent because you will always get an empty array with the original one. | |
Jul 20, 2022 at 20:38 | history | edited | Dave Dev Advocate Chainstack | CC BY-SA 4.0 |
deleted 42 characters in body
|
Jul 17, 2022 at 2:04 | comment | added | 张三次 | This is my start command: geth --http --http.corsdomain '' --networkid 201 --mine --miner.threads 2 --syncmode full --datadir data --http --ws --ws.port "8546" --port "30303" --http.corsdomain "" --nat "any" --http.api eth,web3,personal,net --allow-insecure-unlock --unlock 0,1 --password ./password.sec | |
Jul 17, 2022 at 2:03 | comment | added | 张三次 | thanks ,but it still return empty array .I can get data form test net ,such as rinkeby,but in my local geth will return empty array . I don't know if my start command lost smoething. | |
Jul 15, 2022 at 18:44 | history | edited | Dave Dev Advocate Chainstack | CC BY-SA 4.0 |
added 136 characters in body
|
Jul 15, 2022 at 18:30 | history | answered | Dave Dev Advocate Chainstack | CC BY-SA 4.0 |