Skip to main content

nftERC1155Collection

POST 

/api/v1/recipes/nfts/erc-1155/collection/

Create a ERC1155 NFT Collection from a deployed contract

Request

Body

required
    contractId stringrequired

    The contractId of the ERC1155 contract.

    tokenId stringrequired

    The tokenId of the ERC1155 Collection at the contract.

    media stringrequired

    The bytes media to assign to the ERC1155 collection created.

    name stringrequired

    The name of the ERC1155 collection token.

    description stringrequired

    The description of the ERC1155 collection token.

    extraMetadata objectrequired

    Default value: [object Object]

    Extra metadata to be stored in the ERC1155 collection token.

Responses

Default Response

Schema
    error booleanrequired

    Possible values: [false]

    statusCode numberrequired

    Possible values: [201]

    data objectrequired
    id stringrequired
    hash stringrequired
    from stringrequired
    to stringrequired
    value stringrequired
    blockchainId integerrequired
    vaultId stringrequired
    contractId stringrequired
    status stringrequired

    Possible values: [TO_BE_SENT, FAILED_TO_SEND, SENT, CONFIRMED, FAILED]

Loading...