/v2/app/nft/createCollection
This API creates an NFT collection so that you can subsequently NFTs can be minted from this collection.
{
"status": "QUEUED",
"collection": "0x36A4E0D38191646b19b651F7B7E1f39Bf8c88081"
"transactionId": "4872e8c0-3e7a-43df-ac15-ba894919cf33",
"transactionHash": "0x2470a13aba7f1c5b3edf418c45ee808ff0ba7e4552d121527610e49190eeeaf3",
"transactionUrl": "https://mumbai.polygonscan.com/tx/0x2470a13aba7f1c5b3edf418c45ee808ff0ba7e4552d121527610e49190eeeaf3"
}
Upon calling this API, a transaction is raised and submitted to the Queue on blockchain. MetaKeep, behind the scenes, employs several strategies to make sure transactions succeed, and at the lowest cost.
You can get the status of this blockchain transaction by querying for transaction status by copying transactionId
from this API response and querying it in Transaction Status API.
Replaying this API
Once you get a
status
response asQUEUED
, replaying this API doesn't give you the latest status; Replaying the same API with the sameIdempotency-Key
results in the same response, always with status-QUEUED
. You must query the Transaction Status API for the latest status.
As you would learn from the Transaction Status API docs, if a transaction failed, MetaKeep would have exhausted all feasible smart AI based strategies to recover from failure, that would have been attempted by humans and that the "FAILED" status, if shown, is final.
Coming soon: ERC 2981 Support
This API currently supports OpenSea contract level metadata, including seller fee. ERC 2981 will be supported soon, which is a contract level metadata for royalty fee.
Api Error Status
You can find error status returned by the api here.
Ā© Copyright 2024, Passbird Research Inc.