Loopring Dev Docs
  • Introduction
  • Endpoints
  • SDK
    • SDK Guides
    • Test Mock Data
      • Mock Account
      • Mock provider
      • Mock ERC20 Token Map
      • Mock AMM MAP
      • Mock EIP712 Typed Data
      • Mock Generate eddsaKey
  • Glossary
  • 🗳️Loopring Account
    • Introduction
    • SDK Guides
      • Setup a Loopring Account
      • Unlock Account (Login)
    • API References
      • Get Account info
        • Sample code
      • Update EddsaKey
        • Sample code
      • Get apiKey
        • Sample code
      • Update apiKey
        • Sample code
  • 🎨CounterFactual NFT
    • Introduction
      • Compute NFT Address API
      • When to deploy counterfactual NFT contracts?
    • SDK Guides
      • Deposit NFT
      • Create Collection
      • Mint Counterfactual NFT
      • Transfer NFT
      • Deploy NFT
      • Withdraw NFT
      • Trade NFT
        • Validate NFT Order
      • Meta & IPFS
    • API References
      • NFT Collection
        • Create collection
          • Sample code
        • Edit collection
          • Sample code
        • Delete collection
          • Sample code
        • List owned collections
          • Sample code
        • List user's NFTs under one collection
          • Sample code
        • List user's NFT balances group by Collection ID
          • Sample code
        • List all NFTs of a collection
          • Sample code
        • Get collection by Collection ID
          • Sample code
        • Get collections by contract address
          • Sample code
      • Get NFT Assets
        • Sample code
      • Get NFT Balances
        • Sample code
      • Mint NFT
        • Sample code
      • Transfer NFT
        • Sample code
      • Validate NFT Order
        • Sample code
      • Trade NFT
        • Sample code
      • Deploy NFT TokenAddress
        • Sample code
      • Withdraw NFT
        • Sample code
      • Get NFT Transactions
        • Sample code
      • Get NFT Trade History
        • Sample code
      • Get AvailableBroker
        • Sample code
      • Get NFT Info
        • Sample code
      • Get NFT Data
        • Sample code
      • Get NFT Holders
        • Sample code
  • 🪙ERC20 Tokens
    • Introduction
    • SDK Guides
      • Transfer ERC20
      • Withdraw ERC20
      • Deposit ERC20
      • Order ERC20
    • API References
      • Get Assets
        • Sample code
      • Transfer
        • Sample code
      • Submit Order
        • Sample code
      • Cancel Order
        • Sample code
      • Withdraw
        • Sample code
      • Get Transactions
        • Sample code
      • Get Orders
        • Sample code
      • Get Trade History
        • Sample code
  • 🔬Resources
    • Advanced
      • UpdateAccount with custom seed
      • Pay payee updateAccount fee
      • Common error and solutions
      • Submit erc20 order
    • Common Info
      • Get relayer current time
        • Sample code
      • Get exchange info
        • Sample code
      • Get token info
        • Sample code
      • Get markets info
        • Sample code
    • Error codes
    • Fees
      • GET ERC20 Offchain Fee
        • Sample code
      • GET ERC20 Order Fee
        • Sample code
      • GET NFT Offchain Fee
        • Sample code
      • GET NFT Order Fee
        • Sample code
      • SDK Fees
    • Layer 2 block info
      • Get pending transactions
    • Request signing
      • Special API Request Signatures
      • Off-chain Request Signatures
      • Extra ECDSA authentic in header
    • Signature
      • ECDSA signature
        • ECDSA key generation
        • ECDSA sign
        • ECDSA verify signature
      • EdDSA signature
        • EdDSA key generation
        • EdDSA sign
        • EdDSA verify signature
      • SDK Signature
        • Mock Signature
    • Smart Contracts
    • Storage Id
      • Sample code
    • WebSocket
      • Account Notification
      • Order Notification
      • Orderbook Notification
      • Trade Notification
      • Ticker Notification
      • Candlestick Notification
      • AMM Pool Snapshot Notification
      • Block Generation Notification
    • Loopring Smart Wallet
      • Signature and verification
Powered by GitBook
On this page
  • Request
  • Response

Was this helpful?

  1. CounterFactual NFT
  2. API References
  3. NFT Collection
  4. List all NFTs of a collection

Sample code

Request

curl 'https://uat2.loopring.io/api/v3/nft/public/collection/items?id=261&limit=12&metadata=true&offset=0'

Response

{
  "totalNum": 3,
  "nftTokenInfos": [
    {
      "nftData": "0x18ae02f9a5470a8be3a935ddcd14cf51ede1c113fa9dbaf54b9387666018fd44",
      "minter": "0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22",
      "nftType": "ERC1155",
      "tokenAddress": "0x1182fe0f76a1b71b6cad6f293724881cd5619166",
      "nftId": "0x1076ad78b0f2d6834f49b13fe222ddbd1a82300cae073dd1912189863c41c602",
      "creatorFeeBips": 10,
      "royaltyPercentage": 10,
      "originalRoyaltyPercentage": 10,
      "status": true,
      "nftFactory": "0xfDDA90dbCc99B3a91e3fB1292991Ba1076d9E281",
      "nftOwner": "0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22",
      "nftBaseUri": "ipfs://0xffd955c46a3c8f3d6d64d3f8a63fa2b6332a2ae8fe551f9d53cbd7aa69700346",
      "royaltyAddress": "0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22",
      "originalMinter": "0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22",
      "createdAt": 1669792478241,
      "metadata": {
        "uri": "ipfs://QmPSvC5SpQYnjKur11Q5BTS9W7SH57o9tDJ2beyfPypLho",
        "base": {
          "name": "afwaefsdfg",
          "decimals": -1,
          "description": "awfewefas",
          "image": "ipfs://QmUr8pyxY94wvRTfvKAMF9V8ZL2K1dxT6PiShH349BrPBg",
          "properties": "",
          "localization": "",
          "createdAt": 1669272849183,
          "updatedAt": 1669792478951
        },
        "imageSize": {
          "240-240": "https://d12jj0pnkw1mbj.cloudfront.net/f9b119b8b85769b008c72c4b1e3892b548346021285debfc6eeffe1c3b2d822f1669792478543-240-240.png",
          "332-332": "https://d12jj0pnkw1mbj.cloudfront.net/f9b119b8b85769b008c72c4b1e3892b548346021285debfc6eeffe1c3b2d822f1669792478543-332-332.png",
          "original": "https://d12jj0pnkw1mbj.cloudfront.net/f9b119b8b85769b008c72c4b1e3892b548346021285debfc6eeffe1c3b2d822f1669792478543-original"
        },
        "extra": {
          "imageData": "",
          "externalUrl": "",
          "attributes": "",
          "backgroundColor": "",
          "animationUrl": "",
          "youtubeUrl": "",
          "minter": ""
        },
        "status": 1,
        "nftType": 1,
        "network": 0,
        "tokenAddress": "0x1182fe0f76a1b71b6cad6f293724881cd5619166",
        "nftId": "7446690786922567458845946516382225024010719297027912278691859884361574893058"
      },
      "total": 0
    },
    {
      "nftData": "0x0c8376a5550f47a39f636f0adc169698993120f99696b556f2de47026c6acb5b",
      "minter": "0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22",
      "nftType": "ERC1155",
      "tokenAddress": "0x1182fe0f76a1b71b6cad6f293724881cd5619166",
      "nftId": "0xbead487f48dc4696a59236bcfa1474d16e681ed8f24cb38c8e237f19b042e38f",
      "creatorFeeBips": 10,
      "royaltyPercentage": 10,
      "originalRoyaltyPercentage": 10,
      "status": true,
      "nftFactory": "0xfDDA90dbCc99B3a91e3fB1292991Ba1076d9E281",
      "nftOwner": "0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22",
      "nftBaseUri": "ipfs://0xffd955c46a3c8f3d6d64d3f8a63fa2b6332a2ae8fe551f9d53cbd7aa69700346",
      "royaltyAddress": "0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22",
      "originalMinter": "0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22",
      "createdAt": 1669280387724,
      "metadata": {
        "uri": "ipfs://QmbAyRamCLU3GBJZHttMfyo4Pi16oo8Ht1n8soD5wgjz8v",
        "base": {
          "name": "awefsdgdrsg",
          "decimals": -1,
          "description": "awefasdzgge ",
          "image": "ipfs://QmQU13nHCxHhKRopqUiRN6wuvhEWGieemUPbJQ4k8cADuo",
          "properties": "",
          "localization": "",
          "createdAt": 1669280534037,
          "updatedAt": 1669280534651
        },
        "imageSize": {
          "240-240": "https://d12jj0pnkw1mbj.cloudfront.net/ad237aa59f445741c94cbbb62e9b57f8cb6ee3c9747c21010885a466cbfade011669280534129-240-240.png",
          "332-332": "https://d12jj0pnkw1mbj.cloudfront.net/ad237aa59f445741c94cbbb62e9b57f8cb6ee3c9747c21010885a466cbfade011669280534129-332-332.png",
          "original": "https://d12jj0pnkw1mbj.cloudfront.net/ad237aa59f445741c94cbbb62e9b57f8cb6ee3c9747c21010885a466cbfade011669280534129-original"
        },
        "extra": {
          "imageData": "",
          "externalUrl": "",
          "attributes": "",
          "backgroundColor": "",
          "animationUrl": "",
          "youtubeUrl": "",
          "minter": ""
        },
        "status": 1,
        "nftType": 1,
        "network": 0,
        "tokenAddress": "0x1182fe0f76a1b71b6cad6f293724881cd5619166",
        "nftId": "86245606130350571110750385070472099307803561163807055516290590299152625886095"
      },
      "total": 89898
    },
    {
      "nftData": "0x1026aa9363af390bbf8bf770895e68fe4203fff2e786949aa31437029f410098",
      "minter": "0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22",
      "nftType": "ERC1155",
      "tokenAddress": "0x1182fe0f76a1b71b6cad6f293724881cd5619166",
      "nftId": "0x1076ad78b0f2d6834f49b13fe222ddbd1a82300cae073dd1912189863c41c602",
      "creatorFeeBips": 10,
      "royaltyPercentage": 10,
      "originalRoyaltyPercentage": 10,
      "status": true,
      "nftFactory": "0xfDDA90dbCc99B3a91e3fB1292991Ba1076d9E281",
      "nftOwner": "0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22",
      "nftBaseUri": "ipfs://0xffd955c46a3c8f3d6d64d3f8a63fa2b6332a2ae8fe551f9d53cbd7aa69700346",
      "royaltyAddress": "0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22",
      "originalMinter": "0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22",
      "createdAt": 1669272683846,
      "metadata": {
        "uri": "ipfs://QmPSvC5SpQYnjKur11Q5BTS9W7SH57o9tDJ2beyfPypLho",
        "base": {
          "name": "zsfdgerhehjx",
          "decimals": -1,
          "description": "szdfewgg",
          "image": "ipfs://QmUr8pyxY94wvRTfvKAMF9V8ZL2K1dxT6PiShH349BrPBg",
          "properties": "",
          "localization": "",
          "createdAt": 1669272849183,
          "updatedAt": 1669792478951
        },
        "imageSize": {
          "240-240": "https://d12jj0pnkw1mbj.cloudfront.net/f9b119b8b85769b008c72c4b1e3892b548346021285debfc6eeffe1c3b2d822f1669792478543-240-240.png",
          "332-332": "https://d12jj0pnkw1mbj.cloudfront.net/f9b119b8b85769b008c72c4b1e3892b548346021285debfc6eeffe1c3b2d822f1669792478543-332-332.png",
          "original": "https://d12jj0pnkw1mbj.cloudfront.net/f9b119b8b85769b008c72c4b1e3892b548346021285debfc6eeffe1c3b2d822f1669792478543-original"
        },
        "extra": {
          "imageData": "",
          "externalUrl": "",
          "attributes": "",
          "backgroundColor": "",
          "animationUrl": "",
          "youtubeUrl": "",
          "minter": ""
        },
        "status": 1,
        "nftType": 1,
        "network": 0,
        "tokenAddress": "0x1182fe0f76a1b71b6cad6f293724881cd5619166",
        "nftId": "7446690786922567458845946516382225024010719297027912278691859884361574893058"
      },
      "total": 232
    }
  ]
}
PreviousList all NFTs of a collectionNextGet collection by Collection ID

Last updated 2 years ago

Was this helpful?

🎨