|
|
@ -61,7 +61,7 @@ defmodule EthereumJSONRPC.PendingTransaction do |
|
|
|
{:ok, [Transaction.params()]} | {:error, reason :: term} |
|
|
|
{:ok, [Transaction.params()]} | {:error, reason :: term} |
|
|
|
def fetch_pending_transactions_besu(json_rpc_named_arguments) do |
|
|
|
def fetch_pending_transactions_besu(json_rpc_named_arguments) do |
|
|
|
with {:ok, transactions} <- |
|
|
|
with {:ok, transactions} <- |
|
|
|
%{id: 1, method: "txpool_besuTransactions", params: []} |
|
|
|
%{id: 1, method: "txpool_besuPendingTransactions", params: [512]} |
|
|
|
|> request() |
|
|
|
|> request() |
|
|
|
|> json_rpc(json_rpc_named_arguments) do |
|
|
|
|> json_rpc(json_rpc_named_arguments) do |
|
|
|
transactions_params = |
|
|
|
transactions_params = |
|
|
|