How to send many NFTs to many accounts
for Proton Blockchain
Links: Telegram | Discord | Membership NFT
Related Articles:
This article will cover the following:
- Finding the assetIDs (NFTs) to send.
- Sending many assetIDs to many accounts.
Send Many NFTs to Many Accounts
In order to batch send, you will need the AssetID of the NFT and the account you want to send it to.
We cover how to find your holders in the related article linked at the top of the page.
Get the AssetIDs
Get all the assetIDs of the NFTs you want to send to holders.
- From ProtonScan — https://www.protonscan.io/wallet/transfer/nft
- Record these assetIDs in your Excel sheet.
- There is no way to export these from this page. If they are actually sequential, you can copy down in Excel, but confirm they are sequential. Fixing incorrect assetID errors when trying to send is annoying.
2. From an API export + Excel processing
- Go to API page — https://proton.api.atomicassets.io/docs/#/
- Go to assets and fill in collection ID.
- Adjust Results per Page depending on how many NFTs are in your collection.
- The hit the blue Execute button
- At the bottom right of the Response Body, you can download the data. Do that and open it. Looks like this:
Process the API Data in Excel to a digestible format.
- Create an Excel spreadsheet
- Column A = Raw API pasted in A2 from the text file above.
- Column B = AssetID
- B2 =A7, the cell that contains the first assetID in the API. You can just copy and paste into B2 the value of the first assetID in the API, which is cell A7 if you copied the API into A2.
- B3 =OFFSET($A$7,ROW(B2)*115/2,0) (finds the next assetID)
- B4 =OFFSET($A$7,ROW(B2)*115,0) (finds the rest of the assetIDs)
- Then copy down B4 until you get no results.
Note: The 115 number is the distance in rows between assetIDs in the API. This required 115/2 to pick up the second value in B3, and I’m not sure why, still can’t figure that out. My first try on another data set didn’t require the /2 function.
4. Column D = Owner
- Done the same way as Column B but replacing $A$7 with $A$8 (the first owner in API), and replacing B2 with C2 in OFFSET formulas.
- Your data should look like the below, and your assetIDs should be in order of date minted. You can add a serial by putting the total count in C2. C3 = C2–1, then drag this down.
- To clean the assetID column, insert a new column, copy assetIDs, right-click paste values to a new column, then Find and Replace with nothing, the “asset_id”: “ and “ values out of the cells. There will also be about 6 spaces in the front of the asset_id string too.
- Once you have clean data you can paste assetIDs and owners into a new worksheet with their owners.
- Filter owners to your account only to show assetIDs you can send to your holders.
Send the assetIDs (NFTs) to Holders
- You have assetIDs from your assetID API search.
- You have identified your holders accounts from ProtonMint csv export.
to send, Go to ProtonScan Wallet > Transfer Tokens section:
https://www.protonscan.io/wallet/transfer/nft-batch
Download the example file by clicking “file.” Open the spreadsheet.
The batch send spreadsheet is simple. Each row is a send. Accounts in A, assetID in B, your personalized memo in Column C. Informative memos are important for airdrops.
When you’re done with your batch transfer spreadsheet, save it, and upload it to the same page you downloaded it from.
Once loaded you will see the individual sends mapped out. You may have to approve the transaction multiple times as a batch transaction can only send 50 per. And you’re done!
Hope that helps!
Cheers,
Blake | The Community DAO * Proton Skulls