AlmondTill/G3N API

AutoTopOffConfigInput

input type

Auto-top-off input for a TokenAccount

Fields

FieldTypeRequiredNotes
enabledBoolean Boolean!yesWhether the wallet tops itself up when the balance falls below the threshold.
thresholdTokensInt Int!yesThe balance, in millions of kernels, that triggers a top-up when the wallet falls below it — zero or more.
amountUsdCentsInt Int!yesHow much each top-up buys, in USD cents — 2500 is 25.00 USD. At least 500, the first price step (5.00 USD), and at most 2500000, the single-purchase cap.
budgetCapUsdCentsInt Int!yesThe most the top-ups may spend in a calendar month, in USD cents — at least one top-up amount.
dailyCapUsdCentsIntnothe optional per-day ceiling — must cover ≥ one amountUsdCents fire and ≤ the month cap (the coherence refines).