Capabilities
The Capability abstraction is used throughout the ConsenSys NFT platform. A capability is an array of JSON objects, containing the signatures of the related smart contract members (functions, events, etc.). A capability is associated with an Application Binary Interface (ABI).
Each time the platform interacts with a smart contract, it ensures that it has the required capabilities. This generic approach makes the platform compatible with a variety of smart contracts, even allowing users to bring their own custom contracts into the platform.
You can get the known capabilities ABIs from the public capabilities
endpoint.
Feature mapping
The following table lists the most common capabilities and their equivalent platform features.
Capabilities | Features |
---|---|
ERC721 , ERC1155 | Collection contract deployment and item ownership transfer. |
CONTRACT_ROYALTY , PER_TOKEN_ROYALTY | Item and collection royalty management. |
ADMIN_MINT_SINGLE , ADMIN_MINT_SINGLE_URI , ADMIN_MINT_SINGLE_URI | Functions to mint a single NFT per transaction. |
MINT_VOUCHER | Function that mints NFTs based on the quantity of a voucher. |
ADMIN_MINT_MULTIPLE | Function that mints multiple NFTs in one transaction. |