@pwngh/economy-lab
    Preparing search index...

    Function earned

    • A user's earned account: revenue owed to them as a seller, which the platform must pay out. Cashing out goes through requestPayout, which moves earned money into the payout reserve; earned balances class as excluded in the backing check, so only the custodial spendable side raises the required trust cash.

      Parameters

      • userId: string

      Returns AccountRef