Skip to content

Interface: BondClaim

Defined in: auth-core/src/index.ts:64 (opens in a new tab)

A bond (oc-attest-protocol BOND.md): one unspent coin the account pledged. The token carries floors, never the coin, so an app learns that a coin of at least sats_floor sats, unspent at least days_floor days, backs this account, and nothing about which coin it is.

PropertiesLink to this section

PropertyTypeDescriptionDefined in
checked_atnumberUnix seconds of that check.auth-core/src/index.ts:73 (opens in a new tab)
days_floornumberLargest of 7, 30, 90, 365 days the coin has been unspent; 0 for none.auth-core/src/index.ts:69 (opens in a new tab)
heightnumberBlock height at which the issuer last found the coin unspent.auth-core/src/index.ts:71 (opens in a new tab)
nullifierstringSame for the same coin at your site, unrelated anywhere else, and keyed by the issuer so it doesn't reveal the coin. *.ochk.io sites share the family session, so they share one. Keep one account per nullifier; block it to block the coin.auth-core/src/index.ts:79 (opens in a new tab)
sats_floornumberLargest of 1000, 10000, 100000, 1000000, 10000000 the coin meets; 0 for none.auth-core/src/index.ts:67 (opens in a new tab)
v1auth-core/src/index.ts:65 (opens in a new tab)