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

Parameter
Description

index

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

Return values

Value
Description

uint256 _val

Token ID.

Last updated