mirror of
https://github.com/ethereum/go-ethereum.git
synced 2026-08-19 10:22:23 +00:00
Add web3 api
This commit is contained in:
parent
d535abc99f
commit
f38efe6b23
1 changed files with 7 additions and 0 deletions
|
|
@ -5358,6 +5358,12 @@ var methods = function () {
|
||||||
outputFormatter: utils.toDecimal
|
outputFormatter: utils.toDecimal
|
||||||
});
|
});
|
||||||
|
|
||||||
|
var getTransactionStatus = new Method({
|
||||||
|
name: 'getTransactionStatus',
|
||||||
|
call: 'eth_getTransactionStatus',
|
||||||
|
params: 1
|
||||||
|
});
|
||||||
|
|
||||||
var sendRawTransaction = new Method({
|
var sendRawTransaction = new Method({
|
||||||
name: 'sendRawTransaction',
|
name: 'sendRawTransaction',
|
||||||
call: 'eth_sendRawTransaction',
|
call: 'eth_sendRawTransaction',
|
||||||
|
|
@ -5444,6 +5450,7 @@ var methods = function () {
|
||||||
getTransactionFromBlock,
|
getTransactionFromBlock,
|
||||||
getTransactionReceipt,
|
getTransactionReceipt,
|
||||||
getTransactionCount,
|
getTransactionCount,
|
||||||
|
getTransactionStatus,
|
||||||
call,
|
call,
|
||||||
estimateGas,
|
estimateGas,
|
||||||
sendRawTransaction,
|
sendRawTransaction,
|
||||||
|
|
|
||||||
Loading…
Reference in a new issue