Rewards

Track staking rewards

Supported Environments

Luganodes supports the following environments on Polygon, as defined below

Pending Rewards

POST /api/pending-rewards

Track pending rewards of an account staked with Luganodes.

Request Header

Name
Type
Description

x-api-key*

String

Organization API key

Request Body

Name
Type
Description

stake_account_address*

String

Address of stake account

{
    "code": 200,
    "data": {
        "pending_rewards": 54502823.65455097
    }
}

Sample Request

curl --location '{{url}}/polygon/api/pending-rewards' \
--header 'Content-Type: application/json' \
--header 'x-api-key: Organization API key' \
--data '{
    "stake_account_address": "0xcf6Ace29C8Ed34d8233eA9B6B8ae059D2Eaa445"
}'

Response Object

Property
Description
Type

pending_rewards

Rewards which are yet to be claimed by stake account

Number

APR

GET /api/apr

Track Annual Percentage Return ( APR ) of Luganodes.

Request Header

Name
Type
Description

x-api-key*

String

Organization API key

{
    "code": 200,
    "data": {
        "apr_1d": "3.416564",
        "apr_30d": "3.525256",
        "apr_7d": "3.373653"
    }
}

Sample Request

curl --location '{{url}}/api/apr' \
--header 'x-api-key: Organization API key' 

Response Object

Property
Description
Type

apr_1d

Annual percentage return for the past 1 day

Number

apr_7d

Annual percentage return for the past 7 days

Number

apr_30d

Annual percentage return for the past 30 days

Number

Last updated