From 19b06b34df7ef47b33655fa03d8374dcd676e365 Mon Sep 17 00:00:00 2001 From: Albina Nikiforova Date: Thu, 12 Dec 2024 10:09:01 +0100 Subject: [PATCH] feat(suite): expand TokenInfo type to work with NFT --- packages/blockchain-link-types/src/common.ts | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/packages/blockchain-link-types/src/common.ts b/packages/blockchain-link-types/src/common.ts index 75004777e2c..68254bde47f 100644 --- a/packages/blockchain-link-types/src/common.ts +++ b/packages/blockchain-link-types/src/common.ts @@ -5,6 +5,7 @@ import type { AddressAlias, TokenTransfer as BlockbookTokenTransfer, ContractInfo, + MultiTokenValue, StakingPool, } from './blockbook-api'; @@ -188,6 +189,10 @@ export interface TokenInfo { accounts?: TokenAccount[]; // token accounts for solana policyId?: string; // Cardano policy id fingerprint?: string; // Cardano starting with "asset" + multiTokenValues?: MultiTokenValue[]; + ids?: string[]; + totalReceived?: string; + totalSent?: string; // transfers: number, // total transactions? }