Testnetsats and USDhb here have no value.
Skip to content
Open testnet app

List USDhb activity ​

One entry per applied USDhb money movement (mint, redeem, stake, unstake, off-venue withdrawal or deposit), cursor-paginated on the same global event sequence as fills; each entry is the WebSocket account frame for that event without its channel field.

GEThttps://testnet.hardbasis.com/v1/usdhb/activity
Auth API key x-api-keyScope readRate limit read budgetEffect read
bash
curl -fsS "$HB/v1/usdhb/activity" \
  -H "x-api-key: $HB_KEY"
python
import os

import requests

HB = os.environ.get("HB", "https://testnet.hardbasis.com")

resp = requests.get(
    f"{HB}/v1/usdhb/activity",
    headers={
        "x-api-key": os.environ["HB_KEY"],
    },
)
resp.raise_for_status()
print(resp.json())
ts
const HB = process.env.HB ?? "https://testnet.hardbasis.com";

const res = await fetch(`${HB}/v1/usdhb/activity`, {
  method: "GET",
  headers: {
    "x-api-key": process.env.HB_KEY!,
  },
});
if (!res.ok) throw new Error(`${res.status} ${await res.text()}`);
console.log(await res.json());
json
{
  "activity": [
    {
      "seq": "100000",
      "tsMs": "100000",
      "type": "UsdhbMintAccepted",
      "payload": {
        "quoteId": "string",
        "accountId": "string",
        "usdhbMicro": "100000",
        "contracts": "100000",
        "priceQ8": "100000",
        "execPriceQ8": "100000",
        "satsInMsat": "100000",
        "feeMsat": "100000",
        "impactMsat": "100000",
        "gapMsat": "100000",
        "edgeMsat": "100000",
        "usdhbBalanceAfterMicro": "100000"
      }
    }
  ],
  "nextBeforeSeq": "100000"
}
json
{
  "error": "string",
  "code": "unauthorized"
}
json
{
  "error": "string",
  "code": "compliance_refused"
}
json
{
  "error": "string",
  "code": "rate_limited"
}

Query parameters ​

limitstringoptional
Page size, 1..200 (default is the endpoint's historical window, not a cap).
beforeSeqstringoptional
Cursor: return rows strictly before this sequence (decimal). Omit for page one.

Responses ​

200 OK
activityobject[]required
Show 36 child fields
when type = UsdhbMintAccepted
seqstringseqrequired
tsMsstringmsrequired
typeconst UsdhbMintAcceptedrequired
payloadobjectrequired
Show 12 child fields
quoteIdstringrequired
accountIdstringrequired
usdhbMicrostringintrequired
contractsstringcontractsrequired
priceQ8stringq8required
execPriceQ8stringq8required
The venue's hedge-short fill price (oracle midQ8 moved by the spread). Impact is not included in this price; see impactMsat.
satsInMsatstringmsatrequired
Total sats debited from the account's free balance for this mint (the quoted amount): margin + feeMsat + the quoted positive impact. Fee and impact are included in satsInMsat, never charged on top.
feeMsatstringmsatrequired
Not an account movement on its own: the mint base fee, included in satsInMsat (not charged separately).
impactMsatstringmsatrequired
Not an account movement: the hedge open's signed price impact at execution (< 0 is a rebate the reserve keeps). The account pays only satsInMsat, which included the QUOTED impact; any difference is gapMsat or edgeMsat, borne by the venue.
gapMsatstringmsatrequired
Not an account movement: what the reserve covered because the mark moved against the venue since the quote. Never debited from the account; >= 0.
edgeMsatstringmsatrequired
Not an account movement: the quote surplus the reserve kept because the mark moved in the venue's favour. Never credited to the account; >= 0.
usdhbBalanceAfterMicrostringintrequired
when type = UsdhbRedeemQueued
seqstringseqrequired
tsMsstringmsrequired
typeconst UsdhbRedeemQueuedrequired
payloadobjectrequired
Show 8 child fields
quoteIdstringrequired
accountIdstringrequired
usdhbMicrostringintrequired
contractsstringcontractsrequired
satsOutQuotedMsatstringmsatrequired
Not an account movement yet: the quoted payout, net of the quoted fees and impact (they are included in this figure, not charged on top). Nothing is credited until UsdhbRedeemed.
reasonstringrequired
usdhbBalanceAfterMicrostringintrequired
usdhbPendingAfterMicrostringintrequired
when type = UsdhbRedeemed
seqstringseqrequired
tsMsstringmsrequired
typeconst UsdhbRedeemedrequired
payloadobjectrequired
Show 5 child fields
quoteIdstringrequired
accountIdstringrequired
satsOutMsatstringmsatrequired
Sats paid out: positive means credited to the account's free balance. Net figure: the base fee, dynamic fee and positive impact are already deducted (included in this amount, not charged separately).
usdhbBalanceAfterMicrostringintrequired
usdhbPendingAfterMicrostringintrequired
when type = UsdhbStaked
seqstringseqrequired
tsMsstringmsrequired
typeconst UsdhbStakedrequired
payloadobjectrequired
Show 5 child fields
accountIdstringrequired
usdhbMicrostringintrequired
sharesMicrostringintrequired
sharePriceQ9stringq9required
susdhbBalanceAfterMicrostringintrequired
when type = UsdhbUnstakeRequested
seqstringseqrequired
tsMsstringmsrequired
typeconst UsdhbUnstakeRequestedrequired
payloadobjectrequired
Show 4 child fields
unstakeIdstringrequired
accountIdstringrequired
sharesMicrostringintrequired
releaseAtMsstringmsrequired
when type = UsdhbUnstaked
seqstringseqrequired
tsMsstringmsrequired
typeconst UsdhbUnstakedrequired
payloadobjectrequired
Show 6 child fields
unstakeIdstringrequired
accountIdstringrequired
sharesMicrostringintrequired
usdhbMicrostringintrequired
sharePriceQ9stringq9required
usdhbBalanceAfterMicrostringintrequired
when type = UsdhbWithdrawalRequested
seqstringseqrequired
tsMsstringmsrequired
typeconst UsdhbWithdrawalRequestedrequired
payloadobjectrequired
Show 6 child fields
withdrawalIdstringrequired
accountIdstringrequired
usdhbMicrostringintrequired
toAddressstringrequired
usdhbBalanceAfterMicrostringintrequired
usdhbPendingAfterMicrostringintrequired
when type = UsdhbWithdrawalPaid
seqstringseqrequired
tsMsstringmsrequired
typeconst UsdhbWithdrawalPaidrequired
payloadobjectrequired
Show 5 child fields
withdrawalIdstringrequired
accountIdstringrequired
usdhbMicrostringintrequired
toAddressstringrequired
issuerRefstringrequired
when type = UsdhbDepositCredited
seqstringseqrequired
tsMsstringmsrequired
typeconst UsdhbDepositCreditedrequired
payloadobjectrequired
Show 5 child fields
accountIdstringrequired
usdhbMicrostringintrequired
txIdstringrequired
fromAddressstringrequired
usdhbBalanceAfterMicrostringintrequired
nextBeforeSeqstring | nullseqrequired

Errors ​

Match on code, never on the message. Full taxonomy in Errors.

CodeStatusRetry
compliance_refused403final
insufficient_scope403final
rate_limited429retryable
referral_forbidden403final
session_limit403final
unauthorized401final
401, 403: A refusal carrying a stable machine code (ErrorCode) beside human error prose.
429: A token bucket is exhausted.

Last updated 2026-11-13 · spec 1.8.0

Program policy v1 · numbers current as of 2026-11-25

Testnet: test sats have no value. Nothing on this page is an offer, a solicitation, or advice.