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

/

Ethereum Classic (ETC)

etc
Ethereum Classic (ETC)

Method: POST txpool_besuPendingTransactions

dropdown

方法 RPC txpool_besuPendingTransactions 例如 Ethereum Classic (ETC)

POST txpool_besuPendingTransactions

Method not allowed

列出了与所提供的过滤条件相匹配的待处理交易。

Parameters

numResults - 数字

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

fields - 目的

用于创建过滤器条件的字段的对象。

Request

curl --location --request POST 'https://etc.getblock.io/mainnet/' \
--header 'x-api-key: YOUR-API-KEY' \
--header 'Content-Type: application/json' \
--data-raw '{"jsonrpc": "2.0",
"method": "txpool_besuPendingTransactions",
"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"
}