aboutsummaryrefslogtreecommitdiffstats
path: root/rpc/api/eth_js.go
diff options
context:
space:
mode:
authorJeffrey Wilcke <jeffrey@ethereum.org>2015-10-28 17:49:53 +0800
committerJeffrey Wilcke <jeffrey@ethereum.org>2015-10-28 17:49:53 +0800
commit05f74077fb1bc23937f3b25fd4e826dcf5789212 (patch)
treee1fca4dd2efc253b00e2d39c3c554de87f8b78f9 /rpc/api/eth_js.go
parent2e4fdce74334206dd4341028594bcef140d00b92 (diff)
parent4d005a2c1d2929dc770acd3a2bfed59495c70557 (diff)
downloadgo-tangerine-05f74077fb1bc23937f3b25fd4e826dcf5789212.tar
go-tangerine-05f74077fb1bc23937f3b25fd4e826dcf5789212.tar.gz
go-tangerine-05f74077fb1bc23937f3b25fd4e826dcf5789212.tar.bz2
go-tangerine-05f74077fb1bc23937f3b25fd4e826dcf5789212.tar.lz
go-tangerine-05f74077fb1bc23937f3b25fd4e826dcf5789212.tar.xz
go-tangerine-05f74077fb1bc23937f3b25fd4e826dcf5789212.tar.zst
go-tangerine-05f74077fb1bc23937f3b25fd4e826dcf5789212.zip
Merge pull request #1919 from ethersphere/getnatspec
rpc api: eth_getNatSpec
Diffstat (limited to 'rpc/api/eth_js.go')
-rw-r--r--rpc/api/eth_js.go6
1 files changed, 6 insertions, 0 deletions
diff --git a/rpc/api/eth_js.go b/rpc/api/eth_js.go
index 393dac22f..75c103c9d 100644
--- a/rpc/api/eth_js.go
+++ b/rpc/api/eth_js.go
@@ -35,6 +35,12 @@ web3._extend({
call: 'eth_resend',
params: 3,
inputFormatter: [web3._extend.formatters.inputTransactionFormatter, web3._extend.utils.fromDecimal, web3._extend.utils.fromDecimal]
+ }),
+ new web3._extend.Method({
+ name: 'getNatSpec',
+ call: 'eth_getNatSpec',
+ params: 1,
+ inputFormatter: [web3._extend.formatters.inputTransactionFormatter]
})
],
properties: