()
| 259 | } |
| 260 | |
| 261 | async refresh() { |
| 262 | await this.urchain.refresh(this.currentAccount.mainAddress!.scriptHash); |
| 263 | await this.urchain.refresh(this.currentAccount.tokenAddress!.scriptHash); |
| 264 | return await this.getBalance(); |
| 265 | } |
| 266 | |
| 267 | private commitPayloadAddress(data: Buffer) { |
| 268 | const address = generateP2TRCommitDataAddress( |