pub trait InspectExtended<AccountId>: Inspect<AccountId> {
    type Balance: AtLeast32BitUnsigned + FullCodec + Copy + MaybeSerializeDeserialize + Debug + Default;

    fn balance(who: &AccountId) -> Self::Balance;
    fn next_token_id(class: Self::CollectionId) -> Self::ItemId;
}
Expand description

Trait to complement the Inspect trait

Required Associated Types§

Required Methods§

The number of NFTs assigned to who.

Get the next token ID to be minted for a Class

Implementors§