mallow docs

Edit collection artworks

POST
/v2/tx/nft/edit-collection-artworks

Builds the transaction(s) that add or remove members of the Core parent collection parentCollection, signed by authority.

Pass any combination of addAssets, removeAssets, addMasterEditions and removeMasterEditions — they are applied together.

Unlike the other builders this returns an array: { "result": { "txs": [{ "tx": "..." }] } }. Membership changes are batched to fit Solana's transaction size limit, so a large edit spans several transactions. Sign and broadcast every entry, in the order returned.

Authorization

ApiKeyAuth
x-api-key<token>

In: header

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Adds and/or removes members of a Core parent collection. All four lists are applied together; pass any combination.

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X POST "https://example.com/v2/tx/nft/edit-collection-artworks" \  -H "Content-Type: application/json" \  -d '{    "authority": "string",    "parentCollection": "string"  }'
{  "result": {    "txs": [      {        "tx": "string"      }    ]  }}