Skip to content

MRR models

Pydantic models for MiningRigRentals endpoints — stats, rigs, and control.

rainbowminer_api_client.models.mrr

Models for MiningRigRentals (MRR) endpoints.

Covers: /mrrstats, /mrrrigs, /mrrcontrol.

MrrStat

Bases: RainbowMinerModel

An entry from /mrrstats — algorithm-level MRR statistics.

Attributes:

Name Type Description
Algorithm str | None

MRR algorithm name.

Title str | None

Display title.

SuggPrice float | int | None

Suggested price.

LastPrice float | int | None

Last traded price.

RigsPrice float | int | None

Estimated rig price.

Unit str | None

Hashrate unit.

Hot bool

Whether the algorithm is "hot".

RigsAvail int | None

Number of available rigs.

RigsRented int | None

Number of rented rigs.

HashRate float | int | None

Local hashrate for this algorithm.

MrrRig

Bases: RainbowMinerModel

An entry from /mrrrigs — per-rig MRR data.

Attributes:

Name Type Description
Algorithm str | None

MRR algorithm name.

Title str | None

Display title.

Price float | int | None

Current BTC price.

MinPrice float | int | None

Minimum BTC price.

Modifier float | int | None

Price modifier.

Multiplier float | int | None

Unit multiplier.

MinHours int | None

Minimum rental hours.

MaxHours int | None

Maximum rental hours.

HashRate float | int | None

Local hashrate.

HashRateAdv float | int | None

Advertised hashrate.

MrrControl

Bases: RainbowMinerModel

An entry from /mrrcontrol.

Attributes:

Name Type Description
Name str | None

Controller name.

PriceFactor float | int | None

Price factor applied.

Algorithms list[Any] | None

Algorithms under control.

LastReset str | None

Last reset timestamp.