txpool_besuPendingTransactions {disallowed} - Ethereum Classic

Example code for the txpool_besuPendingTransactions {disallowed} json-rpc method. Сomplete guide on how to use txpool_besuPendingTransactions {disallowed} json-rpc in GetBlock.io Web3 documentation.

Parameters

numResults - number

Integer representing the maximum number of results to return.

fields - object

Object of fields used to create the filter condition.

Request

curl --location --request POST 'https://go.getblock.io/<ACCESS-TOKEN>/' \
--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"
}

Last updated