Skip to content
docs

UNSTAKED_DUST

const UNSTAKED_DUST: 1000000n = 1_000_000n

Defined in: protocol-staking-liquid-near/src/constants.ts:31

Unstaked balances at or below this many yoctoNEAR are treated as empty. deposit_and_stake charges the share price rounded down and leaves the remainder (a yocto or two) unstaked; offering to withdraw it would cost more gas than it is worth.