Skip to main content

RateClass

One entry of rateClasses.classes[]. The limits the API applies never exceed the on-chain getRateClasses() table.

rateClassintegerrequired

Possible values: >= 1

ruPerSecSustainedintegerrequired
ruPerSecBurstintegerrequired
gasLimitPerSecPerShardDecimalStringrequired

Non-negative integer as decimal string (pricing document family).

Possible values: Value must match regular expression ^[0-9]+$

gasBurstDecimalString

Non-negative integer as decimal string (pricing document family).

Possible values: Value must match regular expression ^[0-9]+$

maxGasLimitDecimalString

Non-negative integer as decimal string (pricing document family).

Possible values: Value must match regular expression ^[0-9]+$

maxRuPerTxDecimalString

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]+$

ruPerHourinteger
RateClass
{
"rateClass": 1,
"ruPerSecSustained": 1,
"ruPerSecBurst": 15,
"gasLimitPerSecPerShard": "20000000",
"gasBurst": "200000000",
"maxGasLimit": "100000000",
"maxRuPerTx": "15",
"ruPerHour": 300
}