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 owned collections

Sample code

Request

curl --location --request GET 'http://uat2.loopring.io/api/v3/nft/collection?owner=0x3be20a5500a331ef148f1aca64e326cd0b605a4b&isMintable=true' \
--header 'X-API-KEY: jcTxEZlFrVNkFE9osrr43iC2Qs3FYN34a4gbEPP4IJDj4qiuapd3d4VSMWwtfReo'

Response

{
  "collections": [
    {
      "collection": {
        "id": 256,
        "owner": "0x3be20a5500a331ef148f1aca64e326cd0b605a4b",
        "name": "test1127",
        "contractAddress": "0x4a71d8b79ab6d9ae89e6709a54e53db9c9e27e49",
        "collectionAddress": "0x4a71d8b79ab6d9ae89e6709a54e53db9c9e27e49",
        "baseUri": "ipfs://0x26ae6d3096348959d033b32ef635b58c0b50d5cb2165debafbb7e6eef783fd9e",
        "nftFactory": "0xfDDA90dbCc99B3a91e3fB1292991Ba1076d9E281",
        "description": "",
        "avatar": "",
        "banner": "",
        "thumbnail": "",
        "tileUri": "ipfs://QmZop7r8RQkB3L9BNfkKsZfY82kTVoPQyaSiZsTeKgTDij",
        "cached": {
          "avatar": "",
          "banner": "",
          "tileUri": "https://d12jj0pnkw1mbj.cloudfront.net/088010b1d3ab60069e87a7055554f012eb82d55b4dc88ea7a9a197d89964bc46-original",
          "thumbnail": ""
        },
        "deployStatus": "NOT_DEPLOYED",
        "nftType": "ERC1155",
        "isPublic": false,
        "isCounterFactualNFT": true,
        "isMintable": true,
        "isEditable": true,
        "isDeletable": true,
        "times": {
          "createdAt": 1669188281228,
          "updatedAt": 1669188281228
        },
        "extra": {
          "properties": {
            "isLegacy": false,
            "isPublic": false,
            "isCounterFactualNFT": true,
            "isMintable": true,
            "isEditable": true,
            "isDeletable": true
          },
          "mintChannel": "UNKNOWN_CHANNEL"
        }
      }
    },
    {
      "collection": {
        "id": 167,
        "owner": "0x3be20a5500a331ef148f1aca64e326cd0b605a4b",
        "name": "test new 1018",
        "contractAddress": "0xe9e4882b40465fe134dcdfd0af05aa809d0f4fa0",
        "collectionAddress": "0xe9e4882b40465fe134dcdfd0af05aa809d0f4fa0",
        "baseUri": "ipfs://0xc17c3d2cc20efae1194db48ae0bd7a361fdf9d33cbf9c11f9d312115dc330f54",
        "nftFactory": "0xfDDA90dbCc99B3a91e3fB1292991Ba1076d9E281",
        "description": "awefwef",
        "avatar": "",
        "banner": "",
        "thumbnail": "",
        "tileUri": "ipfs://QmZop7r8RQkB3L9BNfkKsZfY82kTVoPQyaSiZsTeKgTDij",
        "cached": {
          "avatar": "",
          "banner": "",
          "tileUri": "https://d12jj0pnkw1mbj.cloudfront.net/088010b1d3ab60069e87a7055554f012eb82d55b4dc88ea7a9a197d89964bc46-original",
          "thumbnail": ""
        },
        "deployStatus": "NOT_DEPLOYED",
        "nftType": "ERC1155",
        "isPublic": false,
        "isCounterFactualNFT": true,
        "isMintable": true,
        "isEditable": true,
        "isDeletable": true,
        "times": {
          "createdAt": 1666072034102,
          "updatedAt": 1666072034102
        },
        "extra": {
          "properties": {
            "isLegacy": false,
            "isPublic": false,
            "isCounterFactualNFT": true,
            "isMintable": true,
            "isEditable": true,
            "isDeletable": true
          },
          "mintChannel": "UNKNOWN_CHANNEL"
        }
      }
    }
  ],
  "totalNum": 20
}
PreviousList owned collectionsNextList user's NFTs under one collection

Last updated 2 years ago

Was this helpful?

🎨