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
  • Request
  • Response
  • NftTokenInfo

Was this helpful?

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

List all NFTs of a collection

List all NFTs in one collection

Endpoint

GET /api/v3/nft/public/collection/items

Request

Query Param
Description
Example

id

Collection Id

1

limit

(Optional)

10

offset

(Optional)

0

metadata

(Optional) Whether return metadata of nft

true

Response

Field
Description
Example

totalNum

100

nftTokenInfos

NftTokenInfo

Field
Description
Example

nftData

The unique hash of this token

"0x18ae02f9a5470a8be3a935ddcd14cf51ede1c113fa9dbaf54b9387666018fd44"

minter

Minter address

"0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22",

nftType

1155 or 721

"ERC1155"

tokenAddress

Contract address on L1

"0x1182fe0f76a1b71b6cad6f293724881cd5619166"

nftId

The hex format of token address defined ERC1155 standard

"0x1076ad78b0f2d6834f49b13fe222ddbd1a82300cae073dd1912189863c41c602"

creatorFeeBips

Same as royaltyPercentage

10

royaltyPercentage

Percentage of creator will benefit from the nft trade

10

originalRoyaltyPercentage

Initial royaltyPercentage

10

status

Whethe this nft is valid

true

nftFactory

"0xfDDA90dbCc99B3a91e3fB1292991Ba1076d9E281",

nftOwner

L2 counterfactual nft's owner is it's minter

"0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22"

nftBaseUri

"ipfs://0xffd955c46a3c8f3d6d64d3f8a63fa2b6332a2ae8fe551f9d53cbd7aa69700346"

royaltyAddress

L2 counterfactual nft's royaltyAddress is it's minter

"0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22"

originalMinter

"0xB4A0C11E4d0D434bb4E9A133E5a6B7B058530e22"

createdAt

1669792478241

metadata

total

Original mint amount

10000

NftMetadata

Field
Description
Example

uri

ipfs://QmPSvC5SpQYnjKur11Q5BTS9W7SH57o9tDJ2beyfPypLho"

base

imageSize

extra

status

1

nftType

1 is ERC1155

1

network

0 is Ethereum

0

tokenAddress

"0x1182fe0f76a1b71b6cad6f293724881cd5619166"

nftId

The decimal format of token address defined ERC1155 standard

"7446690786922567458845946516382225024010719297027912278691859884361574893058"

NftImageSize

Different sizes of cached nft image by loopring. If not cached, will return empty.

Field
Description
Example

240-240

240*240 pixel

"https://d12jj0pnkw1mbj.cloudfront.net/f9b119b8b85769b008c72c4b1e3892b548346021285debfc6eeffe1c3b2d822f1669792478543-240-240.png"

332-332

332*332 pixel

"https://d12jj0pnkw1mbj.cloudfront.net/f9b119b8b85769b008c72c4b1e3892b548346021285debfc6eeffe1c3b2d822f1669792478543-332-332.png"

original

"https://d12jj0pnkw1mbj.cloudfront.net/f9b119b8b85769b008c72c4b1e3892b548346021285debfc6eeffe1c3b2d822f1669792478543-original"

NftMetadataBase

Field
Description
Example

name

"test nft 1"

decimals

-1 means no decimal data

-1

description

"awfewefas"

image

"ipfs://QmUr8pyxY94wvRTfvKAMF9V8ZL2K1dxT6PiShH349BrPBg"

properties

""

localization

""

createdAt

1669272849183

updatedAt

1669792478951

NftMetadataExtra

Extra datas defined by other players

Field
Description
Example

imageData

externalUrl

attributes

backgroundColor

animationUrl

youtubeUrl

minter

PreviousSample codeNextSample code

Last updated 2 years ago

Was this helpful?

List[]

See

See

See

See

This model can refer to standard for details.

🎨
ERC1155
NftTokenInfo
NftMetadata
NftMetadataBase
NftImageSize
NftMetadataExtra