本页目录
pushTx
广播已签名的原始交易。
方法
declare function pushTx(rawtx: string): Promise<string>;参数
rawtx— 必填string要推送的原始交易
响应
txid — string
示例
const provider = (window.$onekey && window.$onekey.btc) || window.unisat;
const rawtx = "<SIGNED_RAW_TRANSACTION_HEX>";
const txid = await provider.pushTx(rawtx);演示
最后更新于