First Function Call

Published by Marianne Poser on

It is noticeable that several functions can be called, although we have not developed any functions in the Smart Contract. These functions all originate from the included ERC1155 smart contract from OpenZeppelin and can be called by any user. (Unlike, for example, the Mint function, which can only be called within the contract).

In the bottom line, there is the function “uri”, which requires a token ID as a parameter. After entering an ID (0) and clicking on the function button, the response appears directly below the line. It corresponds to the URI which was passed in the constructor. The placeholder {id} is not replaced. The user must do it manually.