Push Transaction
async function pushTx(rawtx: string): string
rawtx
— requiredstring
rawtx to push
txid
— string
const provider = (window.$onekey && window.$onekey.btc) || window.unisat;
const rawtx = "010203"
const txid = async provider.pushTx(rawtx);
{% embed url="https://codepen.io/OneKeyHQ/pen/VwgGzxO" %}