(scriptHash: string)
| 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> { |