AutoTopOffConfigInput
input type
Auto-top-off input for a TokenAccount
Fields
| Field | Type | Required | Notes |
|---|---|---|---|
enabled | Boolean Boolean! | yes | Whether the wallet tops itself up when the balance falls below the threshold. |
thresholdTokens | Int Int! | yes | The balance, in millions of kernels, that triggers a top-up when the wallet falls below it — zero or more. |
amountUsdCents | Int Int! | yes | How 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. |
budgetCapUsdCents | Int Int! | yes | The most the top-ups may spend in a calendar month, in USD cents — at least one top-up amount. |
dailyCapUsdCents | Int | no | the optional per-day ceiling — must cover ≥ one amountUsdCents fire and ≤ the month cap (the coherence refines). |