Queries
uniq
Description
Provides direct access to detailed information about a specific Uniq using its unique blockchain ID.
Response
Returns a Uniq!
Arguments
Name | Description |
---|---|
id - BigInt! | The blockchain ID of the Uniq, serving as a primary key to fetch detailed information about the Uniq. |
Example
Query
query Uniq($id: BigInt!) {
uniq(id: $id) {
factory {
accountMintingLimit
assetCreator
assetManager
authorizedMinters {
quantity
walletId
}
conditionlessReceivers
defaultUniqMetadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
descriptor {
description
dynamic
name
type
}
key
value
}
description
dynamicAttributes {
contentType
uris
}
dynamicResources {
key
value {
contentType
uris
}
}
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
firsthandPurchases {
groupRestriction {
excludes
includes
}
id
option {
factories {
count
id
strategy
}
transferUniqsReceiver
}
price {
amount
currency {
code
symbol
}
}
promoterBasisPoints
purchaseLimit
purchaseWindow {
endDate
startDate
}
purchasedUniqs
saleShares {
basisPoints
receiver
}
uosPayment
}
id
metadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
key
value {
description
dynamic
name
type
}
}
description
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
locked
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
mintableWindow {
endDate
startDate
}
resale {
minimumPrice {
amount
currency {
code
symbol
}
}
shares {
basisPoints
receiver
}
}
status
stock {
authorized
existing
maxMintable
mintable
minted
}
tradingWindow {
endDate
startDate
}
transferWindow {
endDate
startDate
}
type
}
id
metadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
descriptor {
description
dynamic
name
type
}
key
value
}
description
dynamicAttributes {
contentType
uris
}
dynamicResources {
key
value {
contentType
uris
}
}
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
mintDate
owner
resale {
onSaleDate
price {
amount
currency {
code
symbol
}
}
promoterBasisPoints
shares {
basisPoints
receiver
}
}
serialNumber
tradingPeriod {
duration
endDate
startDate
}
transferPeriod {
duration
endDate
startDate
}
type
}
}
Variables
{"id": 987}
Response
{
"data": {
"uniq": {
"factory": UniqFactory,
"id": 987,
"metadata": UniqMetadata,
"mintDate": "Thu Jul 13 2023 13:27:11 GMT+0200",
"owner": "aa1aa2aa3ag4",
"resale": UniqResale,
"serialNumber": 987,
"tradingPeriod": UniqTradingPeriod,
"transferPeriod": UniqTransferPeriod,
"type": "COLLECTIBLE"
}
}
}
uniqBuyOfferConfig
Description
Allows retrieving the configuration applied to all offers.
Response
Returns [UniqBuyOfferConfig!]!
Example
Query
query UniqBuyOfferConfig {
uniqBuyOfferConfig {
maxActiveOfferPerUser
maxDuration
minDuration
minPrice {
amount
currency {
code
symbol
}
}
}
}
Response
{
"data": {
"uniqBuyOfferConfig": [
{
"maxActiveOfferPerUser": 987,
"maxDuration": 987,
"minDuration": 987,
"minPrice": MonetaryAmount
}
]
}
}
uniqBuyOffers
Description
Simplifies the process of finding offers based on the factory, uniq, or buyer. This functionality is designed to include offers that are no longer valid, enabling the retrieval of any offer, whether expired or if the associated uniq has been burned. Please note that this query won't return the factory offer for each uniq it applies to, as factory offers don't have a uniq attached. If you prefer to see valid factory offer for each uniq it applies to, you should utilize the "uniqEffectiveBuyOffers" query instead.
Response
Returns a UniqBuyOfferList!
Arguments
Name | Description |
---|---|
buyer - WalletId | The optional filter on buyer wallet ID. |
maxExpiryDate - Date | The optional filter max expiry date. |
minExpiryDate - Date | The optional filter min expiry date. |
ofType - UniqBuyOfferOfTypeFilterInput | the optional filter to enable filtering on offer types. note that additional subfilters are available within this filter (example : uniqid or uniqburned), but the type of offer will be determined by the subfilter used. |
pagination - PaginationInput | The optional pagination input. |
uniqFactoryId - BigInt | The optional filter on uniq factory ID. |
Example
Query
query UniqBuyOffers(
$buyer: WalletId,
$maxExpiryDate: Date,
$minExpiryDate: Date,
$ofType: UniqBuyOfferOfTypeFilterInput,
$pagination: PaginationInput,
$uniqFactoryId: BigInt
) {
uniqBuyOffers(
buyer: $buyer,
maxExpiryDate: $maxExpiryDate,
minExpiryDate: $minExpiryDate,
ofType: $ofType,
pagination: $pagination,
uniqFactoryId: $uniqFactoryId
) {
data {
buyer
expiryDate
id
price {
amount
currency {
code
symbol
}
}
receiver
type
uniq {
factory {
accountMintingLimit
assetCreator
assetManager
authorizedMinters {
quantity
walletId
}
conditionlessReceivers
defaultUniqMetadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
descriptor {
description
dynamic
name
type
}
key
value
}
description
dynamicAttributes {
contentType
uris
}
dynamicResources {
key
value {
contentType
uris
}
}
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
firsthandPurchases {
groupRestriction {
excludes
includes
}
id
option {
factories {
count
id
strategy
}
transferUniqsReceiver
}
price {
amount
currency {
code
symbol
}
}
promoterBasisPoints
purchaseLimit
purchaseWindow {
endDate
startDate
}
purchasedUniqs
saleShares {
basisPoints
receiver
}
uosPayment
}
id
metadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
key
value {
description
dynamic
name
type
}
}
description
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
locked
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
mintableWindow {
endDate
startDate
}
resale {
minimumPrice {
amount
currency {
code
symbol
}
}
shares {
basisPoints
receiver
}
}
status
stock {
authorized
existing
maxMintable
mintable
minted
}
tradingWindow {
endDate
startDate
}
transferWindow {
endDate
startDate
}
type
}
id
metadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
descriptor {
description
dynamic
name
type
}
key
value
}
description
dynamicAttributes {
contentType
uris
}
dynamicResources {
key
value {
contentType
uris
}
}
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
mintDate
owner
resale {
onSaleDate
price {
amount
currency {
code
symbol
}
}
promoterBasisPoints
shares {
basisPoints
receiver
}
}
serialNumber
tradingPeriod {
duration
endDate
startDate
}
transferPeriod {
duration
endDate
startDate
}
type
}
uniqFactory {
accountMintingLimit
assetCreator
assetManager
authorizedMinters {
quantity
walletId
}
conditionlessReceivers
defaultUniqMetadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
descriptor {
description
dynamic
name
type
}
key
value
}
description
dynamicAttributes {
contentType
uris
}
dynamicResources {
key
value {
contentType
uris
}
}
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
firsthandPurchases {
groupRestriction {
excludes
includes
}
id
option {
factories {
count
id
strategy
}
transferUniqsReceiver
}
price {
amount
currency {
code
symbol
}
}
promoterBasisPoints
purchaseLimit
purchaseWindow {
endDate
startDate
}
purchasedUniqs
saleShares {
basisPoints
receiver
}
uosPayment
}
id
metadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
key
value {
description
dynamic
name
type
}
}
description
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
locked
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
mintableWindow {
endDate
startDate
}
resale {
minimumPrice {
amount
currency {
code
symbol
}
}
shares {
basisPoints
receiver
}
}
status
stock {
authorized
existing
maxMintable
mintable
minted
}
tradingWindow {
endDate
startDate
}
transferWindow {
endDate
startDate
}
type
}
uniqFactoryId
uniqId
}
pagination {
limit
skip
}
totalCount
}
}
Variables
{
"buyer": "aa1aa2aa3ag4",
"maxExpiryDate": "Thu Jul 13 2023 13:27:11 GMT+0200",
"minExpiryDate": "Thu Jul 13 2023 13:27:11 GMT+0200",
"ofType": UniqBuyOfferOfTypeFilterInput,
"pagination": PaginationInput,
"uniqFactoryId": 987
}
Response
{
"data": {
"uniqBuyOffers": {
"data": [UniqBuyOffer],
"pagination": Pagination,
"totalCount": 987
}
}
}
uniqEffectiveBuyOffers
Description
Enables the retrieval of effective offers. This feature provides active offers for a specified uniq, factory, buyer, or owner. By default, this query returns offers for each uniq it applies to, including those made on both the uniq and uniq factory sides, unless a specific filter is applied. Note: An active offer means the offer is not expired, and the associated uniq is not burned.
Response
Returns a UniqEffectiveBuyOfferList!
Arguments
Name | Description |
---|---|
buyer - WalletId | The optional filter on buyer wallet ID. |
pagination - PaginationInput | The optional pagination input. |
subject - UniqBuyOfferSubjectInput! | Mandatory filter on uniq ID or owner wallet ID. |
type - UniqBuyOfferType | The optional filter on buy offer type. |
uniqFactoryId - BigInt | The optional filter on uniq factory ID. |
Example
Query
query UniqEffectiveBuyOffers(
$buyer: WalletId,
$pagination: PaginationInput,
$subject: UniqBuyOfferSubjectInput!,
$type: UniqBuyOfferType,
$uniqFactoryId: BigInt
) {
uniqEffectiveBuyOffers(
buyer: $buyer,
pagination: $pagination,
subject: $subject,
type: $type,
uniqFactoryId: $uniqFactoryId
) {
data {
buyer
expiryDate
id
price {
amount
currency {
code
symbol
}
}
receiver
type
uniq {
factory {
accountMintingLimit
assetCreator
assetManager
authorizedMinters {
quantity
walletId
}
conditionlessReceivers
defaultUniqMetadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
descriptor {
description
dynamic
name
type
}
key
value
}
description
dynamicAttributes {
contentType
uris
}
dynamicResources {
key
value {
contentType
uris
}
}
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
firsthandPurchases {
groupRestriction {
excludes
includes
}
id
option {
factories {
count
id
strategy
}
transferUniqsReceiver
}
price {
amount
currency {
code
symbol
}
}
promoterBasisPoints
purchaseLimit
purchaseWindow {
endDate
startDate
}
purchasedUniqs
saleShares {
basisPoints
receiver
}
uosPayment
}
id
metadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
key
value {
description
dynamic
name
type
}
}
description
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
locked
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
mintableWindow {
endDate
startDate
}
resale {
minimumPrice {
amount
currency {
code
symbol
}
}
shares {
basisPoints
receiver
}
}
status
stock {
authorized
existing
maxMintable
mintable
minted
}
tradingWindow {
endDate
startDate
}
transferWindow {
endDate
startDate
}
type
}
id
metadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
descriptor {
description
dynamic
name
type
}
key
value
}
description
dynamicAttributes {
contentType
uris
}
dynamicResources {
key
value {
contentType
uris
}
}
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
mintDate
owner
resale {
onSaleDate
price {
amount
currency {
code
symbol
}
}
promoterBasisPoints
shares {
basisPoints
receiver
}
}
serialNumber
tradingPeriod {
duration
endDate
startDate
}
transferPeriod {
duration
endDate
startDate
}
type
}
uniqFactory {
accountMintingLimit
assetCreator
assetManager
authorizedMinters {
quantity
walletId
}
conditionlessReceivers
defaultUniqMetadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
descriptor {
description
dynamic
name
type
}
key
value
}
description
dynamicAttributes {
contentType
uris
}
dynamicResources {
key
value {
contentType
uris
}
}
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
firsthandPurchases {
groupRestriction {
excludes
includes
}
id
option {
factories {
count
id
strategy
}
transferUniqsReceiver
}
price {
amount
currency {
code
symbol
}
}
promoterBasisPoints
purchaseLimit
purchaseWindow {
endDate
startDate
}
purchasedUniqs
saleShares {
basisPoints
receiver
}
uosPayment
}
id
metadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
key
value {
description
dynamic
name
type
}
}
description
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
locked
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
mintableWindow {
endDate
startDate
}
resale {
minimumPrice {
amount
currency {
code
symbol
}
}
shares {
basisPoints
receiver
}
}
status
stock {
authorized
existing
maxMintable
mintable
minted
}
tradingWindow {
endDate
startDate
}
transferWindow {
endDate
startDate
}
type
}
}
pagination {
limit
skip
}
totalCount
}
}
Variables
{
"buyer": "aa1aa2aa3ag4",
"pagination": PaginationInput,
"subject": UniqBuyOfferSubjectInput,
"type": "UNIQ",
"uniqFactoryId": 987
}
Response
{
"data": {
"uniqEffectiveBuyOffers": {
"data": [UniqEffectiveBuyOffer],
"pagination": Pagination,
"totalCount": 987
}
}
}
uniqFactories
Description
Retrieves a list of Uniq factories, optionally filtered by asset manager, and applies pagination for result management. Returns all factories if no specific filters are used.
Response
Returns a UniqFactoryList!
Arguments
Name | Description |
---|---|
assetManager - WalletId | Optional filter to narrow down factories by their associated asset manager, aiding in targeted queries. |
pagination - PaginationInput | Pagination settings to control the volume and segmentation of returned results, enhancing usability and accessibility. |
Example
Query
query UniqFactories(
$assetManager: WalletId,
$pagination: PaginationInput
) {
uniqFactories(
assetManager: $assetManager,
pagination: $pagination
) {
data {
accountMintingLimit
assetCreator
assetManager
authorizedMinters {
quantity
walletId
}
conditionlessReceivers
defaultUniqMetadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
descriptor {
description
dynamic
name
type
}
key
value
}
description
dynamicAttributes {
contentType
uris
}
dynamicResources {
key
value {
contentType
uris
}
}
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
firsthandPurchases {
groupRestriction {
excludes
includes
}
id
option {
factories {
count
id
strategy
}
transferUniqsReceiver
}
price {
amount
currency {
code
symbol
}
}
promoterBasisPoints
purchaseLimit
purchaseWindow {
endDate
startDate
}
purchasedUniqs
saleShares {
basisPoints
receiver
}
uosPayment
}
id
metadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
key
value {
description
dynamic
name
type
}
}
description
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
locked
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
mintableWindow {
endDate
startDate
}
resale {
minimumPrice {
amount
currency {
code
symbol
}
}
shares {
basisPoints
receiver
}
}
status
stock {
authorized
existing
maxMintable
mintable
minted
}
tradingWindow {
endDate
startDate
}
transferWindow {
endDate
startDate
}
type
}
pagination {
limit
skip
}
totalCount
}
}
Variables
{
"assetManager": "aa1aa2aa3ag4",
"pagination": PaginationInput
}
Response
{
"data": {
"uniqFactories": {
"data": [UniqFactory],
"pagination": Pagination,
"totalCount": 987
}
}
}
uniqFactory
Description
Fetches a specific Uniq factory by its blockchain ID, providing detailed information about its configuration, operations, and associated default Uniqs metadata.
Response
Returns a UniqFactory!
Arguments
Name | Description |
---|---|
id - BigInt! | The blockchain ID of the desired Uniq factory, serving as the query's focal point. |
Example
Query
query UniqFactory($id: BigInt!) {
uniqFactory(id: $id) {
accountMintingLimit
assetCreator
assetManager
authorizedMinters {
quantity
walletId
}
conditionlessReceivers
defaultUniqMetadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
descriptor {
description
dynamic
name
type
}
key
value
}
description
dynamicAttributes {
contentType
uris
}
dynamicResources {
key
value {
contentType
uris
}
}
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
firsthandPurchases {
groupRestriction {
excludes
includes
}
id
option {
factories {
count
id
strategy
}
transferUniqsReceiver
}
price {
amount
currency {
code
symbol
}
}
promoterBasisPoints
purchaseLimit
purchaseWindow {
endDate
startDate
}
purchasedUniqs
saleShares {
basisPoints
receiver
}
uosPayment
}
id
metadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
key
value {
description
dynamic
name
type
}
}
description
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
locked
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
mintableWindow {
endDate
startDate
}
resale {
minimumPrice {
amount
currency {
code
symbol
}
}
shares {
basisPoints
receiver
}
}
status
stock {
authorized
existing
maxMintable
mintable
minted
}
tradingWindow {
endDate
startDate
}
transferWindow {
endDate
startDate
}
type
}
}
Variables
{"id": 987}
Response
{
"data": {
"uniqFactory": {
"accountMintingLimit": 987,
"assetCreator": "aa1aa2aa3ag4",
"assetManager": "aa1aa2aa3ag4",
"authorizedMinters": [UniqFactoryAuthorizedMinter],
"conditionlessReceivers": [
"aa1aa2aa3ag4"
],
"defaultUniqMetadata": UniqMetadata,
"firsthandPurchases": [
UniqFactoryFirsthandPurchase
],
"id": 987,
"metadata": UniqFactoryMetadata,
"mintableWindow": UniqFactoryMintableWindow,
"resale": UniqFactoryResale,
"status": "ACTIVE",
"stock": UniqFactoryStock,
"tradingWindow": UniqFactoryTradingWindow,
"transferWindow": UniqFactoryTransferWindow,
"type": "COLLECTIBLE"
}
}
}
uniqGlobalShares
Response
Returns [UniqSaleShare!]!
Example
Query
query UniqGlobalShares {
uniqGlobalShares {
basisPoints
receiver
}
}
Response
{
"data": {
"uniqGlobalShares": [
{
"basisPoints": 987,
"receiver": "aa1aa2aa3ag4"
}
]
}
}
uniqsOfFactory
Description
Lists Uniqs associated with a particular factory, allowing for advanced filtering based on serial numbers, IDs, resale status, and incorporates pagination for comprehensive result exploration.
Response
Returns a UniqList!
Arguments
Name | Description |
---|---|
factoryId - BigInt! | The blockchain ID of the factory, specifying the source of the Uniqs to be retrieved. |
ids - [BigInt!] | Optional list of specific Uniq IDs for targeted retrieval, offering precise control over the query output. |
pagination - PaginationInput | Pagination settings, structuring the query results into segmented, navigable data sets for user convenience. |
resale - Boolean | Optional filter for Uniq resale status, distinguishing between items available for sale and those not on the market. |
serialRange - UniqSerialRangeInput | Optional serial number range filter, refining the selection of Uniqs based on their sequence within the factory's issuance. |
Example
Query
query UniqsOfFactory(
$factoryId: BigInt!,
$ids: [BigInt!],
$pagination: PaginationInput,
$resale: Boolean,
$serialRange: UniqSerialRangeInput
) {
uniqsOfFactory(
factoryId: $factoryId,
ids: $ids,
pagination: $pagination,
resale: $resale,
serialRange: $serialRange
) {
data {
factory {
accountMintingLimit
assetCreator
assetManager
authorizedMinters {
quantity
walletId
}
conditionlessReceivers
defaultUniqMetadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
descriptor {
description
dynamic
name
type
}
key
value
}
description
dynamicAttributes {
contentType
uris
}
dynamicResources {
key
value {
contentType
uris
}
}
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
firsthandPurchases {
groupRestriction {
excludes
includes
}
id
option {
factories {
count
id
strategy
}
transferUniqsReceiver
}
price {
amount
currency {
code
symbol
}
}
promoterBasisPoints
purchaseLimit
purchaseWindow {
endDate
startDate
}
purchasedUniqs
saleShares {
basisPoints
receiver
}
uosPayment
}
id
metadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
key
value {
description
dynamic
name
type
}
}
description
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
locked
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
mintableWindow {
endDate
startDate
}
resale {
minimumPrice {
amount
currency {
code
symbol
}
}
shares {
basisPoints
receiver
}
}
status
stock {
authorized
existing
maxMintable
mintable
minted
}
tradingWindow {
endDate
startDate
}
transferWindow {
endDate
startDate
}
type
}
id
metadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
descriptor {
description
dynamic
name
type
}
key
value
}
description
dynamicAttributes {
contentType
uris
}
dynamicResources {
key
value {
contentType
uris
}
}
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
mintDate
owner
resale {
onSaleDate
price {
amount
currency {
code
symbol
}
}
promoterBasisPoints
shares {
basisPoints
receiver
}
}
serialNumber
tradingPeriod {
duration
endDate
startDate
}
transferPeriod {
duration
endDate
startDate
}
type
}
pagination {
limit
skip
}
totalCount
}
}
Variables
{
"factoryId": 987,
"ids": [987],
"pagination": PaginationInput,
"resale": true,
"serialRange": UniqSerialRangeInput
}
Response
{
"data": {
"uniqsOfFactory": {
"data": [Uniq],
"pagination": Pagination,
"totalCount": 123
}
}
}
uniqsOfWallet
Description
Enables querying user-specific Uniqs, offering personalized insight into Uniq ownership and management based on wallet ID.
Response
Returns a UniqList!
Arguments
Name | Description |
---|---|
factoryIds - [BigInt!] | Optional: Specifies a list of Uniq Factory IDs to refine the query results, focusing on Uniqs from specific factories. |
ids - [BigInt!] | Optional: Specifies a list of Uniq IDs to filter the query results. Useful for identifying specific Uniqs owned by the user. |
pagination - PaginationInput | Applies pagination to manage the data volume, facilitating efficient data retrieval and display. |
resale - Boolean | Optional: Filters the Uniqs based on their resale status, allowing users to segregate Uniqs that are currently on sale or not. |
walletId - WalletId! | The unique identifier for the user's wallet, essential for retrieving Uniqs associated with this particular user. |
Example
Query
query UniqsOfWallet(
$factoryIds: [BigInt!],
$ids: [BigInt!],
$pagination: PaginationInput,
$resale: Boolean,
$walletId: WalletId!
) {
uniqsOfWallet(
factoryIds: $factoryIds,
ids: $ids,
pagination: $pagination,
resale: $resale,
walletId: $walletId
) {
data {
factory {
accountMintingLimit
assetCreator
assetManager
authorizedMinters {
quantity
walletId
}
conditionlessReceivers
defaultUniqMetadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
descriptor {
description
dynamic
name
type
}
key
value
}
description
dynamicAttributes {
contentType
uris
}
dynamicResources {
key
value {
contentType
uris
}
}
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
firsthandPurchases {
groupRestriction {
excludes
includes
}
id
option {
factories {
count
id
strategy
}
transferUniqsReceiver
}
price {
amount
currency {
code
symbol
}
}
promoterBasisPoints
purchaseLimit
purchaseWindow {
endDate
startDate
}
purchasedUniqs
saleShares {
basisPoints
receiver
}
uosPayment
}
id
metadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
key
value {
description
dynamic
name
type
}
}
description
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
locked
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
mintableWindow {
endDate
startDate
}
resale {
minimumPrice {
amount
currency {
code
symbol
}
}
shares {
basisPoints
receiver
}
}
status
stock {
authorized
existing
maxMintable
mintable
minted
}
tradingWindow {
endDate
startDate
}
transferWindow {
endDate
startDate
}
type
}
id
metadata {
cachedSource {
contentType
integrity {
hash
type
}
uri
}
content {
attributes {
descriptor {
description
dynamic
name
type
}
key
value
}
description
dynamicAttributes {
contentType
uris
}
dynamicResources {
key
value {
contentType
uris
}
}
medias {
gallery {
contentType
integrity {
hash
type
}
uri
}
hero {
contentType
integrity {
hash
type
}
uri
}
product {
contentType
integrity {
hash
type
}
uri
}
square {
contentType
integrity {
hash
type
}
uri
}
}
name
properties
resources {
key
value {
contentType
integrity {
hash
type
}
uri
}
}
subName
}
source {
contentType
integrity {
hash
type
}
uri
}
status
validationFailures {
code
context {
key
value
}
defaultMessage
}
}
mintDate
owner
resale {
onSaleDate
price {
amount
currency {
code
symbol
}
}
promoterBasisPoints
shares {
basisPoints
receiver
}
}
serialNumber
tradingPeriod {
duration
endDate
startDate
}
transferPeriod {
duration
endDate
startDate
}
type
}
pagination {
limit
skip
}
totalCount
}
}
Variables
{
"factoryIds": [987],
"ids": [987],
"pagination": PaginationInput,
"resale": false,
"walletId": "aa1aa2aa3ag4"
}
Response
{
"data": {
"uniqsOfWallet": {
"data": [Uniq],
"pagination": Pagination,
"totalCount": 123
}
}
}