⚡ We welcome businesses to test our enterprise-grade service

arbitrum
Arbitrum

Method: POST shh_getMessages

dropdown

方法 RPC shh_getMessages 例如 Arbitrum

POST shh_getMessages

Method not allowed

获取与过滤器相匹配的所有消息。 与shh_getFilterchanges不同,这将返回所有消息。

Parameters

id - 细绳

过滤器ID。

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_getMessages",
"params": [null],
"id": "getblock.io"}'


Response

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