Expose all other RPCs.

This commit is contained in:
Gav Wood
2016-12-12 02:57:19 +01:00
parent 2d0d4682ad
commit 758744449f
12 changed files with 215 additions and 18 deletions

View File

@@ -315,4 +315,29 @@ export default class Parity {
.execute('parity_unsignedTransactionsCount')
.then(outNumber);
}
consensusCapability () {
return this._transport
.execute('parity_consensusCapability')
}
versionInfo () {
return this._transport
.execute('parity_versionInfo')
}
releasesInfo () {
return this._transport
.execute('parity_releasesInfo')
}
upgradeReady () {
return this._transport
.execute('parity_upgradeReady')
}
executeUpgrade () {
return this._transport
.execute('parity_executeUpgrade')
}
}