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
  • Endpoint
  • Header
  • Request
  • Response
  • Model

Was this helpful?

  1. CounterFactual NFT
  2. API References
  3. NFT Collection

List owned collections

List all collections of a creator

Endpoint

GET /api/v3/nft/collection

Header

Field
Description
Example

X-API-KEY

ApiKey

"HlkcGxbqBeaF76j4rvPaOasyfPwnkQ6B6DQ6THZWbvrAGxzEdulXQvOKLrRWZLnN"

Request

Query Param
Description
Example

owner

Owner address of collection

"0x1cACC96e5F01e2849E6036F25531A9A064D2FB5f"

limit

(Optional)

50

offset

(Optional)

0

tokenAddress

(Optional) NFT 1155 token address that the collection represents

"0x3be20a5500a331ef148f1aca64e326cd0b605a4b"

isMintable

(Optional) Only return collections user can mint nfts

true

Response

Field
Description
Example

totalNum

Total collection number

10

collections

Model

Collection

Field
Description
Example

id

Unique collection Id

256

owner

Owner address

"0x3be20a5500a331ef148f1aca64e326cd0b605a4b"

name

Collection name

"test1127"

contractAddress

ERC1155 nft token address to be deployed on L1

"0x4a71d8b79ab6d9ae89e6709a54e53db9c9e27e49"

collectionAddress

URL of collection metadata, if this collection is created via loopring.io web app, collectionAddress will start with 0x, and it can be visited on the browser via appending prefix https://nftinfos.loopring.io/ to the collectionAddress, for example, https://nftinfos.loopring.io/0x9717fa2a7d827b3db111be23938c95d14b875863. Otherwise, it may be the format of ipfs ipfs://... or https https://...

"0x9717fa2a7d827b3db111be23938c95d14b875863" or "https://api.nft.gamestop.com/getCollectionMetadata?collectionId=a07373e5-989d-4746-909b-e87430b5947c"

baseUri

Generated by Loopring

"ipfs://0x26ae6d3096348959d033b32ef635b58c0b50d5cb2165debafbb7e6eef783fd9e"

nftFactory

NFT factory contract address of this collection

"0xfDDA90dbCc99B3a91e3fB1292991Ba1076d9E281"

description

Text

""

avatar

Ipfs URI or URL of collection image

"ipfs://QmZop7r8RQkB3L9BNfkKsZfY82kTVoPQyaSiZsTeKgTDij"

banner

Ipfs URI or URL of collection image

"ipfs://QmZop7r8RQkB3L9BNfkKsZfY82kTVoPQyaSiZsTeKgTDij"

thumbnail

Ipfs URI or URL of collection image

"ipfs://QmZop7r8RQkB3L9BNfkKsZfY82kTVoPQyaSiZsTeKgTDij"

tileUri

Ipfs URI or URL of collection image

"ipfs://QmZop7r8RQkB3L9BNfkKsZfY82kTVoPQyaSiZsTeKgTDij",

cached

deployStatus

L1 ERC1155 NFT contract deploy status

"NOT_DEPLOYED" or "DEPLOY_FAILED" or "DEPLOYING" or "DEPLOYED"

nftType

Collections created from loopring.io are all ERC1155

"ERC1155" or "ERC721"

isPublic

false

times

extra

Cached

Field
Description
Example

avatar

"https://d12jj0pnkw1mbj.cloudfront.net/088010b1d3ab60069e87a7055554f012eb82d55b4dc88ea7a9a197d89964bc46-original"

banner

"https://d12jj0pnkw1mbj.cloudfront.net/088010b1d3ab60069e87a7055554f012eb82d55b4dc88ea7a9a197d89964bc46-original",

tileUri

"https://d12jj0pnkw1mbj.cloudfront.net/088010b1d3ab60069e87a7055554f012eb82d55b4dc88ea7a9a197d89964bc46-original",

thumbnail

"https://d12jj0pnkw1mbj.cloudfront.net/088010b1d3ab60069e87a7055554f012eb82d55b4dc88ea7a9a197d89964bc46-original"

Extra

Field
Description
Example

properties

mintChannel

Where this collection initially created

"UNKNOWN_CHANNEL"

Properties

Field
Description
Example

isLegacy

If this collection was created from a legacy NFT token address, see Create collection from legacy NFTs

false

isPublic

false

isCounterFactualNFT

Whether the NFT token address was counter-factual

true

isMintable

Whether the user can mint more nfts under this token address

true

isEditable

Whether the user can edit collection info

true

isDeletable

User can delete one collection only if he is the creator of that collection and the collection is empty

true

Times

Field
Description
Example

createdAt

Unix timestamp in milliseconds

1669188281228

updatedAt

Unix timestamp in milliseconds

1669188281228

PreviousSample codeNextSample code

Last updated 2 years ago

Was this helpful?

List[]

Cached collection image URL read and stored by loopring if the cache is available. If the cache constructed fails will return empty. See

See

See

See

🎨
Cached
Times
Extra
Properties
Collection