Type alias DidBtcIdentifier

DidBtcIdentifier: {
    blockHeight: number;
    didIndex?: number;
    network?: Network;
    txIndex: number;
}

The data components encoded in a did:btc identifier.

Type declaration

  • blockHeight: number

    The block height in which the DID creation transaction was confirmed.

  • Optional didIndex?: number

    If the DID was created in a batch, the index of the initial DID key in the batch.

  • Optional network?: Network

    The bitcoin network the DID was created on.

  • txIndex: number

    The index of the DID creation transaction in the block in which it was confirmed.