pushTx
Push Transaction
Method
async function pushTx(rawtx: string): stringParams
- rawtx— required- stringrawtx to push
Response
txid — string
Example
const provider = (window.$onekey && window.$onekey.btc) || window.unisat;
const rawtx = "010203"
const txid = async provider.pushTx(rawtx);Demo
Last updated
Was this helpful?