generated from holaplex/hub-starter
-
Notifications
You must be signed in to change notification settings - Fork 0
/
holaplex.graphql
1789 lines (1397 loc) · 48.1 KB
/
holaplex.graphql
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
directive @defer(if: Boolean! = true, label: String) on FRAGMENT_SPREAD | INLINE_FRAGMENT
"""Input required for accepting an invitation to the organization."""
input AcceptInviteInput {
"""The ID of the invitation."""
invite: UUID!
}
"""
The response returned after accepting an invitation to the organization.
"""
type AcceptInvitePayload {
"""The invitation to the organization that has been accepted."""
invite: Invite!
}
"""
An access token used to authenticate and authorize access to the Hub API.
"""
type AccessToken {
"""A string representing the access token used to authenticate requests."""
accessToken: String!
"""A timestamp indicating when the access token will expire."""
expiresAt: NaiveDateTime!
"""A string indicating the type of access token, such as "Bearer"."""
tokenType: String!
}
enum Action {
CREATE_COLLECTION
CREATE_DROP
CREATE_WALLET
MINT
MINT_COMPRESSED
MINT_EDITION
RETRY_COLLECTION
RETRY_DROP
RETRY_MINT
TRANSFER_ASSET
UPDATE_MINT
}
"""
Represents the cost of performing a certain action on different blockchains
"""
type ActionCost {
"""enum that represents the type of action being performed."""
action: Action!
"""
a vector of BlockchainCost structs that represents the cost of performing the action on each blockchain.
"""
blockchains: [BlockchainCost!]!
}
"""
An enum type named Affiliation that defines a user's association to an organization. The enum is derived using a Union attribute. It has two variants, each containing an associated data type:
"""
union Affiliation = Member | Owner
type Airdrop {
completedAt: String
drop: Drop
startedAt: String
}
"""Fireblocks-defined blockchain identifiers."""
enum AssetType {
"""Ethereum Mainnet"""
ETH
"""Mainnet Polygon"""
MATIC
"""Mainnet Solana"""
SOL
}
enum Blockchain {
ETHEREUM
POLYGON
SOLANA
}
"""Represents the cost of performing an action on a specific blockchain"""
type BlockchainCost {
"""
enum that represents the blockchain on which the action is being performed.
"""
blockchain: Blockchain!
"""
represents the cost in credits for performing the action on the blockchain. If nil then the action is not supported on the blockchain.
"""
credits: Int
}
type Collection {
"""
The blockchain address of the collection used to view it in blockchain explorers.
On Solana this is the mint address.
On EVM chains it is the concatenation of the contract address and the token id `{contractAddress}:{tokenId}`.
"""
address: String
"""The blockchain of the collection."""
blockchain: Blockchain!
"""The date and time in UTC when the collection was created."""
createdAt: DateTime!
"""The user id of the person who created the collection."""
createdById: UUID!
"""
The creation status of the collection. When the collection is in a `CREATED` status you can mint NFTs from the collection.
"""
creationStatus: CreationStatus!
"""The list of attributed creators for the collection."""
creators: [CollectionCreator!]
creditsDeductionId: UUID
drop: Drop
"""The list of current holders of NFTs from the collection."""
holders: [Holder!]
"""The unique identifier for the collection."""
id: UUID!
"""
The metadata json associated to the collection.
## References
[Metaplex v1.1.0 Standard](https://docs.metaplex.com/programs/token-metadata/token-standard)
"""
metadataJson: MetadataJson
"""
A list of all NFT mints from the collection, including both primary and secondary sales.
"""
mintHistories: [MintHistory!]
"""
The list of minted NFTs from the collection including the NFTs address and current owner's wallet address.
"""
mints: [CollectionMint!]
projectId: UUID!
"""
A list of all NFT purchases from the collection, including both primary and secondary sales.
"""
purchases: [MintHistory!] @deprecated(reason: "Use `mint_histories` instead")
"""
The royalties assigned to mints belonging to the collection expressed in basis points.
"""
sellerFeeBasisPoints: Int!
"""The transaction signature of the collection."""
signature: String
"""
The total supply of the collection. Setting to `null` implies unlimited minting.
"""
supply: Int
"""The current number of NFTs minted from the collection."""
totalMints: Int!
}
type CollectionCreator {
address: String!
collectionId: UUID!
share: Int!
verified: Boolean!
}
"""Represents a single NFT minted from a collection."""
type CollectionMint {
"""
The address of the NFT
On Solana this is the mint address.
On EVM chains it is the concatenation of the contract address and the token id `{contractAddress}:{tokenId}`.
"""
address: String
"""The collection the NFT was minted from."""
collection: Collection
"""The ID of the collection the NFT was minted from."""
collectionId: UUID!
"""
Indicates if the NFT is compressed. Compression is only supported on Solana.
"""
compressed: Boolean!
"""The date and time when the NFT was created."""
createdAt: DateTime!
"""The unique ID of the creator of the NFT."""
createdBy: UUID!
"""The status of the NFT creation."""
creationStatus: CreationStatus!
"""
The creators of the mint. Includes the creator addresses and their shares.
"""
creators: [MintCreator!]
"""credits deduction id"""
creditsDeductionId: UUID
"""The unique edition number of the NFT."""
edition: Int!
"""The unique ID of the minted NFT."""
id: UUID!
"""
The metadata json associated to the collection.
[Metaplex v1.1.0 Standard](https://docs.metaplex.com/programs/token-metadata/token-standard)
"""
metadataJson: MetadataJson
"""The record of the original mint."""
mintHistory: MintHistory
"""The wallet address of the owner of the NFT."""
owner: String!
"""The seller fee basis points (ie royalties) for the NFT."""
sellerFeeBasisPoints: Int!
"""The transaction signature associated with the NFT."""
signature: String
"""The history of transfers for the mint."""
transferHistories: [NftTransfer!]
"""The update history of the mint."""
updateHistories: [UpdateHistory!]
}
input CreateCollectionInput {
blockchain: Blockchain!
creators: [CreatorInput!]!
metadataJson: MetadataJsonInput!
project: UUID!
}
type CreateCollectionPayload {
collection: Collection!
}
"""
This struct represents the input for creating a new API credential, including the ID of the organization that the credential will be associated with and the friendly name assigned to the credential.
"""
input CreateCredentialInput {
"""The friendly name assigned to the new API credential."""
name: String!
"""
The ID of the organization that the new API credential will be associated with.
"""
organization: UUID!
}
"""
The response payload returned after successfully creating an API credential. It includes the newly created Credential object, which represents the API credential, as well as an `AccessToken` object that can be used to authenticate requests to the Hub API.
"""
type CreateCredentialPayload {
"""
An `AccessToken` object that can be used to authenticate requests to the Hub API.
"""
accessToken: AccessToken!
"""A `Credential` object representing the newly created API credential."""
credential: Credential!
}
"""
This input object is used for creating a customer and associated treasury for holding custodial wallets on behalf of the user.
"""
input CreateCustomerInput {
"""
The unique identifier of the project to which the customer is associated.
"""
project: UUID!
}
"""
This response represents the payload returned after successfully creating a new `customer` record. It contains a single field customer which is a `Customer` object representing the newly created customer record.
"""
type CreateCustomerPayload {
"""The customer record created by the create customer mutation."""
customer: Customer!
}
"""Input for creating a customer wallet."""
input CreateCustomerWalletInput {
"""Blockchain for wallet creation."""
assetType: AssetType!
"""The customer ID."""
customer: UUID!
}
"""Response after wallet creation."""
type CreateCustomerWalletPayload {
wallet: Wallet!
}
input CreateDropInput {
blockchain: Blockchain!
creators: [CreatorInput!]!
endTime: DateTime
metadataJson: MetadataJsonInput!
price: Int
project: UUID!
sellerFeeBasisPoints: Int
startTime: DateTime
supply: Int
}
type CreateDropPayload {
drop: Drop!
}
input CreateOrganizationInput {
name: String!
profileImageUrl: String
}
type CreateOrganizationPayload {
organization: Organization!
}
"""The input used for creating a project."""
input CreateProjectInput {
"""
The friendly name to denote the project from others belonging to the organization.
"""
name: String!
"""The ID of the organization the project belongs to."""
organization: UUID!
"""The URL of the project's profile image."""
profileImageUrl: String
}
"""* The payload returned by the `createProject` mutation."""
type CreateProjectPayload {
"""* The project that was created."""
project: Project!
}
input CreateWebhookInput {
description: String!
filterTypes: [FilterType!]!
organization: UUID!
projects: [UUID!]!
url: String!
}
type CreateWebhookPayload {
secret: String!
webhook: Webhook!
}
enum CreationStatus {
BLOCKED
CANCELED
CREATED
FAILED
PENDING
REJECTED
}
"""An attributed creator for a collection or mint."""
input CreatorInput {
"""The wallet address of the creator."""
address: String!
"""The share of royalties payout the creator should receive."""
share: Int!
"""
This field indicates whether the creator has been verified. This feature is only supported on the Solana blockchain.
## References
[Metaplex Token Metadata - Verify creator instruction](https://docs.metaplex.com/programs/token-metadata/instructions#verify-a-creator)
"""
verified: Boolean
}
"""
An `OAuth2` client application used for authentication with the Hub API.
"""
type Credential {
"""A unique identifier for the credential."""
clientId: String!
"""The datetime in UTC when the credential was created."""
createdAt: NaiveDateTime!
"""This field represents the user who created the credential."""
createdBy: User
"""The ID of the user who created the credential."""
createdById: UUID!
"""A user-friendly name assigned to the credential."""
name: String!
"""The ID of the organization the credential belongs to."""
organizationId: UUID!
}
type CreditDeposit {
cost: Float!
createdAt: DateTime!
credits: Int!
id: UUID!
initiatedBy: UUID!
organization: UUID!
perCreditCost: Float!
reason: DepositReason!
}
type Credits {
balance: Int!
deposits: [CreditDeposit!]
id: UUID!
}
"""
A customer record represents a user in your service and is used to group custodial wallets within a specific project. This allows for easy management of wallets and associated assets for a particular customer within your service.
"""
type Customer {
"""
Returns all the wallet addresses associated with the customer. The blockchain of the address is not included and they are in no particular order. In the future, the blockchain may be indicated with a pattern of {blockchain}:{address}.
This field returns null when there is no treasury assigned to the customer yet.
"""
addresses: [String!]
"""The datetime when the customer record was created."""
createdAt: NaiveDateTime!
"""The unique identifier for the customer record."""
id: UUID!
"""The NFTs minted by the customer."""
mintHistories: [MintHistory!]
"""The NFTs owned by any of the customers' wallets."""
mints: [CollectionMint!]
"""The ID of the project to which the customer record belongs."""
projectId: UUID!
"""
The treasury assigned to the customer, which contains the customer's wallets.
"""
treasury: Treasury
"""
An optional datetime indicating the last time the customer record was updated. If the customer record has not been updated, this field will be `null`.
"""
updatedAt: NaiveDateTime
wallet(assetId: AssetType): [Wallet!]
}
"""
Implement the DateTime<FixedOffset> scalar
The input/output is a string in RFC3339 format.
"""
scalar DateTime
input DeactivateMemberInput {
id: UUID!
}
type DeductionTotals {
action: Action!
spent: Int!
}
"""The input for deleting a credential."""
input DeleteCredentialInput {
"""The unique identifier assigned to the credential to be deleted."""
credential: String!
}
"""The response for deleting a credential."""
type DeleteCredentialPayload {
"""The unique identifier assigned to the deleted credential."""
credential: String!
}
input DeleteWebhookInput {
webhook: UUID!
}
type DeleteWebhookPayload {
webhook: UUID!
}
enum DepositReason {
GIFTED
PURCHASED
}
type Drop {
"""The collection for which the drop is managing mints."""
collection: Collection!
"""The date and time in UTC when the drop was created."""
createdAt: DateTime!
"""The user id of the person who created the drop."""
createdById: UUID!
"""The creation status of the drop."""
creationStatus: CreationStatus!
"""
The end date and time in UTC for the drop. A value of `null` means the drop does not end until it is fully minted.
"""
endTime: DateTime
"""The unique identifier for the drop."""
id: UUID!
pausedAt: DateTime
"""
The cost to mint the drop in US dollars. When purchasing with crypto the user will be charged at the current conversion rate for the blockchain's native coin at the time of minting.
"""
price: Int!
"""The identifier of the project to which the drop is associated."""
projectId: UUID!
"""A list of all NFT purchases from this drop."""
purchases: [MintHistory!] @deprecated(reason: "Use `mint_histories` under `Collection` Object instead.")
"""
The shutdown_at field represents the date and time in UTC when the drop was shutdown
If it is null, the drop is currently not shutdown
"""
shutdownAt: DateTime
"""
The date and time in UTC when the drop is eligible for minting. A value of `null` means the drop can be minted immediately.
"""
startTime: DateTime
"""The current status of the drop."""
status: DropStatus!
}
"""The different phases of a drop."""
enum DropStatus {
"""The drop is still being created and is not ready to mint."""
CREATING
"""The drop has expired and its end time has passed."""
EXPIRED
"""The creation process for the drop has failed"""
FAILED
"""The minting process for the collection is complete."""
MINTED
"""Actively minting."""
MINTING
"""The drop is temporarily paused and cannot be minted at the moment."""
PAUSED
"""The drop is scheduled for minting."""
SCHEDULED
"""The drop is permanently shut down and can no longer be minted."""
SHUTDOWN
}
"""
The input for editing the name of an existing credential by providing the `client_id` of the credential and the new `name` to be assigned.
"""
input EditCredentialInput {
"""A unique string identifier assigned to the credential during creation."""
clientId: String!
"""The new name to be assigned to the credential."""
name: String!
}
"""The response for editing the name of a credential."""
type EditCredentialPayload {
"""The updated credential with the edited name."""
credential: Credential!
}
input EditOrganizationInput {
id: UUID!
name: String!
profileImageUrl: String
}
type EditOrganizationPayload {
organization: Organization!
}
input EditProjectInput {
id: UUID!
name: String!
profileImageUrl: String
}
type EditProjectPayload {
project: Project!
}
input EditWebhookInput {
description: String!
disabled: Boolean
filterTypes: [FilterType!]!
projects: [UUID!]!
url: String!
webhook: UUID!
}
type EditWebhookPayload {
webhook: Webhook!
}
"""An event to which an external service can subscribe."""
type EventType {
"""Whether the event is archived or not."""
archived: Boolean
"""The date and time when the event was created, in string format."""
createdAt: String!
"""A description of the event."""
description: String!
"""The name of the event."""
name: String!
"""The JSON schema for the event payload."""
schemas: JSON!
"""The date and time when the event was last updated, in string format."""
updatedAt: String!
}
"""An enumeration of event types that can be subscribed to by a webhook."""
enum FilterType {
"""Event triggered when a new collection is created"""
COLLECTION_CREATED
"""Event triggered when a new customer is created"""
CUSTOMER_CREATED
"""Event triggered when a new customer treasury is created"""
CUSTOMER_TREASURY_CREATED
"""Event triggered when a new wallet is created for a customer"""
CUSTOMER_WALLET_CREATED
"""Event triggered when a new drop is created"""
DROP_CREATED
"""Event triggered when a new drop is minted"""
DROP_MINTED
"""Event triggered when an NFT is minted to a collection"""
MINTED_TO_COLLECTION
"""Event triggered when a mint has been successfully transfered"""
MINT_TRANSFERED
"""Event triggered when a new project is created"""
PROJECT_CREATED
"""Event triggered when a new wallet is created for a project"""
PROJECT_WALLET_CREATED
}
"""The holder of a collection."""
type Holder {
"""The wallet address of the holder."""
address: String!
"""The collection ID that the holder owns."""
collectionId: UUID!
"""The specific mints from the collection that the holder owns."""
mints: [UUID!]!
"""The number of NFTs that the holder owns in the collection."""
owns: Int!
}
"""Input object for importing a collection."""
input ImportCollectionInput {
collection: String!
project: UUID!
}
"""Represents the result of a successful import collection mutation."""
type ImportCollectionPayload {
"""The status of the collection import."""
status: CreationStatus!
}
"""An invitation sent to join a Holaplex organization."""
type Invite {
"""
The datetime, in UTC, when the invitation to join the organization was created.
"""
createdAt: DateTime!
"""The ID of the user who created the invitation."""
createdBy: UUID!
"""
The email address of the user being invited to become a member of the organization.
"""
email: String!
"""The ID of the invitation."""
id: UUID!
"""
The member record that is generated after the invitation to join the organization is accepted. When the user has not accepted the invitation, this field returns `null`.
"""
member: Member
"""The organization to which the invitation to join belongs."""
organization: Organization
"""The ID of the organization to which the invitation belongs."""
organizationId: UUID!
"""The status of the invitation."""
status: InviteStatus!
"""The datetime, in UTC, when the invitation status was updated."""
updatedAt: DateTime
}
"""Input required for inviting a member to the organization."""
input InviteMemberInput {
"""The email address of the invited user."""
email: String!
"""The ID of the organization."""
organization: UUID!
}
"""The status of a member invitation."""
enum InviteStatus {
"""The member invitation has been accepted by the invited user."""
ACCEPTED
"""
The member invitation has been revoked by an existing member of the organization and is no longer valid.
"""
REVOKED
"""The member invitation has been sent to the invited user."""
SENT
}
"""A scalar that can represent any JSON value."""
scalar JSON
"""
A member of a Holaplex organization, representing an individual who has been granted access to the organization.
"""
type Member {
"""The datetime, in UTC, when the member joined the organization."""
createdAt: DateTime!
"""
The datetime, in UTC, when the member was deactivated from the organization.
"""
deactivatedAt: DateTime
"""The unique identifier of the member."""
id: UUID!
"""
The invitation to join the Holaplex organization that the member accepted in order to gain access to the organization.
"""
invite: Invite
"""
The ID of the invitation that the member accepted to join the organization.
"""
inviteId: UUID!
"""
The Holaplex organization to which the member belongs, representing an individual who has been granted access to the organization.
"""
organization: Organization
"""
The ID of the Holaplex organization to which the user has been granted access.
"""
organizationId: UUID!
"""
The datetime, in UTC, when the member was revoked from the organization.
"""
revokedAt: DateTime
"""The user identity who is a member of the organization."""
user: User
"""
The ID of the user who has been granted access to the Holaplex organization as a member.
"""
userId: UUID!
}
"""
The collection's associated metadata JSON.
## References
[Metaplex v1.1.0 Standard](https://docs.metaplex.com/programs/token-metadata/token-standard)
"""
type MetadataJson {
"""An optional animated version of the NFT art."""
animationUrl: String
attributes: [MetadataJsonAttribute!]
"""The description of the NFT."""
description: String!
"""
An optional URL where viewers can find more information on the NFT, such as the collection's homepage or Twitter page.
"""
externalUrl: String
id: UUID!
identifier: String!
image: String!
"""The image URI for the NFT."""
imageOriginal: String!
"""The assigned name of the NFT."""
name: String!
"""The symbol of the NFT."""
symbol: String!
"""The URI for the complete metadata JSON."""
uri: String!
}
"""An attribute of the NFT."""
type MetadataJsonAttribute {
id: UUID!
metadataJsonId: UUID!
"""The name of the attribute."""
traitType: String!
"""The value of the attribute."""
value: String!
}
input MetadataJsonAttributeInput {
traitType: String!
value: String!
}
input MetadataJsonCollectionInput {
family: String
name: String
}
input MetadataJsonFileInput {
fileType: String
uri: String
}
input MetadataJsonInput {
animationUrl: String
attributes: [MetadataJsonAttributeInput!]!
collection: MetadataJsonCollectionInput
description: String!
externalUrl: String
image: String!
name: String!
properties: MetadataJsonPropertyInput
symbol: String!
}
input MetadataJsonPropertyInput {
category: String
files: [MetadataJsonFileInput!]
}
type MintCreator {
address: String!
collectionMintId: UUID!
share: Int!
verified: Boolean!
}
"""
Represents input data for `mint_edition` mutation with a UUID and recipient as fields
"""
input MintDropInput {
"""The ID of the drop to mint to"""
drop: UUID!
"""The recipient of the mint"""
recipient: String!
}
"""Represents payload data for the `mint_edition` mutation"""
type MintEditionPayload {
collectionMint: CollectionMint!
}
"""A record of a minted NFT."""
type MintHistory {
"""The ID of the collection that facilitated the mint, if any."""
collectionId: UUID!
"""The date and time when the purchase was created."""
createdAt: DateTime!
id: UUID!
"""The minted NFT."""
mint: CollectionMint
"""The ID of the NFT minted."""
mintId: UUID!
"""The status of the creation of the NFT."""
status: CreationStatus!
"""The signature of the transaction, if any."""
txSignature: String
"""The wallet address of the buyer."""
wallet: String!
}
"""
Represents input data for `mint_to_collection` mutation with a collection ID, recipient, metadata, and optional seller fee basis points as fields
"""
input MintToCollectionInput {
"""The ID of the collection to mint to"""
collection: UUID!
compressed: Boolean
"""
The creators to be assigned to the NFT.
For Solana, this can be up to five creators. If the project treasury wallet is set as a creator and verified set to true the creator will be verified on chain.
For Polygon, this can be only 1 creator.
"""
creators: [CreatorInput!]!
"""The metadata of the mint"""
metadataJson: MetadataJsonInput!
"""The recipient of the mint"""
recipient: String!
"""The optional seller fee basis points"""
sellerFeeBasisPoints: Int
}
"""Represents payload data for `mint_to_collection` mutation"""
type MintToCollectionPayload {
"""The minted NFT"""
collectionMint: CollectionMint!
}
type Mutation {
"""
Accept an invite to the organization.
# Error
This mutation will produce an error if it is unable to connect to the database or if the user's email does not match the invitation.
"""
acceptInvite(input: AcceptInviteInput!): AcceptInvitePayload!
"""