aboutsummaryrefslogtreecommitdiffstats
path: root/internal
diff options
context:
space:
mode:
authorBas van Kervel <bas@ethdev.com>2016-05-13 01:32:04 +0800
committerBas van Kervel <bas@ethdev.com>2016-05-20 21:54:18 +0800
commit64a6c2c1b6c81fddccc7d3d728b7a05c5814124b (patch)
tree05d6c04a1c5eeb5746425b3d7e691ee071f66c0e /internal
parente798e4fd750745cec99c5a531e42998d9a7be85e (diff)
downloadgo-tangerine-64a6c2c1b6c81fddccc7d3d728b7a05c5814124b.tar
go-tangerine-64a6c2c1b6c81fddccc7d3d728b7a05c5814124b.tar.gz
go-tangerine-64a6c2c1b6c81fddccc7d3d728b7a05c5814124b.tar.bz2
go-tangerine-64a6c2c1b6c81fddccc7d3d728b7a05c5814124b.tar.lz
go-tangerine-64a6c2c1b6c81fddccc7d3d728b7a05c5814124b.tar.xz
go-tangerine-64a6c2c1b6c81fddccc7d3d728b7a05c5814124b.tar.zst
go-tangerine-64a6c2c1b6c81fddccc7d3d728b7a05c5814124b.zip
eth: add new RPC method (personal.) SignAndSendTransaction
Diffstat (limited to 'internal')
-rw-r--r--internal/web3ext/web3ext.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/internal/web3ext/web3ext.go b/internal/web3ext/web3ext.go
index 9ce106cb8..8d5d1500f 100644
--- a/internal/web3ext/web3ext.go
+++ b/internal/web3ext/web3ext.go
@@ -431,6 +431,12 @@ web3._extend({
name: 'importRawKey',
call: 'personal_importRawKey',
params: 2
+ }),
+ new web3._extend.Method({
+ name: 'signAndSendTransaction',
+ call: 'personal_signAndSendTransaction',
+ params: 2,
+ inputFormatter: [web3._extend.formatters.inputTransactionFormatter, null]
})
]
});