pushTx
Push Transaction
Method
async function pushTx(rawtx: string): string
Params
rawtx
— requiredstring
rawtx 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?