AptosAptos Network's breakthrough technology and seamless user experience are now available on QuickNode.

Start building today!     

Contents

eth_newPendingTransactionFilter RPC Method

The eth_newPendingTransactionFilter EVM method is only supported on the Avalanche C-Chain.

Parameters:

  1. None

Returns:

  1. Result - A filter id - to be used when calling eth_getFilterChanges.

Code Examples:

To use the eth_newPendingTransactionFilter EVM method on the Avalanche C-Chain, ensure that the end of your URL includes ext/bc/C/rpc.

from web3 import Web3, HTTPProvider
w3 = Web3(HTTPProvider('http://sample-endpoint-name.network.quiknode.pro/token-goes-here/ext/bc/C/rpc'))
newFilterId = w3.eth.filter('pending')
print(newFilterId)
Ready to get started? Create a free account