UNPKG

@apocentre/bc-ur

Version:

A JS implementation of the Uniform Resources (UR) specification from Blockchain Commons

12 lines (11 loc) 303 B
/// <reference types="node" /> export default class UR { private _cborPayload; private _type; constructor(_cborPayload: Buffer, _type?: string); static fromBuffer(buf: Buffer): UR; decodeCBOR(): Buffer; get type(): string; get cbor(): Buffer; equals(ur2: UR): boolean; }