Minerals
The wallet and what passes through it.
What levels gave, and what was sent or received. Collecting what a level owes twice does not pay twice.
/api/ v1/ mineralsWhat the account earned, and the last fifty transfers it appears in, on either side.
/api/ v1/ mineralsCollects what levels owe. Asking twice does not pay twice: the rows are keyed on the account and the level, so the second call inserts nothing and answers an empty list.
/api/ v1/ minerals/ transfersSends minerals to somebody. Every amount is checked again by the database, which is the only place that knows what the sender has, and it names the mineral that ran short.
Body
| Field | Type | Notes |
|---|---|---|
usernamerequired | string | Who receives them. |
itemsrequired | object | One mineral to each whole amount above zero. |
note | string | Up to 280 characters. |