Axie GraphQL Docs
GetProfileByRoninAddress
GetProfileByRoninAddress
Fetches the user information of a user by their Ronin address.
Endpoint (Updated)
https://graphql-gateway.axieinfinity.com/graphql
Body
You can modify the query string to include fields that you want to be included or not. Refer to the GraphQL Schema below for a full overview.
{ "operationName": "GetProfileByRoninAddress", "variables": { "roninAddress": "0x2ebd51e17b56e9cea3317e8d13ab99ffb168427c" }, "query": "query GetProfileByRoninAddress($roninAddress: String!) {\n publicProfileWithRoninAddress(roninAddress: $roninAddress) {\n ...Profile\n __typename\n }\n}\n\nfragment Profile on PublicProfile {\n accountId\n name\n addresses {\n ...Addresses\n __typename\n }\n __typename\n}\n\nfragment Addresses on NetAddresses {\n ethereum\n tomo\n loom\n ronin\n __typename\n}\n"}
Full GraphQL Query Schema
query GetProfileByRoninAddress($roninAddress: String!) { publicProfileWithRoninAddress(roninAddress: $roninAddress) { ...Profile __typename }}
fragment Profile on PublicProfile { accountId name addresses { ...Addresses __typename } __typename}
fragment Addresses on NetAddresses { ethereum tomo loom ronin __typename}
Variables
Brief overview of the variable fields for this operation
Variable | Required | Data Type |
---|---|---|
roninAddress | Yes | String |
Refer to the succeeding sections for more details about the variables and their valid values
RoninAddress
Ronin address of the user (hexadecimal).
Edit this page on GitHubExample: 0x2ebd51e17b56e9cea3317e8d13ab99ffb168427c