📝 Share Your Feedback on Twitter and Claim 1M Free GetBlock Requests

gno
Gnosis Chain (GNO)

Method: POST shh_getFilterChanges

dropdown

方法 RPC shh_getFilterChanges 例如 Gnosis Chain (GNO)

POST shh_getFilterChanges

方法不允许

耳语过滤器的轮询方法。返回自上次调用此方法以来的新消息。

注意调用 shh_getMessages 方法,将重置此方法的缓冲区,这样您就不会收到重复的消息。

Parameters

QUANTITY -

过滤器标识

Request

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


Response

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