@btx-tools SDK — BTX service-challenge admission control
    Preparing search index...

    Binding identifies the (purpose, resource, subject) trio the challenge is scoped to. btxd also embeds hashes + anchor info for replay protection.

    interface ChallengeBinding {
        anchor_hash: string;
        anchor_height: number;
        chain: string;
        challenge_id_rule?: string;
        purpose: string;
        resource: string;
        resource_hash: string;
        salt: string;
        seed_derivation_rule?: string;
        subject: string;
        subject_hash: string;
        [k: string]: unknown;
    }

    Indexable

    • [k: string]: unknown

      Open extension — btxd may add fields without breaking us.

    Index

    Properties

    anchor_hash: string
    anchor_height: number
    chain: string
    challenge_id_rule?: string

    Hashing rule used to compute challenge_id. Treat as opaque docstring from btxd.

    purpose: string
    resource: string
    resource_hash: string
    salt: string
    seed_derivation_rule?: string
    subject: string
    subject_hash: string