Skip to content
Permalink
Browse files

Update staking-integrations.md

  • Loading branch information...
thanhson1085 committed Sep 2, 2019
1 parent 79bd51d commit 70835a4802e4fef96b5d9665b8a10962d76226c9
Showing with 0 additions and 19 deletions.
  1. +0 −19 docs/developers/staking-integrations.md
@@ -118,25 +118,6 @@ validator.methods.vote(coinbase).send({
## Unstake/Unvote a candidate
You can unstake by calling `unvote` function from the smart contract

```javascript
// Masternode coinbase address
const coinbase = "0xf8ac9d5022853c5847ef75aea0104eed09e5f402"
validator.methods.unvote(coinbase).send({
from : owner,
value: '50000000000000000000000', // 50000 TOMO
gas: 2000000,
gasPrice: 250000000,
chainId: chainId
})
.then((result) => {
console.log(result)
}).catch(e => console.log(e))
```

## Unstake/Unvote a candidate
You can unstake by calling `unvote` function from the smart contract

```javascript
const cap = '500000000000000000000' // unvote 500 TOMO

0 comments on commit 70835a4

Please sign in to comment.
You can’t perform that action at this time.