Token

My Stakes List

Returns a list of user stakes for a given wallet and staking pool id

get/api/{portalId}/my-stakes

Request

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

Path parameters

portalIdstring uuid required

unique portal id (provided by Magna)

Query parameters

walletstring required

wallet address to get allocations for

stakingPoolIdstring

staking pool id

Headers

cursornumber

cursor for pagination; not required for the first page; for subsequent pages, use the cursor from the previous response (x-cursor response header)

Response

Ok

idstring uuid required

unique stake id

amountstring required

number of tokens staked

claimablestring required

number of claimable token rewards

withdrawablestring required

number of withdrawable tokens

status'PENDING' | 'UNSTAKED' | 'ACTIVE' | 'FAILED' required

stake status

poolIdstring uuid required

staking pool id

createdAtstring required

staking date

Changes

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