From 5d99525f2c852020c5ba329274697530afda6da2 Mon Sep 17 00:00:00 2001 From: Joel-David Wong <4586209+joeldavidw@users.noreply.github.com> Date: Mon, 14 Feb 2022 13:26:33 +0800 Subject: [PATCH] Added auctionburn to burninfo (#1050) --- docs/node/CATEGORIES/08-account.md | 4 ++++ packages/jellyfish-api-core/src/category/account.ts | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/docs/node/CATEGORIES/08-account.md b/docs/node/CATEGORIES/08-account.md index d13ae369db..5824c912e4 100644 --- a/docs/node/CATEGORIES/08-account.md +++ b/docs/node/CATEGORIES/08-account.md @@ -413,6 +413,10 @@ interface BurnInfo { * Value of burn after payback */ paybackburn: BigNumber + /** + * Amount collected via auction burn + */ + auctionburn: BigNumber /** * Formatted as AMOUNT@SYMBOL */ diff --git a/packages/jellyfish-api-core/src/category/account.ts b/packages/jellyfish-api-core/src/category/account.ts index 4707fe2a66..d9f3f9921e 100644 --- a/packages/jellyfish-api-core/src/category/account.ts +++ b/packages/jellyfish-api-core/src/category/account.ts @@ -504,6 +504,10 @@ export interface BurnInfo { * Amount collected via emission burn */ emissionburn: BigNumber + /** + * Amount collected via auction burn + */ + auctionburn: BigNumber /** * Value of burn after payback */