mirror of https://github.com/status-im/web3.js.git
add pending and latest to getBlockTransactionCount and getUncle
This commit is contained in:
parent
3897bc246f
commit
dfbad66d99
|
@ -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
|
||||
});
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
|
@ -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
|
||||
});
|
||||
|
||||
|
|
File diff suppressed because one or more lines are too long
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…
Reference in New Issue