Contents

txpool_status RPC method

Parameters:

  1. None

Returns:

  1. Object - with following fields:

    Pending - Total number of pending transactions in the txpool, represented in hexadecimal format.

    Queued - Total number of queued transactions in the txpool, represented in hexadecimal format.

Code Examples:

require 'ethereum.rb'
client = Ethereum::HttpClient.new('http://sample-endpoint-name.network.quiknode.pro/token-goes-here/')
txpool = client.send_command('txpool_status', [])
puts txpool["result"]
Ready to try QuickNode? Start your 7-day free trial