Unstake

In unstake, just like in Stake. It is necessary to send to the address: 0x0000000000000000000000000000000000000000. The following data are mandatory fields. Please enter the correct staking pool ID and its corresponding tick.

KeyRequiredDescription

p

yes

protocol name,ierc-20

op

yes

unstake

pool

yes

staking pool address

id

yes

staking pool id

details

yes

Unstaking Pool Details, including the tick name and the amt quantity.

Requires attention:

Tthe details include the tick name corresponding to the unstake, as well as the quantity to be unstaked (amt).

For example:

// unstake; send 0eth from self to 0x0000000000000000000000000000000000000000;
 {
     "p": "ierc-20",
     "op": "unstake",
     "pool": "0x0000000000000000000000000000000000000000",
     "id": "1",
     "details": [
       {
         "tick": "ethi",
         "amt": "10000"
       }
     ]
 }

Last updated