Hierarchy

Constructors

Properties

_nftMethod: NFTMethod
offchainStores: NamedRegistry

Methods

  • Gets all escrowed NFTs for a specific chain ID.

    Example

     lisk-core endpoint:invoke nft_getEscrowedNFTIDs '{ "chainID":"04000001" }' --pretty
    

    Returns

    A list of escrowed NFT for the specified chain ID.

    Parameters

    Returns Promise<{
        escrowedNFTIDs: string[];
    }>

  • Gets a specific NFT.

    Example

     lisk-core endpoint:invoke nft_getNFT '{ "id":"04000000000000010000000000000001" }' --pretty
    

    Returns

    The NFT with the specified "NFT ID".

    Parameters

    Returns Promise<{
        attributesArray: ({ module: string; attributes: string; })[];
        lockingModule?: string;
        owner: string;
    }>

  • Gets all NFT owned by a specific account.

    Example

     lisk-core endpoint:invoke nft_getNFTs '{ "address": "lsk24cd35u4jdq8szo3pnsqe5dsxwrnazyqqqg5eu" }' --pretty
    

    Returns

    A list of all NFT owned by the specified account.

    Parameters

    Returns Promise<{
        nfts: {
            attributesArray: ({ module: string; attributes: string; })[];
            id: string;
            lockingModule?: string;
        }[];
    }>

  • Returns all supported NFT collections of the network.

    Example

     lisk-core endpoint:invoke nft_getSupportedCollectionIDs --pretty
    

    Returns

    A list of all NFT collection IDs that are supported by the network.

    Parameters

    Returns Promise<{
        supportedCollectionIDs: string[];
    }>

  • Checks whether an account owns a specific NFT or not.

    Example

     lisk-core endpoint:invoke nft_hasNFT '{ "address": "lsk24cd35u4jdq8szo3pnsqe5dsxwrnazyqqqg5eu", "id":"04000000000000010000000000000001" }' --pretty
    

    Returns

    true if the account owns the NFT, false if not.

    Parameters

    Returns Promise<{
        hasNFT: boolean;
    }>

  • Checks whether a specific NFT collection ID is supported by the network.

    Example

     lisk-core endpoint:invoke nft_isCollectionIDSupported '{ "chainID":"04000001","collectionID":"00000001" }' --pretty
    

    Returns

    true if the specified NFT collection is supported, false if not.

    Parameters

    Returns Promise<{
        isCollectionIDSupported: boolean;
    }>

  • Checks whether a specific NFT is supported by the network.

    Example

     lisk-core endpoint:invoke nft_isNFTSupported '{ "nftID":"04000000000000010000000000000001" }' --pretty
    

    Returns

    true if the NFT is supported, false if not.

    Parameters

    Returns Promise<{
        isNFTSupported: boolean;
    }>

Generated using TypeDoc