/

Binance Smart Chain (BSC)

bsc

Binance Smart Chain (BSC)

Method: POST eth_newPendingTransactionFilter

dropdown
POST

eth_newPendingTransactionFilter

创建过滤器以检索新的待处理交易哈希。要轮询新的待处理事务,请使用 eth_getFilterChanges。

Parameters

-

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


Response

{
    "id": "getblock.io",
    "jsonrpc": "2.0",
    "result": "0x5af97f6f76a7c0bf1b2c60e57c9d8d7b"
}