you_getFilterLogs

描述:返回指定编号过滤器中的全部日志

parameter

数据类型 备注
String 过滤器编号
"params": ["0x2fa8eb10a9e6af03a3c3a457ac56a69a"]

return

请参阅 you_getFilterChanges

example

request

curl -X POST \
  http://127.0.0.1:8283 \
  -H 'Content-Type: application/json' \
  -d '{
    "jsonrpc": "2.0",
    "id": 1,
    "method": "you_getFilterLogs",
    "params": ["0x2fa8eb10a9e6af03a3c3a457ac56a69a"]
}'

response

{
    "jsonrpc": "2.0",
    "id": 1,
    "result": [
        {
            "address": "0xcF9F5007AA1A9ae7b8092DBE3E12B3B97fD5b18D",
            "topics": [
                "0xa3c155334a3d6a20244e2ffa767f9d0f580b2aa45c8c109a32994c2ca6b1ae56",
                "0x00000000000000000000000059677fd68ec54e43ad4319d915f81748b5a6ff8b",
                "0x00000000000000000000000059677fd68ec54e43ad4319d915f81748b5a6ff8b"
            ],
            "data": "0x000000000000000000000000000000000000000000000001bc16d674ec800000000000000000000000000000000000000000000000000000000000000000006000000000000000000000000000000000000000000000000000000000000000a00000000000000000000000000000000000000000000000000000000000000009594f5532436861696e00000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000004594f553200000000000000000000000000000000000000000000000000000000",
            "blockNumber": "0x252e",
            "transactionHash": "0x2e0b68384cff7687ed949d10be9115c1d15a81b585811f5f32ee0a161a2c4cfc",
            "transactionIndex": "0x0",
            "blockHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
            "logIndex": "0x0",
            "removed": false
        },
        {
            "address": "0xcF9F5007AA1A9ae7b8092DBE3E12B3B97fD5b18D",
            "topics": [
                "0x9da4d4e7c55ced00d6746c1f797f400d6911c37c947eacdbd5381a82fa962e8c",
                "0x00000000000000000000000059677fd68ec54e43ad4319d915f81748b5a6ff8b",
                "0x00000000000000000000000059677fd68ec54e43ad4319d915f81748b5a6ff8b"
            ],
            "data": "0x00000000000000000000000000000000000000000000000000000000000000200000000000000000000000000000000000000000000000000000000000000009594f5532436861696e0000000000000000000000000000000000000000000000",
            "blockNumber": "0x252e",
            "transactionHash": "0x2e0b68384cff7687ed949d10be9115c1d15a81b585811f5f32ee0a161a2c4cfc",
            "transactionIndex": "0x0",
            "blockHash": "0x0000000000000000000000000000000000000000000000000000000000000000",
            "logIndex": "0x1",
            "removed": false
        }
    ]
}