---
title: "Unstake Parameters"
method: GET
path: "/api/{portalId}/parameters/unstake"
tags: ["Staking"]
---

# Unstake Parameters

`GET /api/{portalId}/parameters/unstake`

## Request

- Base URL: `https://portal-api.magna.so`
- URL: `https://portal-api.magna.so/api/{portalId}/parameters/unstake`
- Auth: none declared

Constructs transaction parameters for unstake tokens so the user could sign it

## Path parameters

- `portalId` string, uuid, required

## Response `200`

Ok

- object: Ok
  - `from` string, required: wallet address of the sender
  - `to` string, required: address of the contract
  - `data` string, required: data of the transaction
  - `platformFee` string, required: value of the transaction

## Other responses

- `400`: Client Error
- `404`: Not Found
- `500`: Server Error
- `502`: Upstream Error — the portal configuration service could not be reached. Safe to retry.

---

[API](https://skmtc.dev/magna/apis/magna-portal-api.md) - [All operations](https://skmtc.dev/magna/apis/magna-portal-api/llms.txt) - [OpenAPI document](https://skmtc.dev/magna/apis/magna-portal-api/revisions/50f736d73198?raw)
