public static Task <BlockWithTransactionHashes> SendRequestAsync( this IEthGetBlockWithTransactionsHashesByNumber ethGetBlockWithTransactionsHashesByNumber, long blockNumber, object id = null) { var bockNumberHex = new HexBigInteger(new BigInteger(blockNumber)); return(ethGetBlockWithTransactionsHashesByNumber.SendRequestAsync(bockNumberHex, id)); }
public MedianPriorityFeeHistorySuggestionStrategy(IClient client) { Client = client; _ethGetBlockWithTransactionsHashes = new EthGetBlockWithTransactionsHashesByNumber(client); _ethFeeHistory = new EthFeeHistory(client); }