eth

Ethereum (ETH)

Method: POST txpool_besuPendingTransaction

dropdown
POST

txpool_besuPendingTransaction

方法不允许

列出与提供的过滤条件匹配的待处理事务。

Parameters

QUANTITY -

表示要返回的最大结果数的整数。

Object of fields used to create the filter condition. -

表示要返回的最大结果数的整数。

Request

curl --location --request POST 'https://eth.getblock.io/mainnet/' 
--header 'x-api-key: YOUR-API-KEY' 
--header 'Content-Type: application/json' 
--data-raw '{"jsonrpc": "2.0",
"method": "txpool_besuPendingTransaction",
"params": [2, {"from": {"eq": "0xfe3b557e8fb62b89f4916b721be55ceb828dbd73"}, "gas": {"lt": "0x5209"}, "nonce": {"gt": "0x1"}}],
"id": "getblock.io"}'


Response

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