Quota
Quota of an account: service state, current period, cap, grant, PAYG, auto-renew, credits, senders and rate limits.
Service state derived by the backend from chain and usage data. There is no matching on-chain flag.
Possible values: [ACTIVE_CAP, ACTIVE_PAYG, RENEWAL_PENDING, HALTED_CAP, HALTED_PAYG_EMPTY, LAPSED, NO_ACCOUNT, SUSPENDED]
True for HALTED_CAP, HALTED_PAYG_EMPTY, LAPSED, NO_ACCOUNT, SUSPENDED.
Unix time in milliseconds.
Possible values: >= 0
The account that would be billed.
Possible values: Value must match regular expression ^erd1[02-9ac-hj-np-z]{58}$
erd1mf4u0jr6786wtz7s7dj6gmpyfafg8e0exh5wvye5cygvvxyyxhpsmj8q0eHow the billed account was found.
Possible values: [own_account, authorized_sender, api_key, free_list, internal]
period object
Unix time in milliseconds.
Possible values: >= 0
cap object
Relay Units.
Possible values: >= 0
Relay Units.
Possible values: >= 0
Relay Units.
Possible values: >= 0
Relay Units.
Possible values: >= 0
Relay Units.
Possible values: >= 0
Unused cap carried over from the previous plan on an upgrade. It expires with the first period of the new plan.
Possible values: >= 0
grant object
Owner-granted RU, consumed first.
Relay Units.
Possible values: >= 0
Unix time in milliseconds.
Possible values: >= 0
payg object
micro-USDC (6 decimals) as JSON integer - operational endpoints.
Possible values: >= 0
micro-USDC (6 decimals) as JSON integer - operational endpoints.
Possible values: >= 0
micro-USDC (6 decimals) as JSON integer - operational endpoints.
Possible values: >= 0
micro-USDC (6 decimals) as JSON integer - operational endpoints.
Possible values: >= 0
Relay Units.
Possible values: >= 0
micro-USDC (6 decimals) as JSON integer - operational endpoints.
Possible values: >= 0
autoRenew object
micro-USDC (6 decimals) as JSON integer - operational endpoints.
Possible values: >= 0
micro-USDC (6 decimals) as JSON integer - operational endpoints.
Possible values: >= 0
Outcome that the contract view quoteRenew predicts for the next renewal. The values are the contract's nine RenewOutcome names in upper snake case (Ok, NotDue, NotEnabled, Price, Credits, TierInactive, QueuedStarted, NoAccount, Paused).
Possible values: [OK, NOT_DUE, NOT_ENABLED, PRICE, CREDITS, TIER_INACTIVE, QUEUED_STARTED, NO_ACCOUNT, PAUSED]
micro-USDC (6 decimals) as JSON integer - operational endpoints.
Possible values: >= 0
senders object
rate object
Per-account ceilings of the tier's rate class.
Possible values: >= 1
Non-negative integer as decimal string (pricing document family).
Possible values: Value must match regular expression ^[0-9]+$
Non-negative integer as decimal string (pricing document family).
Possible values: Value must match regular expression ^[0-9]+$
Non-negative integer as decimal string (pricing document family).
Possible values: Value must match regular expression ^[0-9]+$
Per-transaction RU ceiling of the class, including the data term: 15 for classes 1 and 6, 25 for classes 2-5. admission.maxRuPerTx is the largest value of any class (admission.maxRuPerTxNote).
Possible values: Value must match regular expression ^[0-9]+$
settlement object
Possible values: >= 0
{
"state": "ACTIVE_CAP",
"halted": true,
"chainTimeMs": 0,
"account": "erd1mf4u0jr6786wtz7s7dj6gmpyfafg8e0exh5wvye5cygvvxyyxhpsmj8q0e",
"resolvedFrom": "own_account",
"period": {
"id": 0,
"startMs": 0,
"endMs": 0,
"tier": "string",
"tierId": 0
},
"cap": {
"ru": 0,
"used": 0,
"reserved": 0,
"left": 0,
"bonusLeft": 0,
"carryOver": 0
},
"grant": {
"left": 0,
"expiryMs": 0
},
"payg": {
"enabled": true,
"pricePerRuMicro": 0,
"floating": true,
"escrowMicro": 0,
"unsettledMicro": 0,
"reservedMicro": 0,
"leftRu": 0,
"budgetMicro": 0
},
"autoRenew": {
"enabled": true,
"maxRenewPriceMicro": 0,
"nextPriceMicro": 0,
"predictedOutcome": "OK"
},
"creditsMicro": 0,
"senders": {
"count": 0,
"max": 0
},
"rate": {
"rateClass": 1,
"ruPerSecSustained": 1,
"ruPerSecBurst": 15,
"gasLimitPerSecPerShard": "20000000",
"gasBurst": "200000000",
"maxGasLimit": "100000000",
"maxRuPerTx": "15",
"ruPerHour": 300
},
"settlement": {
"lastSeq": 0,
"lastBatchId": 0,
"lagMs": 0
}
}