Profiles
Queries
profile
profile
Returns a single Profile according to its id
.
profiles
profiles
Returns multiple Profiles according to the arguments passed.
Object Types
Profile
Profile
The Profile
object type contains the following fields:
Basic Information
id
:ID
- the Profile's0x
-style wallet address expressed as aString
owner
:String
- the Profile's0x
-style wallet address (same asid
)name
:String
- the in-game name associated with the Profilecreated
:Int
- the UNIX timestamp of the Profile's creation; may returnnull
depending on when the Profile was last updated
Profile Image Fields (Old)
picId
:Int
- the id of the original in-game pfp; deprecated and only used by Profiles that have not been migrated to the newer versionheroId
:Int
- the id of a Hero image chosen as an in-game pfp; deprecated and only used by Profiles that have not been migrated to the newer version
Profile Image Fields (New)
collectionId
:Int
- a mapping of Profile pfp collection options; returns0
for built-in options,1
for Hero pfps, and2
for BAYC pfps.nftId
:Int
- the specific NFT/image ID corresponding to thecollectionId
(e.g. Hero ID, BAYC ID)picUri
:String
- a URI pointing to the pfp image; note that the Hero image URIs are not active
Examples
Example 1
Query a Profile by wallet address
Example 2
Query a Profile by in-game Profile name
Example 3
Query all Profiles using a BAYC in-game pfp
Last updated