MCPcopy Create free account
hub / github.com/NoteProtocol/NoteWallet / buildNoteTransaction

Method buildNoteTransaction

src/btc/btc-wallet.ts:154–170  ·  view source on GitHub ↗
(
    payload: NotePayload,
    toAddresses: ISendToAddress[] | ISendToScript[],
    noteUtxos: IUtxo[],
    payUtxos?: IUtxo[],
    feePerKb?: number,
    locktime?: number
  )

Source from the content-addressed store, hash-verified

152 }
153
154 protected async buildNoteTransaction(
155 payload: NotePayload,
156 toAddresses: ISendToAddress[] | ISendToScript[],
157 noteUtxos: IUtxo[],
158 payUtxos?: IUtxo[],
159 feePerKb?: number,
160 locktime?: number
161 ): Promise<ITransaction> {
162 return this.mintP2TRNote(
163 payload,
164 toAddresses,
165 noteUtxos,
166 payUtxos,
167 feePerKb,
168 locktime
169 );
170 }
171
172 async mintP2TRNote(
173 payload: NotePayload,

Callers 5

mintFunction · 0.80
sendTokenEstimateFunction · 0.80
sendTokenFunction · 0.80

Calls 1

mintP2TRNoteMethod · 0.95

Tested by

no test coverage detected