UNPKG

@arkade-os/sdk

Version:

Bitcoin wallet SDK with Taproot and Ark integration

14 lines (13 loc) 580 B
import { Transaction as BtcSignerTransaction } from "@scure/btc-signer"; import { TxOpts } from "@scure/btc-signer/transaction"; import { Bytes } from "@scure/btc-signer/utils"; /** * Transaction is a wrapper around the @scure/btc-signer Transaction class. * It adds the Ark protocol specific options to the transaction. */ export declare class Transaction extends BtcSignerTransaction { static ARK_TX_OPTS: TxOpts; constructor(opts?: TxOpts); static fromPSBT(psbt_: Bytes, opts?: TxOpts): Transaction; static fromRaw(raw: Bytes, opts?: TxOpts): Transaction; }