AlmondTill/G3N API

TokenEntry

object type

One platform token-ledger fact. The wallet's balance = Σ these rows' signed amounts EXACTLY — cached in the SAME transaction as every append (ruling: the ledger never lies — drawdowns record IN FULL and the balance may transiently dip below zero; the floor is the exhaustion CASCADE, never entry-clamping).

Fields

FieldTypeNotes
idID ID!No further notes.
typeString String!No further notes.
captionString String!No further notes.
statusString String!active (a posted fact) — the void lane is FSM data with NO wire op (corrections are authority adjustment entries).
parentIdID ID!The owning TokenAccount.
rootIdID ID!The org-group family root.
createdAtString String!No further notes.
updatedAtString String!No further notes.
revisionNumInt Int!No further notes.
revisionID ID!No further notes.
entryKindString String!purchase | plan_included | grant | drawdown | transfer | adjustment (the registry roster VERBATIM — NO refund, NO expiry; plan_included = the monthly fee's beyond-overhead share auto-credited at settle — banks forever, fungible with purchases).
amountTokensInt Int!The SIGNED integer token amount — the sign IS the flow direction (purchase/grant +, drawdown −, transfer ±, adjustment ±).
reasonStringThe reason text — always present on grant/adjustment (root money moves say why); optional narration otherwise.
tokenPurchaseIdIDThe settled TokenPurchase.
billingChargeIdIDThe BillingCharge whose settle minted this credit.
transferCounterpartRootIdIDThe transfer counterpart's org group.
transferCounterpartEntryIdIDThe transfer counterpart's entry (the sum-conserving pair cross-reference — transfer entries only).
drawdownLinesTokenDrawdownLine [TokenDrawdownLine!]The per-(event × dimension) itemization (drawdown entries only — the transparency law; ruling: each line names ITS usage event).
carriedInMicroTokensIntThe µtoken accrual carried INTO this entry from prior sub-token usage.
carriedOutMicroTokensIntThe µtoken remainder carried OUT to the wallet's microTokenCarry after this entry materialized.
rateCardVersionIntThe rate card that priced this entry.