Why aren't raw transactions showing up on Etherscan?











up vote
0
down vote

favorite












I am creating and sending raw transactions by starting a Geth node locally and using these commands:




tx = eth.signTransaction({ from: "0x2efd0bf3afb26cfdcb3bed5e6c701a84b7b5f200", to: "0x22d2eb37c7aa972420c5e3f43c1fd808602c74e1",value: web3.toWei(0.0005, "ether"), gas: 21000, gasPrice:30000000000, nonce: 0});




{
raw: "0xf86b808506fc23ac008252089422d2eb37c7aa972420c5e3f43c1fd808602c74e18701c6bf52634000801ba07f3ecb56dafe03a88c2053d3ffa3a81f3717a68b1f76e62eed3e196b8bf69e4ba01dc6df2f67ad4eb3a01f401d8b45367a917b8b7e7c2dcb8933ccce5a482a7115",
tx: {
gas: "0x5208",
gasPrice: "0x6fc23ac00",
hash: "0xe7d97a52f6396b2e344ecd363b41c600165c81481f9fc482356ac1f3e13d0146",
input: "0x",
nonce: "0x0",
r: "0x7f3ecb56dafe03a88c2053d3ffa3a81f3717a68b1f76e62eed3e196b8bf69e4b",
s: "0x1dc6df2f67ad4eb3a01f401d8b45367a917b8b7e7c2dcb8933ccce5a482a7115",
to: "0x22d2eb37c7aa972420c5e3f43c1fd808602c74e1",
v: "0x1b",
value: "0x1c6bf52634000"
}




eth.sendRawTransaction(tx.raw)




I am sure that I have correct addresses and nonce value. However, when I check etherscan, the transaction does not show up, even after many hours. The geth node is not fully synced but this should be fine since I am sending raw transactions and getting a successfully returned hash. Does anyone know what I am doing wrong? Could it be that my node is not connected to enough peers?










share|improve this question






















  • the root cause is your node is not synced with mainnet. so your call will not broadcast to everyone.
    – xds2000
    Nov 9 at 21:08










  • Why won't it broadcast to everyone?
    – Eliza
    Nov 10 at 4:20










  • the node should be synced with mainnet, then the node can submit tx to another node.
    – xds2000
    Nov 10 at 14:24










  • Why does the node need to be synced in order to submit a tx to another node? Shouldn't you be able to send a raw transaction without being synced?
    – Eliza
    Nov 11 at 5:53















up vote
0
down vote

favorite












I am creating and sending raw transactions by starting a Geth node locally and using these commands:




tx = eth.signTransaction({ from: "0x2efd0bf3afb26cfdcb3bed5e6c701a84b7b5f200", to: "0x22d2eb37c7aa972420c5e3f43c1fd808602c74e1",value: web3.toWei(0.0005, "ether"), gas: 21000, gasPrice:30000000000, nonce: 0});




{
raw: "0xf86b808506fc23ac008252089422d2eb37c7aa972420c5e3f43c1fd808602c74e18701c6bf52634000801ba07f3ecb56dafe03a88c2053d3ffa3a81f3717a68b1f76e62eed3e196b8bf69e4ba01dc6df2f67ad4eb3a01f401d8b45367a917b8b7e7c2dcb8933ccce5a482a7115",
tx: {
gas: "0x5208",
gasPrice: "0x6fc23ac00",
hash: "0xe7d97a52f6396b2e344ecd363b41c600165c81481f9fc482356ac1f3e13d0146",
input: "0x",
nonce: "0x0",
r: "0x7f3ecb56dafe03a88c2053d3ffa3a81f3717a68b1f76e62eed3e196b8bf69e4b",
s: "0x1dc6df2f67ad4eb3a01f401d8b45367a917b8b7e7c2dcb8933ccce5a482a7115",
to: "0x22d2eb37c7aa972420c5e3f43c1fd808602c74e1",
v: "0x1b",
value: "0x1c6bf52634000"
}




eth.sendRawTransaction(tx.raw)




I am sure that I have correct addresses and nonce value. However, when I check etherscan, the transaction does not show up, even after many hours. The geth node is not fully synced but this should be fine since I am sending raw transactions and getting a successfully returned hash. Does anyone know what I am doing wrong? Could it be that my node is not connected to enough peers?










share|improve this question






















  • the root cause is your node is not synced with mainnet. so your call will not broadcast to everyone.
    – xds2000
    Nov 9 at 21:08










  • Why won't it broadcast to everyone?
    – Eliza
    Nov 10 at 4:20










  • the node should be synced with mainnet, then the node can submit tx to another node.
    – xds2000
    Nov 10 at 14:24










  • Why does the node need to be synced in order to submit a tx to another node? Shouldn't you be able to send a raw transaction without being synced?
    – Eliza
    Nov 11 at 5:53













up vote
0
down vote

favorite









up vote
0
down vote

favorite











I am creating and sending raw transactions by starting a Geth node locally and using these commands:




tx = eth.signTransaction({ from: "0x2efd0bf3afb26cfdcb3bed5e6c701a84b7b5f200", to: "0x22d2eb37c7aa972420c5e3f43c1fd808602c74e1",value: web3.toWei(0.0005, "ether"), gas: 21000, gasPrice:30000000000, nonce: 0});




{
raw: "0xf86b808506fc23ac008252089422d2eb37c7aa972420c5e3f43c1fd808602c74e18701c6bf52634000801ba07f3ecb56dafe03a88c2053d3ffa3a81f3717a68b1f76e62eed3e196b8bf69e4ba01dc6df2f67ad4eb3a01f401d8b45367a917b8b7e7c2dcb8933ccce5a482a7115",
tx: {
gas: "0x5208",
gasPrice: "0x6fc23ac00",
hash: "0xe7d97a52f6396b2e344ecd363b41c600165c81481f9fc482356ac1f3e13d0146",
input: "0x",
nonce: "0x0",
r: "0x7f3ecb56dafe03a88c2053d3ffa3a81f3717a68b1f76e62eed3e196b8bf69e4b",
s: "0x1dc6df2f67ad4eb3a01f401d8b45367a917b8b7e7c2dcb8933ccce5a482a7115",
to: "0x22d2eb37c7aa972420c5e3f43c1fd808602c74e1",
v: "0x1b",
value: "0x1c6bf52634000"
}




eth.sendRawTransaction(tx.raw)




I am sure that I have correct addresses and nonce value. However, when I check etherscan, the transaction does not show up, even after many hours. The geth node is not fully synced but this should be fine since I am sending raw transactions and getting a successfully returned hash. Does anyone know what I am doing wrong? Could it be that my node is not connected to enough peers?










share|improve this question













I am creating and sending raw transactions by starting a Geth node locally and using these commands:




tx = eth.signTransaction({ from: "0x2efd0bf3afb26cfdcb3bed5e6c701a84b7b5f200", to: "0x22d2eb37c7aa972420c5e3f43c1fd808602c74e1",value: web3.toWei(0.0005, "ether"), gas: 21000, gasPrice:30000000000, nonce: 0});




{
raw: "0xf86b808506fc23ac008252089422d2eb37c7aa972420c5e3f43c1fd808602c74e18701c6bf52634000801ba07f3ecb56dafe03a88c2053d3ffa3a81f3717a68b1f76e62eed3e196b8bf69e4ba01dc6df2f67ad4eb3a01f401d8b45367a917b8b7e7c2dcb8933ccce5a482a7115",
tx: {
gas: "0x5208",
gasPrice: "0x6fc23ac00",
hash: "0xe7d97a52f6396b2e344ecd363b41c600165c81481f9fc482356ac1f3e13d0146",
input: "0x",
nonce: "0x0",
r: "0x7f3ecb56dafe03a88c2053d3ffa3a81f3717a68b1f76e62eed3e196b8bf69e4b",
s: "0x1dc6df2f67ad4eb3a01f401d8b45367a917b8b7e7c2dcb8933ccce5a482a7115",
to: "0x22d2eb37c7aa972420c5e3f43c1fd808602c74e1",
v: "0x1b",
value: "0x1c6bf52634000"
}




eth.sendRawTransaction(tx.raw)




I am sure that I have correct addresses and nonce value. However, when I check etherscan, the transaction does not show up, even after many hours. The geth node is not fully synced but this should be fine since I am sending raw transactions and getting a successfully returned hash. Does anyone know what I am doing wrong? Could it be that my node is not connected to enough peers?







transactions ethereum






share|improve this question













share|improve this question











share|improve this question




share|improve this question










asked Nov 9 at 0:16









Eliza

1




1












  • the root cause is your node is not synced with mainnet. so your call will not broadcast to everyone.
    – xds2000
    Nov 9 at 21:08










  • Why won't it broadcast to everyone?
    – Eliza
    Nov 10 at 4:20










  • the node should be synced with mainnet, then the node can submit tx to another node.
    – xds2000
    Nov 10 at 14:24










  • Why does the node need to be synced in order to submit a tx to another node? Shouldn't you be able to send a raw transaction without being synced?
    – Eliza
    Nov 11 at 5:53


















  • the root cause is your node is not synced with mainnet. so your call will not broadcast to everyone.
    – xds2000
    Nov 9 at 21:08










  • Why won't it broadcast to everyone?
    – Eliza
    Nov 10 at 4:20










  • the node should be synced with mainnet, then the node can submit tx to another node.
    – xds2000
    Nov 10 at 14:24










  • Why does the node need to be synced in order to submit a tx to another node? Shouldn't you be able to send a raw transaction without being synced?
    – Eliza
    Nov 11 at 5:53
















the root cause is your node is not synced with mainnet. so your call will not broadcast to everyone.
– xds2000
Nov 9 at 21:08




the root cause is your node is not synced with mainnet. so your call will not broadcast to everyone.
– xds2000
Nov 9 at 21:08












Why won't it broadcast to everyone?
– Eliza
Nov 10 at 4:20




Why won't it broadcast to everyone?
– Eliza
Nov 10 at 4:20












the node should be synced with mainnet, then the node can submit tx to another node.
– xds2000
Nov 10 at 14:24




the node should be synced with mainnet, then the node can submit tx to another node.
– xds2000
Nov 10 at 14:24












Why does the node need to be synced in order to submit a tx to another node? Shouldn't you be able to send a raw transaction without being synced?
– Eliza
Nov 11 at 5:53




Why does the node need to be synced in order to submit a tx to another node? Shouldn't you be able to send a raw transaction without being synced?
– Eliza
Nov 11 at 5:53












1 Answer
1






active

oldest

votes

















up vote
0
down vote













Thanks for Eliza's Question, let me have some time to try answer the internal caused reason.




  1. Why does the node need to be synced in order to submit a tx to another node?

  2. Answer: it should be broadcast but not sure mined or send. firstly check local node status: eth.pendingTransactions, many more case with your issue is caused by nonce or gas price.


Shouldn't you be able to send a raw transaction without being synced?
2. Answer: if your node is not syncd , you can't correctly get correct address's nonce or currently normal gas price.So i suggest you get a synced node in fast mode or full mode is best options.






share|improve this answer





















    Your Answer






    StackExchange.ifUsing("editor", function () {
    StackExchange.using("externalEditor", function () {
    StackExchange.using("snippets", function () {
    StackExchange.snippets.init();
    });
    });
    }, "code-snippets");

    StackExchange.ready(function() {
    var channelOptions = {
    tags: "".split(" "),
    id: "1"
    };
    initTagRenderer("".split(" "), "".split(" "), channelOptions);

    StackExchange.using("externalEditor", function() {
    // Have to fire editor after snippets, if snippets enabled
    if (StackExchange.settings.snippets.snippetsEnabled) {
    StackExchange.using("snippets", function() {
    createEditor();
    });
    }
    else {
    createEditor();
    }
    });

    function createEditor() {
    StackExchange.prepareEditor({
    heartbeatType: 'answer',
    convertImagesToLinks: true,
    noModals: true,
    showLowRepImageUploadWarning: true,
    reputationToPostImages: 10,
    bindNavPrevention: true,
    postfix: "",
    imageUploader: {
    brandingHtml: "Powered by u003ca class="icon-imgur-white" href="https://imgur.com/"u003eu003c/au003e",
    contentPolicyHtml: "User contributions licensed under u003ca href="https://creativecommons.org/licenses/by-sa/3.0/"u003ecc by-sa 3.0 with attribution requiredu003c/au003e u003ca href="https://stackoverflow.com/legal/content-policy"u003e(content policy)u003c/au003e",
    allowUrls: true
    },
    onDemand: true,
    discardSelector: ".discard-answer"
    ,immediatelyShowMarkdownHelp:true
    });


    }
    });














     

    draft saved


    draft discarded


















    StackExchange.ready(
    function () {
    StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53218059%2fwhy-arent-raw-transactions-showing-up-on-etherscan%23new-answer', 'question_page');
    }
    );

    Post as a guest















    Required, but never shown

























    1 Answer
    1






    active

    oldest

    votes








    1 Answer
    1






    active

    oldest

    votes









    active

    oldest

    votes






    active

    oldest

    votes








    up vote
    0
    down vote













    Thanks for Eliza's Question, let me have some time to try answer the internal caused reason.




    1. Why does the node need to be synced in order to submit a tx to another node?

    2. Answer: it should be broadcast but not sure mined or send. firstly check local node status: eth.pendingTransactions, many more case with your issue is caused by nonce or gas price.


    Shouldn't you be able to send a raw transaction without being synced?
    2. Answer: if your node is not syncd , you can't correctly get correct address's nonce or currently normal gas price.So i suggest you get a synced node in fast mode or full mode is best options.






    share|improve this answer

























      up vote
      0
      down vote













      Thanks for Eliza's Question, let me have some time to try answer the internal caused reason.




      1. Why does the node need to be synced in order to submit a tx to another node?

      2. Answer: it should be broadcast but not sure mined or send. firstly check local node status: eth.pendingTransactions, many more case with your issue is caused by nonce or gas price.


      Shouldn't you be able to send a raw transaction without being synced?
      2. Answer: if your node is not syncd , you can't correctly get correct address's nonce or currently normal gas price.So i suggest you get a synced node in fast mode or full mode is best options.






      share|improve this answer























        up vote
        0
        down vote










        up vote
        0
        down vote









        Thanks for Eliza's Question, let me have some time to try answer the internal caused reason.




        1. Why does the node need to be synced in order to submit a tx to another node?

        2. Answer: it should be broadcast but not sure mined or send. firstly check local node status: eth.pendingTransactions, many more case with your issue is caused by nonce or gas price.


        Shouldn't you be able to send a raw transaction without being synced?
        2. Answer: if your node is not syncd , you can't correctly get correct address's nonce or currently normal gas price.So i suggest you get a synced node in fast mode or full mode is best options.






        share|improve this answer












        Thanks for Eliza's Question, let me have some time to try answer the internal caused reason.




        1. Why does the node need to be synced in order to submit a tx to another node?

        2. Answer: it should be broadcast but not sure mined or send. firstly check local node status: eth.pendingTransactions, many more case with your issue is caused by nonce or gas price.


        Shouldn't you be able to send a raw transaction without being synced?
        2. Answer: if your node is not syncd , you can't correctly get correct address's nonce or currently normal gas price.So i suggest you get a synced node in fast mode or full mode is best options.







        share|improve this answer












        share|improve this answer



        share|improve this answer










        answered Nov 11 at 7:23









        xds2000

        9881013




        9881013






























             

            draft saved


            draft discarded



















































             


            draft saved


            draft discarded














            StackExchange.ready(
            function () {
            StackExchange.openid.initPostLogin('.new-post-login', 'https%3a%2f%2fstackoverflow.com%2fquestions%2f53218059%2fwhy-arent-raw-transactions-showing-up-on-etherscan%23new-answer', 'question_page');
            }
            );

            Post as a guest















            Required, but never shown





















































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown

































            Required, but never shown














            Required, but never shown












            Required, but never shown







            Required, but never shown







            Popular posts from this blog

            List item for chat from Array inside array React Native

            Thiostrepton

            Caerphilly