pushPsbt
Push Transaction
Method
async function pushPsbt(psbtHex: string): stringParams
- rawtx— required- stringthe 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?
