# 以太坊事务记记录解析

By [Renaissance Labs](https://paragraph.com/@renaissance-labs) · 2022-05-23

---

### 案例1：通过合约进行Token 传输

    {
      "chainId": "1",
      "hash": "0x6bb00616bf0a18c73fe3db045b68b496e0c269cd85971ea9eb988835bfb9dff1",
      "blockHash": "0xb5ecfdac884cf601911b87174fcba59af029400144c85ebc524ee88a5c55d82e",
      "from": "0xd24400ae8BfEBb18cA49Be86258a3C749cf46853",
      "to": "0x5f65f7b609678448494De4C87521CdF6cEf1e932",
      "value": "0",
      "gasPrice": "15515186603",
      "input": "0xfa558b710000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000dfdd0720b8cbc2837e6e9e2cff0634144beb1490000000000000000000000000000000000000000000000000000000000000000100000000000000000000000000000000000000000000000177bdb90cedb38000",
      "methodId": "0xfa558b71",
      "logs": "[{\"address\":\"0x0D8775F648430679A709E98d2b0Cb6250d2887EF\",\"topics\":[\"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef\",\"0x0000000000000000000000005f65f7b609678448494de4c87521cdf6cef1e932\",\"0x000000000000000000000000dfdd0720b8cbc2837e6e9e2cff0634144beb1490\"],\"data\":\"0x00000000000000000000000000000000000000000000000177bdb90cedb38000\",\"blockNumber\":14809532,\"transactionHash\":\"0x6bb00616bf0a18c73fe3db045b68b496e0c269cd85971ea9eb988835bfb9dff1\",\"transactionIndex\":95,\"blockHash\":\"0xb5ecfdac884cf601911b87174fcba59af029400144c85ebc524ee88a5c55d82e\",\"logIndex\":187,\"removed\":false,\"id\":\"log_decf18a5\"}]",
      "contractAddress": "",
      "tokenTransferReferredAddress": [
        "0x5f65f7b609678448494De4C87521CdF6cEf1e932",
        "0xdFdd0720b8Cbc2837E6e9E2cff0634144BeB1490"
      ],
      "nonce": 3157218,
      "blockNumber": 14809532,
      "transactionIndex": 95,
      "gasLimit": 351400,
      "timestamp": 1653028007000,
      "cumulativeGasUsed": 8998445,
      "effectiveGasPrice": 15515186603,
      "gasUsed": 41741,
      "type": 0,
      "maxPriorityFeePerGas": 0,
      "maxFeePerGas": 0,
      "status": true
    }
    

![](https://storage.googleapis.com/papyrus_images/89a5b2e16b66357e4dc05d329f6458e2a0a9748ed2f9a5e14e50ad98a037d50a.png)

![](https://storage.googleapis.com/papyrus_images/3f8e2af8008c64f677c65dc283cc174891ccbdb5f8a8f095c0d546006a982181.png)

### 案例2：通过合约进行Token 传输

    {
      "chainId": "1",
      "hash": "0x91c6a882f261bfed1ab17d327a0a598fbb18c894618cda4af5ca7b8cdb02da0f",
      "blockHash": "0xb5ecfdac884cf601911b87174fcba59af029400144c85ebc524ee88a5c55d82e",
      "from": "0xd24400ae8BfEBb18cA49Be86258a3C749cf46853",
      "to": "0x5f65f7b609678448494De4C87521CdF6cEf1e932",
      "value": "0",
      "gasPrice": "16476561074",
      "input": "0xfa558b710000000000000000000000000d8775f648430679a709e98d2b0cb6250d2887ef000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000001000000000000000000000000dfdd0720b8cbc2837e6e9e2cff0634144beb149000000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000018b84570022a20000",
      "methodId": "0xfa558b71",
      "logs": "[{\"address\":\"0x0D8775F648430679A709E98d2b0Cb6250d2887EF\",\"topics\":[\"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef\",\"0x0000000000000000000000005f65f7b609678448494de4c87521cdf6cef1e932\",\"0x000000000000000000000000dfdd0720b8cbc2837e6e9e2cff0634144beb1490\"],\"data\":\"0x0000000000000000000000000000000000000000000000018b84570022a20000\",\"blockNumber\":14809532,\"transactionHash\":\"0x91c6a882f261bfed1ab17d327a0a598fbb18c894618cda4af5ca7b8cdb02da0f\",\"transactionIndex\":113,\"blockHash\":\"0xb5ecfdac884cf601911b87174fcba59af029400144c85ebc524ee88a5c55d82e\",\"logIndex\":202,\"removed\":false,\"id\":\"log_44d49db4\"}]",
      "contractAddress": "",
      "tokenTransferReferredAddress": [
        "0x5f65f7b609678448494De4C87521CdF6cEf1e932",
        "0xdFdd0720b8Cbc2837E6e9E2cff0634144BeB1490"
      ],
      "nonce": 3157236,
      "blockNumber": 14809532,
      "transactionIndex": 113,
      "gasLimit": 351400,
      "timestamp": 1653028007000,
      "cumulativeGasUsed": 9770210,
      "effectiveGasPrice": 16476561074,
      "gasUsed": 41717,
      "type": 0,
      "maxPriorityFeePerGas": 0,
      "maxFeePerGas": 0,
      "status": true
    }
    

![](https://storage.googleapis.com/papyrus_images/514347566538081730bb27f144a57a24ea1da613c823f5930bd3a724f37c20ce.png)

![](https://storage.googleapis.com/papyrus_images/3cd69010b8cdc971fb5d671dcf44f262e36264d87a1c62f99431a91d2b388da7.png)

### 案例3：通过合约进行Token 传输

     {
                    "chainId": "1",
                    "hash": "0xfa5dcb3077c93a25d8ace6ab7e126a7e91ff5b7b419db78ddb536d8678fec88d",
                    "blockHash": "0xb5ecfdac884cf601911b87174fcba59af029400144c85ebc524ee88a5c55d82e",
                    "from": "0xd24400ae8BfEBb18cA49Be86258a3C749cf46853",
                    "to": "0x5f65f7b609678448494De4C87521CdF6cEf1e932",
                    "value": "0",
                    "gasPrice": "15908947615",
                    "input": "0x2e2d726c000000000000000000000000056fd409e1d7a124bd7017459dfea2f387b6d5cd00000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000b79941039038fe832557bb7f88f3857258a2bd38",
                    "methodId": "0x2e2d726c",
                    "logs": "[{\"address\":\"0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd\",\"topics\":[\"0xddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef\",\"0x000000000000000000000000b79941039038fe832557bb7f88f3857258a2bd38\",\"0x0000000000000000000000005f65f7b609678448494de4c87521cdf6cef1e932\"],\"data\":\"0x0000000000000000000000000000000000000000000000000000000000000064\",\"blockNumber\":14809532,\"transactionHash\":\"0xfa5dcb3077c93a25d8ace6ab7e126a7e91ff5b7b419db78ddb536d8678fec88d\",\"transactionIndex\":99,\"blockHash\":\"0xb5ecfdac884cf601911b87174fcba59af029400144c85ebc524ee88a5c55d82e\",\"logIndex\":190,\"removed\":false,\"id\":\"log_9c38609b\"},{\"address\":\"0x056Fd409E1d7A124BD7017459dFEa2F387b6d5Cd\",\"topics\":[\"0x8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925\",\"0x000000000000000000000000b79941039038fe832557bb7f88f3857258a2bd38\",\"0x0000000000000000000000005f65f7b609678448494de4c87521cdf6cef1e932\"],\"data\":\"0xffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff\",\"blockNumber\":14809532,\"transactionHash\":\"0xfa5dcb3077c93a25d8ace6ab7e126a7e91ff5b7b419db78ddb536d8678fec88d\",\"transactionIndex\":99,\"blockHash\":\"0xb5ecfdac884cf601911b87174fcba59af029400144c85ebc524ee88a5c55d82e\",\"logIndex\":191,\"removed\":false,\"id\":\"log_72666e14\"}]",
                    "contractAddress": "",
                    "tokenTransferReferredAddress": [
                        "0xB79941039038Fe832557bB7f88f3857258A2Bd38",
                        "0x5f65f7b609678448494De4C87521CdF6cEf1e932"
                    ],
                    "nonce": 3157222,
                    "blockNumber": 14809532,
                    "transactionIndex": 99,
                    "gasLimit": 469436,
                    "timestamp": 1653028007000,
                    "cumulativeGasUsed": 9198061,
                    "effectiveGasPrice": 15908947615,
                    "gasUsed": 95122,
                    "type": 0,
                    "maxPriorityFeePerGas": 0,
                    "maxFeePerGas": 0,
                    "status": true
                }
    

![](https://storage.googleapis.com/papyrus_images/e2589378cab0c4d794c4fbb448daeca72adc0e20683b60ff4d7b5aa587f828f1.png)

![](https://storage.googleapis.com/papyrus_images/474a1fec1424f7570e25a17f1d7fbf7709c4c04686f221403d6367adac16cc57.png)

### 案例4：通过合约进行Token 传输，包含内部调用，暂时无法解出

     {
                    "chainId": "1",
                    "hash": "0x441235fd96ea36cc74b1fe7829267c9d75ca32645e51de1cd31f4a4d13b4b402",
                    "blockHash": "0xb5ecfdac884cf601911b87174fcba59af029400144c85ebc524ee88a5c55d82e",
                    "from": "0xd24400ae8BfEBb18cA49Be86258a3C749cf46853",
                    "to": "0x5f65f7b609678448494De4C87521CdF6cEf1e932",
                    "value": "0",
                    "gasPrice": "16408947615",
                    "input": "0x96aa736800000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000001000000000000000000000000bd00cda332133f8482894c11eb58bf99c31e30a2",
                    "methodId": "0x96aa7368",
                    "logs": "[{\"address\":\"0x5f65f7b609678448494De4C87521CdF6cEf1e932\",\"topics\":[\"0xa419615bc8fda4c87663805ee2a3597a6d71c1d476911d9892f340d965bc7bf1\"],\"data\":\"0x000000000000000000000000bd00cda332133f8482894c11eb58bf99c31e30a2000000000000000000000000000000000000000000000000016345785d8a0000\",\"blockNumber\":14809532,\"transactionHash\":\"0x441235fd96ea36cc74b1fe7829267c9d75ca32645e51de1cd31f4a4d13b4b402\",\"transactionIndex\":110,\"blockHash\":\"0xb5ecfdac884cf601911b87174fcba59af029400144c85ebc524ee88a5c55d82e\",\"logIndex\":199,\"removed\":false,\"id\":\"log_4006cf0a\"}]",
                    "contractAddress": "",
                    "tokenTransferReferredAddress": null,
                    "nonce": 3157233,
                    "blockNumber": 14809532,
                    "transactionIndex": 110,
                    "gasLimit": 64200,
                    "timestamp": 1653028007000,
                    "cumulativeGasUsed": 9639384,
                    "effectiveGasPrice": 16408947615,
                    "gasUsed": 38398,
                    "type": 0,
                    "maxPriorityFeePerGas": 0,
                    "maxFeePerGas": 0,
                    "status": true
                }
    

![](https://storage.googleapis.com/papyrus_images/7d90c30de103c88e137a6db2434912edb2f397524e14c2b7d4fde5ec355bd221.png)

![](https://storage.googleapis.com/papyrus_images/1993e5cf982a5a17b825176b5f35ed7fcceef1e458c4cd1309e2ea6c06acf14e.png)

![](https://storage.googleapis.com/papyrus_images/3403e90cd94e30ec063959da696311c908a7fd3eb231e989778f874ecdceef48.png)

vvvv

---

*Originally published on [Renaissance Labs](https://paragraph.com/@renaissance-labs/YM6P36YVSdWNQdzLhZSy)*
