MCPcopy Index your code
hub / github.com/NoteProtocol/NoteWallet / refresh

Method refresh

src/urchain.ts:171–178  ·  view source on GitHub ↗
(scriptHash: string)

Source from the content-addressed store, hash-verified

169
170 // Reset unconfirmed transactions
171 async refresh(scriptHash: string): Promise<{
172 message: string;
173 code: string | number;
174 }> {
175 return await this._post("refresh", {
176 scriptHash,
177 });
178 }
179
180 // Broadcast transaction, throw an exception if there's an error, otherwise complete normally
181 async broadcast(rawHex: string): Promise<IBroadcastResult> {

Callers 1

processCommandMethod · 0.45

Calls 1

_postMethod · 0.95

Tested by

no test coverage detected