(
toAddress: string,
tick: string,
amt: bigint,
feePerKb?: number
)
| 369 | } |
| 370 | |
| 371 | async sendToken( |
| 372 | toAddress: string, |
| 373 | tick: string, |
| 374 | amt: bigint, |
| 375 | feePerKb?: number |
| 376 | ) { |
| 377 | const common = await this.sendTokenCommon(toAddress, tick, amt); |
| 378 | const tx = await this.buildNoteTransaction( |
| 379 | common.payload, |
| 380 | common.toAddresses, |
| 381 | common.tokenUtxos, |
| 382 | common.payUtxos, |
| 383 | feePerKb |
| 384 | ); |
| 385 | return await this.broadcastTransaction(tx); |
| 386 | } |
| 387 | |
| 388 | // Transfer N20 contract Token |
| 389 | async sendTokenToMultiAddresses(tick: string, toAddresses: ISendToAddress[]) { |
nothing calls this directly
no test coverage detected