Skip to Content
dApps
このページの内容

pushPsbt

ファイナライズ済みの PSBT をブロードキャストします。

メソッド

declare function pushPsbt(psbtHex: string): Promise<string>;

パラメーター

  • psbtHex — 必須 string 送信する PSBT の 16 進数文字列

レスポンス

txid — string

例

const provider = (window.$onekey && window.$onekey.btc) || window.unisat; const psbtHex = "<FINALIZED_PSBT_HEX>"; // Supply a complete finalized PSBT const txid = await provider.pushPsbt(psbtHex);

デモ

例を開く 

最終更新日