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

arbitrum
Arbitrum

Method: POST shh_newFilter

dropdown

方法 RPC shh_newFilter 例如 Arbitrum

POST shh_newFilter

Method not allowed

当客户端收到与过滤器选项匹配的耳语消息时,创建过滤器通知。

Parameters

filters - JSON对象

滤镜对象:{“ to”:“ address”(字符串,可选) - 接收器的身份。 在场时,如果客户符合此身份的私钥,它将尝试解密任何传入的消息。 “主题”:[“主题”](字符串数组) - 传入消息的主题应匹配的一系列主题。 }

Request

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


Response

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