Skip to content

Latest commit

 

History

History
39 lines (29 loc) · 832 Bytes

File metadata and controls

39 lines (29 loc) · 832 Bytes

NFT ID

The ID of a non-fungible token (NFT). The NFT ID is composed of the token ID and a serial number.

Constructor Description
new NftId(<tokenId>,<serial>) Initializes the NftId object
new NftId()

Methods

{% tabs %} {% tab title="V1" %}

Method Type Requirement
NftId.fromString(<id>) String Optional

{% code title="Java" %}

new NftId(new TokenId(0,0,2), 56562);

// v1.5.0

{% endcode %}

{% code title="JavaScript" %}

new NftId(new TokenId(0,0,2), 56562);

// v1.4.10

{% endcode %} {% endtab %} {% endtabs %}