⚡ We welcome businesses to test our enterprise-grade service

/

Ethereum Classic (ETC)

etc
Ethereum Classic (ETC)

Method: POST priv_getLogs

dropdown

方法 RPC priv_getLogs 例如 Ethereum Classic (ETC)

POST priv_getLogs

Method not allowed

返回匹配指定过滤器对象的日志数组。

对于私人合同,priv_getlogs与公共合同的ETH_GETLOG相同,除了没有自动log Bloom缓存用于私人合同。

Parameters

data - 没有任何

32字节隐私组ID。

Object - 没有任何

过滤器选项对象。

Request

curl --location --request POST 'https://etc.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "priv_getLogs",
"params": [null, null],
"id": "getblock.io"}'


Response

{
    "result": "null",
    "id": "getblock.io",
    "status_code": 405,
    "message": "Method not allowed"
}