Skip to content

Commit bdfc90a

Browse files
committed
Add deleteTokenPool
Signed-off-by: Andrew Richardson <[email protected]>
1 parent 3c88b71 commit bdfc90a

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

lib/firefly.ts

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -344,6 +344,10 @@ export default class FireFly extends HttpBase {
344344
return this.getOne<FireFlyTokenPoolResponse>(`/tokens/pools/${nameOrId}`, options);
345345
}
346346

347+
async deleteTokenPool(nameOrId: string, options?: FireFlyDeleteOptions) {
348+
await this.deleteOne(`/tokens/pools/${nameOrId}`, options);
349+
}
350+
347351
mintTokens(transfer: FireFlyTokenMintRequest, options?: FireFlyCreateOptions) {
348352
return this.createOne<FireFlyTokenTransferResponse>('/tokens/mint', transfer, options);
349353
}

0 commit comments

Comments
 (0)