Creates a new BCUR2 decoder instance
Optionaldecoder: URRegistryDecoderOptional URRegistryDecoder instance. If not provided, creates a new one.
Gets the decoded wallet data, if available
The Bitcoin network to use for decoding
The decoded data or null
Gets the decoded PSBT data, if available
The PSBT in base64 format or null
Gets the last error message, if any
The error message or null
Gets the current progress of the decoding process
The progress message
Checks if the decoding process is complete
True if complete, false otherwise
Receives a part of the QR code data and processes it
The text data from the QR code
Resets the decoder state to initial values
Optional URRegistryDecoder instance. If not provided, creates a new one.
OptionalcryptoPSBTFromCBORFactory: (_cborPayload: Buffer) => CryptoPSBTOptional factory function for creating CryptoPSBT instances from CBOR
Class for decoding BCUR2 QR codes containing Bitcoin wallet data. Supports decoding of: