signPsbt

Signs any signable inputs of a Partially-Signed Bitcoin Transaction

Method

async function signPsbt(psbt: string): { signed: string } // hex encoded psbt

Response

An object including the signed transaction in hex format

{signed: '<signed Psbt hex>'}

Code Example

const result = await window.webbtc.signPsbt(psbt)

Last updated

Logo

Your bitcoin & nostr companion / from ๐Ÿ with ๐Ÿงก