Geode Document Hub
Search
⌃K

Manage Your Maintenance Fee

Changing your fee doesn't affect the previously created validators!

Learn more about the Maintenance Fee:

Changing Your Fee

const new_fee = x * 10**10 /100 // x%
​
await Portal.switchMaintenanceFee(id, new_fee)

3 Day Rule

When a Pool's fee is changed, it takes 3 days for new fee to take effect.
Within this 3-day period the fee cannot be changed again.
This applies to Operator Fees as well, and prevents misleading behavior within our marketplace.

Claiming Your Fees

Internal Wallet

Every ID has an Internal Wallet, which makes transferring Ether easier for both Geode's Portal, and it's users.
The Internal Wallet is the place where your fees will accrue over time.
const wallet_balance = Portal.readUintForId(id, getBytes("wallet"));
​
await Portal.decreaseWalletBalance(id, wallet_balance);