txpool-Namespace

List of supported RPC methods for w3.Client in the txpool-namespace.

txpool_content

Content requests the pending and queued transactions in the transaction pool.

var content *txpool.ContentResponse
client.Call(
    txpool.Content().Returns(&content),
)

txpool_contentFrom

ContentFrom requests the pending and queued transactions in the transaction pool from the given address.

var contentFrom *txpool.ContentFromResponse
client.Call(
    txpool.ContentFrom(addr).Returns(&contentFrom),
)

txpool_status

Status requests the number of pending and queued transactions in the transaction pool.

var status *txpool.StatusResponse
client.Call(
    txpool.Status().Returns(&status),
)