A
A
Alexander2018-12-27 06:58:02
blockchain
Alexander, 2018-12-27 06:58:02

Ethereum transactions. How to track their status?

I send a transaction, I get a clear response and TxHash of the transaction:
TxHash: 0x2305c18bc444679c18da8f516827f9978867bb098ccbfb5e7f6b636e74bdcc33

EthereumPHP\Types\TransactionInfo Object
(
    [blockHash:EthereumPHP\Types\TransactionInfo:private] => EthereumPHP\Types\BlockHash Object
        (
            [hash:EthereumPHP\Types\Hash:private] => 0x0000000000000000000000000000000000000000000000000000000000000000
        )

    [blockNumber:EthereumPHP\Types\TransactionInfo:private] => 0
    [from:EthereumPHP\Types\TransactionInfo:private] => EthereumPHP\Types\Address Object
        (
            [address:EthereumPHP\Types\Address:private] => 0x65a8464384ae921d90b65c656c6761b9561806af
        )

    [to:EthereumPHP\Types\TransactionInfo:private] => EthereumPHP\Types\Address Object
        (
            [address:EthereumPHP\Types\Address:private] => 0xca3eb40ccc5fbf9af686e54da865f17b0bf1dda0
        )

    [gas:EthereumPHP\Types\TransactionInfo:private] => 21000
    [gasPrice:EthereumPHP\Types\TransactionInfo:private] => EthereumPHP\Types\Wei Object
        (
            [amount:EthereumPHP\Types\Wei:private] => 1000000000
        )

    [hash:EthereumPHP\Types\TransactionInfo:private] => EthereumPHP\Types\TransactionHash Object
        (
            [hash:EthereumPHP\Types\Hash:private] => 0x2305c18bc444679c18da8f516827f9978867bb098ccbfb5e7f6b636e74bdcc33
        )

    [input:EthereumPHP\Types\TransactionInfo:private] => 0x
    [nonce:EthereumPHP\Types\TransactionInfo:private] => 16
    [transactionIndex:EthereumPHP\Types\TransactionInfo:private] => 0
    [value:EthereumPHP\Types\TransactionInfo:private] => EthereumPHP\Types\Wei Object
        (
            [amount:EthereumPHP\Types\Wei:private] => 2.99937E+17
        )

    [v:EthereumPHP\Types\TransactionInfo:private] => 0x2a
    [r:EthereumPHP\Types\TransactionInfo:private] => 0x512072dd8f83b284ca14c7940d63b25f9f74fb073bb936a716796dbcc7217da4
    [s:EthereumPHP\Types\TransactionInfo:private] => 0x25797e04376e490805209841d94d6cd7af8c39dece4442feba1632f77152b4c6
)

https://ropsten.etherscan.io/tx/0x2305c18bc444679c...
But the transaction did not appear on the ropsten network.
How to track the result of sending a transaction and handle errors based on this sending example?

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question