Transaction Decoder

This section provides guidance on how users can interpret and decode the details of their raw transactions using the Transaction Decoder.

Transaction decoding involves passing the raw transaction generated from any of the blockchain POST transactions.

API URL: https://api.expand.network/chain/decodetransaction


Sample Request:

{ 
    "chainId" : "1",
    "rawTransaction":"0xf865808509c9919d87830a4a1194a67e9b68c41b0f26184d64c26e0b2b81466e5994018025a07542477f2599acdda95c37ff0492bd0ac656687780033807e0434ccf69bd4015a005f33bf2cde8001f51b46e18db78049b4509b824f09dccb45b4dbb9087d17049"
}

Sample Response:

{
    "status": 200,
    "msg": "success",
    "data": {
        "parsedTx": {
            "nonce": 0,
            "gasPrice": {
                "type": "BigNumber",
                "hex": "0x09c9919d87"
            },
            "gasLimit": {
                "type": "BigNumber",
                "hex": "0x0a4a11"
            },
            "to": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994",
            "value": {
                "type": "BigNumber",
                "hex": "0x01"
            },
            "data": "0x",
            "chainId": 1,
            "v": 37,
            "r": "0x7542477f2599acdda95c37ff0492bd0ac656687780033807e0434ccf69bd4015",
            "s": "0x05f33bf2cde8001f51b46e18db78049b4509b824f09dccb45b4dbb9087d17049",
            "from": "0xa2e73C17F437688946993F683930E3Fd42Dd4F8C",
            "hash": "0x5c3ef8d1720f481a6dbeb58f4d6cb404f9e2b6f31ba52ba5c8df48142b9e2ad3",
            "type": null
        },
        "assetChanges": {
            "from": "0xa2e73C17F437688946993F683930E3Fd42Dd4F8C",
            "to": "0xa67E9B68c41b0f26184D64C26e0b2B81466E5994",
            "value": {
                "type": "BigNumber",
                "hex": "0x01"
            }
        }
    }
}

Last updated