Skip to main content

Customer

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 {
id: UUID!
projectId: UUID!
createdAt: NaiveDateTime!
updatedAt: NaiveDateTime
addresses: [String!]
mints: [CollectionMint!]
mintHistories: [MintHistory!]
treasury: Treasury
wallet(
assetId: AssetType
): [Wallet!]
}

Fields​

Customer.id ● UUID! non-null scalar​

The unique identifier for the customer record.

Customer.projectId ● UUID! non-null scalar​

The ID of the project to which the customer record belongs.

Customer.createdAt ● NaiveDateTime! non-null scalar​

The datetime when the customer record was created.

Customer.updatedAt ● NaiveDateTime scalar​

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.

Customer.addresses ● [String!] list scalar​

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.

Customer.mints ● [CollectionMint!] list object​

The NFTs owned by any of the customers' wallets.

Customer.mintHistories ● [MintHistory!] list object​

The NFTs minted by the customer.

Customer.treasury ● Treasury object​

The treasury assigned to the customer, which contains the customer's wallets.

Customer.wallet ● [Wallet!] list object​

Customer.wallet.assetId ● AssetType enum​

Member of​

CreateCustomerPayload object ● Project object