ERC6909Metadata
Functions
name
Returns the name of the token
function name(uint256 tokenId_) public view virtual returns (string memory);
Parameters
Name | Type | Description |
---|---|---|
tokenId_ | uint256 | The ID of the token |
Returns
Name | Type | Description |
---|---|---|
<none> | string | string The name of the token |
symbol
Returns the symbol of the token
function symbol(uint256 tokenId_) public view virtual returns (string memory);
Parameters
Name | Type | Description |
---|---|---|
tokenId_ | uint256 | The ID of the token |
Returns
Name | Type | Description |
---|---|---|
<none> | string | string The symbol of the token |
decimals
Returns the number of decimals used by the token
function decimals(uint256 tokenId_) public view virtual returns (uint8);
Parameters
Name | Type | Description |
---|---|---|
tokenId_ | uint256 | The ID of the token |
Returns
Name | Type | Description |
---|---|---|
<none> | uint8 | uint8 The number of decimals used by the token |
tokenURI
Returns the URI of the token
function tokenURI(uint256 tokenId_) public view virtual returns (string memory);
Parameters
Name | Type | Description |
---|---|---|
tokenId_ | uint256 | The ID of the token |
Returns
Name | Type | Description |
---|---|---|
<none> | string | string The URI of the token |
totalSupply
Returns the total supply of the token
function totalSupply(uint256 tokenId_) public view virtual returns (uint256);
Parameters
Name | Type | Description |
---|---|---|
tokenId_ | uint256 | The ID of the token |
Returns
Name | Type | Description |
---|---|---|
<none> | uint256 | uint256 The total supply of the token |