Request Payloads & Recipes
Copy-paste request payloads for every Issue & Transfer scenario — issue to self, issue-on-buyer, custom collection, NFC tags, attachments and bulk.
Ready-to-use request bodies for POST <base_url>/port/api/v1/commerce/srrs. Every example here is valid against SRR metadata schema v2.2. For the full field reference and response shapes see Issue & Transfer; for failures see Errors & Troubleshooting.
Body shape
{
"requestId": "<optional unique UUID>",
"payload": [ /* one or more SRR entries */ ]
}requestId
string
optional
Unique idempotency key (UUID recommended). A reused value is rejected — see idempotency.
payload
array
required
1+ SRR entries. Minimum 1; no hard maximum (≤ 250 recommended for stable processing).
payload[*] fields
externalId
string
required
Your unique reference for this SRR (UUID recommended). Echoed back in the response.
isPrimaryIssuer
boolean
required
true if you are the primary issuer.
lockExternalTransfer
boolean
required
true to disable standard ERC-721 transfer methods.
artistAddress
string (EOA/LUW)
required
Artist's Ethereum address. Must be a known LUW.
to
string (EOA)
optional
Recipient — SRR is transferred here after minting. Omit to keep it in your LUW.
collectionAddress
string
optional
Custom collection contract to mint into (must be owned by issuer-address).
attachmentFiles
array
optional
Previously uploaded files; folded into metadata server-side. See recipe.
externalUrls
string[]
optional
Only the first URL is used (becomes metadata.external_url).
Recipes
Issue a single SRR into your own LUW (no to, no collection).
Set to to mint and transfer to a buyer's EOA in one call.
Set collectionAddress to mint into a collection you own.
Reference files already uploaded via /signedUrls. The server resolves each URL, reads its hash, and folds it into metadata.digitalComponents (artwork) or metadata.attachmentFiles (other categories).
One request, multiple SRRs mixing scenarios. Remember: the batch is atomic — if any entry fails, none are issued.
Rules to remember
Last updated
Was this helpful?