/api/nft provides endpoints for locating, and uploading metadata for user NFTs.
Was this helpful?
Get tokens owned by a specific user.
curl -L \ --url 'api.rair.market/api/nft/{userAddress}'
No body
Get all tokens owned by the current user.
curl -L \ --url 'api.rair.market/api/nft'
Upload CSV file to populate metadata.
curl -L \ --request POST \ --url 'api.rair.market/api/nft' \ --header 'Content-Type: multipart/form-data' \ --form 'contract=text' \ --form 'product=text' \ --form 'forceOverwrite=true' \ --form 'csv=null'