このページの内容
pushTx
署名済みの生トランザクションをブロードキャストします。
メソッド
declare function pushTx(rawtx: string): Promise<string>;パラメーター
rawtx— 必須string送信する rawtx
レスポンス
txid — string
例
const provider = (window.$onekey && window.$onekey.btc) || window.unisat;
const rawtx = "<SIGNED_RAW_TRANSACTION_HEX>";
const txid = await provider.pushTx(rawtx);デモ
最終更新日