No description available.
Parameters
Output
application/jsonbalance
integer
Optional
No description available.
collected
integer
Optional
No description available.
error
string
Optional
No description available.
lastUpdated
stringdatetime
Optional
THE ACCRUAL ANCHOR, NOT A WRITE TIME. Income is measured FROM this moment, so it is where the next payout starts rather than when this record was last saved. The two usually coincide, because a settle banks everything and moves the anchor to now — but a PARTIAL collect advances it only as far as the coins actually taken, leaving it EARLIER than the write that produced it. Reading it as "when the wallet was last written" has already cost this project one wrong diagnosis. It is deliberately NOT renamed: it sits inside the signed payload, so changing it would invalidate every wallet attestation ever issued and require rewriting records in players' repos. Absent from the record until the first collect, in which case this reports the moment accrual began instead.
pending
integer
Optional
No description available.
pets
array
Optional
What each pet has earned since the wallet's anchor, so a client can show the money arriving FROM the pets that made it rather than as a number that silently changes. Only pets that earned something appear. Shares are floored individually and capped in proportion when the total exceeds stageMoneyCap, so they may sum to a coin or two under `pending` — they are for showing, and `pending` is the figure to trust.
Try It
Requests are sent directly from your browser. Some servers may block requests due to CORS.
View raw schema
{
"type": "query",
"output": {
"schema": {
"type": "object",
"properties": {
"pets": {
"type": "array",
"items": {
"ref": "#earner",
"type": "ref"
},
"description": "What each pet has earned since the wallet's anchor, so a client can show the money arriving FROM the pets that made it rather than as a number that silently changes. Only pets that earned something appear. Shares are floored individually and capped in proportion when the total exceeds stageMoneyCap, so they may sum to a coin or two under `pending` — they are for showing, and `pending` is the figure to trust."
},
"error": {
"type": "string"
},
"balance": {
"type": "integer"
},
"pending": {
"type": "integer"
},
"collected": {
"type": "integer"
},
"lastUpdated": {
"type": "string",
"format": "datetime",
"description": "THE ACCRUAL ANCHOR, NOT A WRITE TIME. Income is measured FROM this moment, so it is where the next payout starts rather than when this record was last saved. The two usually coincide, because a settle banks everything and moves the anchor to now — but a PARTIAL collect advances it only as far as the coins actually taken, leaving it EARLIER than the write that produced it. Reading it as \"when the wallet was last written\" has already cost this project one wrong diagnosis. It is deliberately NOT renamed: it sits inside the signed payload, so changing it would invalidate every wallet attestation ever issued and require rewriting records in players' repos. Absent from the record until the first collect, in which case this reports the moment accrual began instead."
}
}
},
"encoding": "application/json"
},
"parameters": {
"type": "params",
"required": [
"did"
],
"properties": {
"did": {
"type": "string",
"format": "did"
}
}
}
}