Staking

Staking Pools List

Returns a list of staking pools

get/api/{portalId}/staking-pools

Request

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

Path parameters

portalIdstring uuid required

unique portal id (provided by Magna)

Response

200

Example response

{
  "stakingPools": [
    {
      "id": "123e4567-e89b-12d3-a456-426614174000",
      "name": "ETH Staking Pool",
      "description": "Stake your ETH tokens to earn rewards",
      "tokenId": "123e4567-e89b-12d3-a456-426614174001",
      "contractId": "123e4567-e89b-12d3-a456-426614174002",
      "status": "ACTIVE",
      "totalStaked": "1000000000000000000000",
      "totalRewardsDeposited": "50000000000000000000",
      "periodFinish": "2024-12-31T23:59:59Z",
      "minimumStakeAmount": "32000000000000000000",
      "maxApy": "100",
      "averageApy": "7",
      "minimumStakeLength": {
        "value": 1,
        "period": "DAY"
      },
      "stakeWithdrawalDelay": {
        "value": 1,
        "period": "DAY"
      },
      "rewardWithdrawalDelay": {
        "value": 1,
        "period": "DAY"
      },
      "createdAt": "2024-01-01T00:00:00Z",
      "updatedAt": "2024-01-01T00:00:00Z"
    }
  ]
}

Changes

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