pub trait NonFungibleTokenCore {
    fn nft_token(&self, token_id: TokenId) -> Option<Token>;
}
Expand description

Used for all non-fungible tokens. The specification for the core non-fungible token standard lays out the reasoning for each method. It’s important to check out NonFungibleTokenReceiver and NonFungibleTokenResolver to understand how the cross-contract call work.

Required Methods§

Returns the token with the given token_id or null if no such token.

Implementors§