| 74 | export type OtsAttestationKind = 'bitcoin' | 'pending' | 'litecoin' | 'ethereum' | 'unknown' |
| 75 | |
| 76 | export interface OtsAttestation { |
| 77 | kind: OtsAttestationKind |
| 78 | /** |
| 79 | * The 8-byte attestation type tag in lowercase hex. Useful for diagnostics |
| 80 | * and for distinguishing unknown attestation types from each other. |
| 81 | */ |
| 82 | tag: string |
| 83 | /** |
| 84 | * Block height for Bitcoin / Litecoin / Ethereum attestations. Undefined |
| 85 | * when the attestation doesn't carry one (or failed to parse cleanly for |
| 86 | * unknown tags — we don't trust the height of attestations we don't know |
| 87 | * how to interpret). |
| 88 | */ |
| 89 | height?: number |
| 90 | } |
| 91 | |
| 92 | export interface OtsFileSummary { |
| 93 | /** Major version number from the file header. Currently always 1. */ |
nothing calls this directly
no outgoing calls
no test coverage detected