Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • FIO Tokens Staked: N/A

  • Current APY

    • Based on last 30 days: N/A

    • Based on last 7 days: N/A

    • Based on last 1 day: N/A

Action

...

Staking Calculator

Step

Endpoint

Request

Response

User enters FIO Handle and clicks Lookup Now!

Get FIO Public Key

POST https://fio.blockpane.com/v1/chain/get_pub_address

Code Block
{
    "fio_address": "FIO Handle entered by user",
    "chain_code": "FIO",
    "token_code": "FIO"
}

Use public_address in next step

Code Block
{
    "public_address": "FIO81t9wb3849tiEBeTK1GgMqjvvwuFtZ5C6mWT6k1k2RWuQXSXcR"
}

Get Balances

POST https://fio.

...

...

v1/chain/get_fio_balance

Code Block
{
  "fio_public_key": "FIO81t9wb3849tiEBeTK1GgMqjvvwuFtZ5C6mWT6k1k2RWuQXSXcR"
}
  • Use staked as Staked FIO

  • Compute Total Rewards Earned:

    • ((srps*roe)-staked)/1000000000

Code Block
{
    "balance": 5279742532709,
    "available": 4979742532709,
    "staked": 300000000000,
    "srps": 600000000000,
    "roe": "0.709415045213715"
}

If no valid response or staked is 0 display “Nothing to Display”

Staking Overview

  • To incentivize governance participation, FIO Token can be staked.

  • Token holders who vote or proxy their FIO Tokens can choose to stake any amount of tokens held in their account.

  • The staked tokens never leave user’s account, but are locked and cannot be spent.

  • When tokens are staked, they accrue Staking Rewards.

  • When the token holder unstakes their tokens, they receive the accrued Staking Rewards and their staked tokens remain locked for an additional period of 7 days after unstaking.

...