UNPKG

@ngraveio/ur-blockchain-commons

Version:

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

18 lines (17 loc) 623 B
import { Buffer } from 'node:buffer'; declare const PSBT_base: import("@ngraveio/bc-ur").RegistryItemClass<import("@ngraveio/bc-ur").RegistryItemBase>; /** * Partially Signed Bitcoin Transaction (PSBT) * * Definition: https://github.com/BlockchainCommons/Research/blob/master/papers/bcr-2020-006-urtypes.md#partially-signed-bitcoin-transaction-psbt-psbt */ export declare class PSBT extends PSBT_base { psbt: Uint8Array; constructor(psbt: Buffer | Uint8Array); getPSBT: () => Uint8Array<ArrayBufferLike>; verifyInput(input: any): { valid: boolean; reasons?: Error[]; }; } export {};