This package is under development. It may be unstable, or not work as expected.
Register a new NFT protocol.
Path:
/nftprotocol/register/<protocolId>
Query strings:
- protocolNameString, required
- ownerAddressString, required
- regSignNumber
- metadataMimeTypeString
- metadataSchemaUriString
- isTransferableBoolean
- isMetadataEmbeddedBoolean
- maxMetadataSizeNumber
List NFT protocol records on chain.
Path:
/nftprotocol/list
Query strings:
- countNumber
- skipFromTipNumber
- heightNumber
- regTxOnlyBoolean
Get an NFT protocol record by an NFT protocol ID.
Path:
/nftprotocol/get/<protocolId>
Get an NFT protocol record by a transaction ID.
Path:
/nftprotocol/getbytxid/<txid>
Get address of the NFT protocol owner by using its protocol ID.
Path:
/nftprotocol/ownerof/<protocolId>
Create and send a new non-fungible token transaction.
Path:
/nft/register/<protocolId>/<tokenId>
Query strings:
- ownerAddressString, required
- metadataAdminAddressString
- metadataString
List nftoken records on chain.
Path:
/nft/list
Query strings:
- protocolIdString
- ownerAddressString
- countNumber
- skipFromTipNumber
- heightNumber
- regTxOnlyBoolean
Get an nftoken record by an NFT protocol ID and token ID.
Path:
/nft/get/<protocolId>/<tokenId>
Get an nftoken record by its registration transaction ID.
Path:
/nft/getbytxid/<txid>
Get address of the NFT owner by using its protocol ID and token ID.
Path:
/nft/ownerof/<protocolId>/<tokenId>
Get balance of NFTs belonging to a certain address within a protocol set or in a global set.
Path:
/nft/balanceof/<ownerAddress>
Query strings:
- protocolIdString
Get NFTs current total supply.
Path:
/nft/totalsupply
Query strings:
- protocolIdString
See CONTRIBUTING.md file.
See LICENSE file.