From d1cf606dc23dd0268c024f37dba474a996f5eac9 Mon Sep 17 00:00:00 2001 From: CocoaHuke Date: Fri, 22 Jun 2018 01:18:12 -0700 Subject: [PATCH] all: Add GetTransactionStatus new web3 api --- internal/jsre/deps/web3.js | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/internal/jsre/deps/web3.js b/internal/jsre/deps/web3.js index abd4b4fe58..2494456950 100644 --- a/internal/jsre/deps/web3.js +++ b/internal/jsre/deps/web3.js @@ -5358,6 +5358,12 @@ var methods = function () { outputFormatter: utils.toDecimal }); + var getTransactionStatus = new Method({ + name: 'getTransactionStatus', + call: 'eth_getTransactionStatus', + params: 1 + }); + var sendRawTransaction = new Method({ name: 'sendRawTransaction', call: 'eth_sendRawTransaction', @@ -5444,6 +5450,7 @@ var methods = function () { getTransactionFromBlock, getTransactionReceipt, getTransactionCount, + getTransactionStatus, call, estimateGas, sendRawTransaction,