Token Owners Method
The tokenOwners()
is a public
method that takes a plaque ID _plaqueId
as input and returns an array of addresses of token owners who own the plaque with the given ID.
Input & Output
_plaqueId
: The ID of the plaque for which to retrieve the owners.address[]
: An array of addresses representing the owners of the plaque with the given ID.
Usage
In the example below, the tokenOwners
function is called with plaque ID 1234
and returns an array of addresses representing the owners of plaque ID 1234
.
Last updated