Read Contract

Read Contract

BalanceOf

The method returns the supply of a specific token ID owned by a specific waller/user

Data

Description

Account (address)

The address of the wallet for which we want to retrieve the amount of owned tokens.

Id (uint256)

The identifier of the token for which we want to check the balance.

a. Input Account address

b. Input token ID

c. Response to the current supply of the Address

BalanceOfBatch

The method allows for concurrent checking of the amounts of tokens owned by multiple wallets for multiple tokens. Notice, that the first address gets information about the first ID in the array

Data

Description

Accounts (address[])

An array of wallet addresses for which we want to retrieve the amounts of owned tokens. [address1,address2,...]

Ids (uint256[])

An array of token IDs for which we want to check the balances for the respective wallets. [id1,id2,...]

a. Input Accounts addresses in array [address1,address2,...]

b. Input token IDs in array [tokenIDforAddress1,tokenIDforAddress2,...]

c. Response an array of current supplies [tokenSupplyOfAddress1, tokenSupplyOfAddress2,...]

bucketHashToTokenIds

The method allows obtaining the token ID for the given URI.

Data

Description

input (string)

The data hash (bucket hash) for which we want to retrieve the token ID.

a. input bucket hash

b. Shows the token ID

Creators

The method allows for obtaining information about the creator of a specific NFT token.

Data

Description

input (string)

The ID of the NFT token for which we want to check the creator.

a. Input existing token ID

b. Shows the tokens, Creator

CurrentTokenID

The method allows obtaining the identifier of the token that will be assigned to the next created token.

Exists

The method checks that the token ID exists

Data

Description

Id (uint256)

The identifier of the token for which we want to check existence.

a. Input token ID

b. Shows that the token exists

isApprovedForAll

The isApprovedForAll method is used to determine whether a specific user has been granted approval to operate on a designated contract. This approval can encompass various operations, such as the handling of tokens on a contract responsible for conducting auctions, like the BuyNow auction contract.

Data

Description

_owner (address)

The address of the wallet or user for whom approval is being checked.

_operator (address)

The address of the contract where tokens will be sent, such as for the purpose of sale.

a. Input user wallet address

b. Input the other Contract add

c. Response True or False if the Contract and User are approved

mintFee

This method allows for obtaining information about the tax (fee) collected during the minting process of a token.

name

This method is used to retrieve the name of the contract.

owner

This method is used to retrieve the address of the contract owner.

paused

Information about the contract status, if is paused or not (true/false).

supportInterface

This method is used to check if a given contract supports a specific interface. The interfaceId argument represents the interface identifier, which is a four-byte value. The method returns true if the contract supports the specified interface, or false if it does not.

Data

Description

interfaceId (bytes4)

Identifier of the interface you want to check.

a. Input the interface ID (you can apply the same approach to support the ERC-165 (0x01ffc9a7) interface or other interfaces. Simply change the identifier according to the interface you want to check.)

b. Response true or false if the Contract supports the Token Standard

Symbol

This method returns the symbol of our NFT Meta Asset (NFTma) smart contract.

tokenIdToBucketHash

This method allows retrieving the bucketHash of a specific Token ID.

Data

Description

Id (uint256)

The ID of the Token for which we want to retrieve the bucketHash.

a. Input token ID

b. Shows the bucket hash

totalSupply

This method allows retrieving the total supply of a specific token.

Data

Description

Id (uint256)

The ID of the token for which we want to retrieve the total supply information.

a. Input token ID

b. Shows the total supply of the token

TreasuryAddress

This method shows the address of the set treasury.

URI

This Method shows the URI preview link of a specific token

Data

Description

Restrictions

Id (uint256)

The ID of the token for which we want to retrieve the URI preview link.

  • must be an integer positive number

  • token ID must exist

a. Input token ID

b. Shows the total supply of the token

Last updated