mirror of
https://github.com/status-im/web3.js.git
synced 2025-02-23 19:48:13 +00:00
add pending and latest to getBlockTransactionCount and getUncle
This commit is contained in:
parent
3897bc246f
commit
dfbad66d99
4
dist/web3-light.js
vendored
4
dist/web3-light.js
vendored
@ -1850,7 +1850,7 @@ var getUncle = new Method({
|
||||
name: 'getUncle',
|
||||
call: uncleCall,
|
||||
params: 2,
|
||||
inputFormatter: [utils.toHex, utils.toHex],
|
||||
inputFormatter: [formatters.inputBlockNumberFormatter, utils.toHex],
|
||||
outputFormatter: formatters.outputBlockFormatter,
|
||||
|
||||
});
|
||||
@ -1888,7 +1888,7 @@ var getTransactionFromBlock = new Method({
|
||||
name: 'getTransactionFromBlock',
|
||||
call: transactionFromBlockCall,
|
||||
params: 2,
|
||||
inputFormatter: [utils.toHex, utils.toHex],
|
||||
inputFormatter: [formatters.inputBlockNumberFormatter, utils.toHex],
|
||||
outputFormatter: formatters.outputTransactionFormatter
|
||||
});
|
||||
|
||||
|
2
dist/web3-light.js.map
vendored
2
dist/web3-light.js.map
vendored
File diff suppressed because one or more lines are too long
5
dist/web3-light.min.js
vendored
5
dist/web3-light.min.js
vendored
File diff suppressed because one or more lines are too long
4
dist/web3.js
vendored
4
dist/web3.js
vendored
@ -1850,7 +1850,7 @@ var getUncle = new Method({
|
||||
name: 'getUncle',
|
||||
call: uncleCall,
|
||||
params: 2,
|
||||
inputFormatter: [utils.toHex, utils.toHex],
|
||||
inputFormatter: [formatters.inputBlockNumberFormatter, utils.toHex],
|
||||
outputFormatter: formatters.outputBlockFormatter,
|
||||
|
||||
});
|
||||
@ -1888,7 +1888,7 @@ var getTransactionFromBlock = new Method({
|
||||
name: 'getTransactionFromBlock',
|
||||
call: transactionFromBlockCall,
|
||||
params: 2,
|
||||
inputFormatter: [utils.toHex, utils.toHex],
|
||||
inputFormatter: [formatters.inputBlockNumberFormatter, utils.toHex],
|
||||
outputFormatter: formatters.outputTransactionFormatter
|
||||
});
|
||||
|
||||
|
2
dist/web3.js.map
vendored
2
dist/web3.js.map
vendored
File diff suppressed because one or more lines are too long
4
dist/web3.min.js
vendored
4
dist/web3.min.js
vendored
File diff suppressed because one or more lines are too long
@ -110,7 +110,7 @@ var getUncle = new Method({
|
||||
name: 'getUncle',
|
||||
call: uncleCall,
|
||||
params: 2,
|
||||
inputFormatter: [utils.toHex, utils.toHex],
|
||||
inputFormatter: [formatters.inputBlockNumberFormatter, utils.toHex],
|
||||
outputFormatter: formatters.outputBlockFormatter,
|
||||
|
||||
});
|
||||
@ -148,7 +148,7 @@ var getTransactionFromBlock = new Method({
|
||||
name: 'getTransactionFromBlock',
|
||||
call: transactionFromBlockCall,
|
||||
params: 2,
|
||||
inputFormatter: [utils.toHex, utils.toHex],
|
||||
inputFormatter: [formatters.inputBlockNumberFormatter, utils.toHex],
|
||||
outputFormatter: formatters.outputTransactionFormatter
|
||||
});
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user