---
# System prepended metadata

title: Staking/Adaptive Issuance

---

## Staking Operation Examples in the Era of Adaptive Issuance

### Set Delegate Parameters (takes effect after 5 cycles)
#### Limit of Staking Over Baking 5 (5x baker's stake), Edge of Baking Over Staking 0.01 (1% 'fee' taken from rewards)
```
{
  "kind": "transaction",
  "source": "tz1heMGVHQnx7ALDcDKqez8fan64Eyicw4DJ",
  "fee": "357",
  "counter": "1139379",
  "gas_limit": "791",
  "storage_limit": "0",
  "amount": "0",
  "destination": "tz1heMGVHQnx7ALDcDKqez8fan64Eyicw4DJ",
  "parameters": {
    "entrypoint": "set_delegate_parameters",
    "value": {
      "prim": "Pair",
      "args": [
        {
          "int": "5000000"
        },
        {
          "int": "10000000"
        },
        {
          "prim": "Unit"
        }
      ]
    }
  },
}
```

### Stake 75,000 XTZ from tz1heMGVHQnx7ALDcDKqez8fan64Eyicw4DJ
```
{
  "kind": "transaction",
  "source": "tz1heMGVHQnx7ALDcDKqez8fan64Eyicw4DJ",
  "fee": "624",
  "counter": "3790",
  "gas_limit": "3630",
  "storage_limit": "0",
  "amount": "75000000000",
  "destination": "tz1heMGVHQnx7ALDcDKqez8fan64Eyicw4DJ",
  "parameters": {
    "entrypoint": "stake",
    "value": {
      "prim": "Unit"
    }
  },
}
```
### Unstake 15 XTZ from tz2M7M52M1Mt3JJtV4bU34idDZNE3MQKvZoK:
```
{
  "kind": "transaction",
  "source": "tz2M7M52M1Mt3JJtV4bU34idDZNE3MQKvZoK",
  "fee": "718",
  "counter": "27738503",
  "gas_limit": "4335",
  "storage_limit": "0",
  "amount": "15000000",
  "destination": "tz2M7M52M1Mt3JJtV4bU34idDZNE3MQKvZoK",
  "parameters": {
    "entrypoint": "unstake",
    "value": {
      "prim": "Unit"
    }
  },
}
```
### Finalize Unstake from tz1e42w8ZaGAbM3gucbBy8iRypdbnqUj7oWY
```
{
  "kind": "transaction",
  "source": "tz1e42w8ZaGAbM3gucbBy8iRypdbnqUj7oWY",
  "fee": "461",
  "counter": "85",
  "gas_limit": "1829",
  "storage_limit": "0",
  "amount": "0",
  "destination": "tz1e42w8ZaGAbM3gucbBy8iRypdbnqUj7oWY",
  "parameters": {
    "entrypoint": "finalize_unstake",
    "value": {
      "prim": "Unit"
    }
  },
}
```

### Or from command-line via octez-client:

```
octez-client set delegate parameters for my_baker \
  --limit-of-staking-over-baking 5 \
  --edge-of-baking-over-staking 0.01
octez-client stake 75000 for my_address
octez-client unstake 15 for my_address
octez-client finalize unstake for my_address
```

#### Ghostnet examples:
https://ghostnet.tzkt.io/tz1gL4jRrsTH3AnyYoYVJEz2aA4NrMLJjTN4/operations/

#### Can also use Taquito library if using js/ts:

https://taquito.io/docs/staking

#### More details / Quick Start Guide

https://news.tezoscommons.org/quick-start-guide-for-adaptive-issuance-3dcae6bef5a4