| fip | 43 |
|---|---|
| title | Update get_fee validation |
| status | Final |
| type | Functionality |
| author | Pawel Mastalerz <pawel@fioprotocol.io> |
| created | 2022-03-17 |
| updated | 2024-01-19 |
This FIP updates /get_fee to properly return a token fee for actions which are bundle-eligible, but do not require a FIO Address.
| Endpoint | Description |
|---|---|
| /get_fee | Made FIO Address optional for actions which do not require a FIO Address. |
Currently the /get_fee endpoint requires FIO Address for any action which is bundle-eligible. However, not all actions require a FIO Address and may instead be paid with a token fee. This makes it impossible to check a token fee if your FIO Address has enough bundled transaction. It should be possible to check token fee on any action which does not require a FIO Address.
Unchanged
Do not require FIO Address for the following fees:
- /stake_fio_tokens
- /unstake_fio_tokens
- /vote_producer
- /proxy_vote
Unchanged
Change is required to properly communicate fees.
Consider how this list will be updated in the future when a new fee is added on an action which is bundle-eligible but does not require a FIO Address.
No changes to requests/responses in existing actions or getters.
None