oc · docs
documentation

@orangecheck/auth-core


@orangecheck/auth-core / BondClaim

Interface: BondClaim

Defined in: index.ts:62

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.

Properties

PropertyTypeDescriptionDefined in
<a id="property-checked_at"></a> checked_atnumberUnix seconds of that check.index.ts:71
<a id="property-days_floor"></a> days_floornumberLargest of 7, 30, 90, 365 days the coin has been unspent; 0 for none.index.ts:67
<a id="property-height"></a> heightnumberBlock height at which the issuer last found the coin unspent.index.ts:69
<a id="property-nullifier"></a> nullifierstringSame for the same coin at your site, unrelated anywhere else. Ban it to ban the coin.index.ts:73
<a id="property-sats_floor"></a> sats_floornumberLargest of 1000, 10000, 100000, 1000000, 10000000 the coin meets; 0 for none.index.ts:65
<a id="property-v"></a> v1-index.ts:63