const response = await fetch('https://open-api-fractal.unisat.io/v1/collection-indexer/collection/add_items', {
method: 'POST',
headers: {
"Content-Type": "application/json"
},
body: JSON.stringify({
"collectionId": "text",
"items": [
{
"inscriptionId": "text",
"itemName": "text"
}
]
}),
});
const data = await response.json();