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:
protocolName
String, requiredownerAddress
String, requiredregSign
NumbermetadataMimeType
StringmetadataSchemaUri
StringisTransferable
BooleanisMetadataEmbedded
BooleanmaxMetadataSize
Number
List NFT protocol records on chain.
Path:
/nftprotocol/list
Query strings:
count
NumberskipFromTip
Numberheight
NumberregTxOnly
Boolean
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:
ownerAddress
String, requiredmetadataAdminAddress
Stringmetadata
String
List nftoken records on chain.
Path:
/nft/list
Query strings:
protocolId
StringownerAddress
Stringcount
NumberskipFromTip
Numberheight
NumberregTxOnly
Boolean
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:
protocolId
String
Get NFTs current total supply.
Path:
/nft/totalsupply
Query strings:
protocolId
String
See CONTRIBUTING.md
file.
See LICENSE
file.