Read Contract

currentTeamId

The currentTeamId method provides information about the current team identifier. This allows users to predict the next available team ID and also obtain the total count of teams that have been established.

getTeam

The getTeam method is responsible for retrieving information about a specific team. By supplying the required parameters, users can obtain details regarding the team's identifier and its owner, offering insights into the team's structure.

Data

Description

_tokenId (uint256)

This parameter expects the token identifier.

_tokenContractAddress (address)

This parameter expects the address of the token contract.

a. Input tokenId

b. Input Token ContractAddress

c. Response the team id, token id, and the team owner

getTeamMembers

The getTeamMembers method is responsible for retrieving the individuals belonging to a specific team. By providing the required parameters, users can obtain a list of members associated with the designated team, enhancing their understanding of the team's composition.

Data

Description

_tokenId (uint256)

This parameter expects the token identifier.

_tokenContractAddress (address)

This parameter expects the address of the token contract.

a. Input tokenId

b. Input Token ContractAddress

c. Response the team members with the royalty fee per address

owner

The method allows obtaining the address of the individual or entity that deployed and owns the smart contract. The contract owner has special privileges and permissions to perform certain administrative tasks or manage critical functionalities of the contract.

royaltyTeam

The royaltyTeam method is responsible for retrieving detailed information about a team, including the owner's address and the team's identifier. By providing specific parameters, users can access essential data related to a team, aiding in obtaining a comprehensive understanding of the given entity.

Data

Description

<input> (address)

This parameter expects the address of the token contract.

<input> (uint256)

This parameter expects the identifier of a particular token.

a. Input contract address

b. Input the TokenId

c. Response the teamId, tokenId, and teamOwner

Last updated