Staking

Unstake Parameters

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

get/api/{portalId}/parameters/unstake

Request

  • Base URL
    https://portal-api.magna.so
  • Auth
    none declared

Path parameters

portalIdstring uuid required

portal id

Response

Ok

fromstring required

wallet address of the sender

tostring required

address of the contract

datastring required

data of the transaction

platformFeestring required

value of the transaction

Example response

{
  "from": "0x99Fcf70F401A2308C37C7e8d726fFBfe89AF1Bbd",
  "to": "0x1d654f0984e9f42BF8F9bD69A6C23965310c81D1",
  "data": "0x1bff5ed900000000000000000000000000000000000000000000000000000000000000400000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000002463383662336533632d636633382d343139302d626539662d62373936386238353662373800000000000000000000000000000000000000000000000000000000",
  "platformFee": "0"
}

Changes

No recorded changes to this operation across all 1 revision of this API.