Closed ENJATZ closed 2 years ago
The nfts from the response of balance_of_nft_origyn contains an array of strings, each string is a token id.
nfts
balance_of_nft_origyn
Reference from ..src/interfaces/nft_origyn.ts:
..src/interfaces/nft_origyn.ts
export interface BalanceResponse { 'nfts' : Array<string>, 'sales' : Array<EscrowRecord>, 'stake' : Array<StakeRecord>, 'multi_canister' : [] | [Array<Principal>], 'escrow' : Array<EscrowRecord>, }
Changing the getUserTokens to reflect this.
getUserTokens
The
nfts
from the response ofbalance_of_nft_origyn
contains an array of strings, each string is a token id.Reference from
..src/interfaces/nft_origyn.ts
:Changing the
getUserTokens
to reflect this.