/api/nft provides endpoints for locating, and uploading metadata for user NFTs.
Was this helpful?
Get tokens owned by a specific user.
GET /api/nft/{userAddress} HTTP/1.1 Host: api.rair.market Accept: */*
OK
No content
Get all tokens owned by the current user.
GET /api/nft HTTP/1.1 Host: api.rair.market Accept: */*
Upload CSV file to populate metadata.
POST /api/nft HTTP/1.1 Host: api.rair.market Content-Type: multipart/form-data Accept: */* Content-Length: 69 { "contract": "text", "product": "text", "forceOverwrite": true, "csv": null }