tokenByIndex

This method returns a token ID at a given index of all the tokens stored by the contract.

Function

function tokenByIndex(
    uint256 index
) external view returns (uint256);

Parameters

ParameterDescription

index

An index in the range of all the tokens stored by the contract.

Return values

ValueDescription

uint256 _val

Token ID.

Last updated