⚡ We welcome businesses to test our enterprise-grade service

/

BNB Smart Chain (BSC)

bsc
BNB Smart Chain (BSC)

Method: POST shh_getMessages

dropdown

Method RPC shh_getMessages example for BNB Smart Chain (BSC)

POST shh_getMessages

Method not allowed

Get all messages matching a filter. Unlike shh_getFilterChanges this returns all messages.

Parameters

QUANTITY - None

The filter id

Request

curl --location --request POST 'https://bsc.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"
}