API reference
USDF and reserve
The dollar that pays for compute, and its 1:1 reserve.
On this page
GET/
The token and reserve, with contract addresses.
Auth: None
No parameters.
GET /v1/reserve
curl https://api.usdf.fi/v1/reserve
GET/
The reserve over time.
Auth: None
| Name | Type | Required | Description |
|---|---|---|---|
chain | string | No | Query. A chain the gateway serves, by its key or id. The default is Robinhood Chain. |
GET /v1/reserve/history
curl https://api.usdf.fi/v1/reserve/history
GET/
The most recent reserve attestation.
Auth: None
No parameters.
GET /v1/reserve/attestations/latest
curl https://api.usdf.fi/v1/reserve/attestations/latest
GET/
Settlement batches onchain.
Auth: API key (Authorization: Bearer sk_) or a session
| Name | Type | Required | Description |
|---|---|---|---|
limit | integer | No | Query. How many batches to return. |
chain | string | No | Query. A chain the gateway serves, by its key or id. The default is Robinhood Chain. |
GET /v1/settlements
curl https://api.usdf.fi/v1/settlements \
-H "Authorization: Bearer $USDF_API_KEY"GET/
Holder payouts on plain USDF are closed. The record of what accrued before they closed: whether payouts to wallets run (payouts.push), and each hour's Merkle root.
Auth: None
No parameters.
GET /v1/holders/rewards
curl https://api.usdf.fi/v1/holders/rewards
GET/
Its holder payout record: what it accrued before holder payouts closed, and what was paid.
Auth: None
| Name | Type | Required | Description |
|---|---|---|---|
address | string | Yes | Path. A 0x address. |
GET /v1/holders/rewards/{address}
curl https://api.usdf.fi/v1/holders/rewards/{address}GET/
The account's own holder payout record: what its Foundry balance and its linked wallet accrued before holder payouts closed, and what was paid.
Auth: API key (Authorization: Bearer sk_) or a session
No parameters.
GET /v1/holders/rewards/me
curl https://api.usdf.fi/v1/holders/rewards/me \
-H "Authorization: Bearer $USDF_API_KEY"