Official Go implementation of the Ethereum protocol
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
go-ethereum/rpc/api/net_js.go

20 lines
222 B

10 years ago
package api
const Net_JS = `
web3._extend({
property: 'net',
10 years ago
methods:
[
new web3._extend.Method({
10 years ago
name: 'addPeer',
call: 'net_addPeer',
params: 1,
inputFormatter: [null]
10 years ago
})
],
properties:
[
]
});
`