pushPsbt
Push Transaction
Method
async function pushPsbt(psbtHex: string): string
Params
rawtx
— requiredstring
the hex string of psbt to push
Response
txid
— string
Example
const provider = (window.$onekey && window.$onekey.btc) || window.unisat;
const psbtHex = "010203"
const txid = async provider.pushPsbt(psbtHex);
Demo
Last updated
Was this helpful?