Axie GraphQL Docs
GetActivityLog
GetActivityLog
Fetches ronin activities of a user.
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": "GetActivityLog", "variables": { "from": 0, "size": 6 }, "query": "query GetActivityLog($from: Int, $size: Int) {\n profile {\n activities(from: $from, size: $size) {\n ...Activity\n __typename\n }\n __typename\n }\n}\n\nfragment Activity on Activity {\n activityId\n accountId\n action\n timestamp\n seen\n data {\n ... on ListAxie {\n ...ListAxie\n __typename\n }\n ... on UnlistAxie {\n ...UnlistAxie\n __typename\n }\n ... on BuyAxie {\n ...BuyAxie\n __typename\n }\n ... on GiftAxie {\n ...GiftAxie\n __typename\n }\n ... on MakeAxieOffer {\n ...MakeAxieOffer\n __typename\n }\n ... on CancelAxieOffer {\n ...CancelAxieOffer\n __typename\n }\n ... on SyncExp {\n ...SyncExp\n __typename\n }\n ... on MorphToPetite {\n ...MorphToPetite\n __typename\n }\n ... on MorphToAdult {\n ...MorphToAdult\n __typename\n }\n ... on BreedAxies {\n ...BreedAxies\n __typename\n }\n ... on BuyLand {\n ...BuyLand\n __typename\n }\n ... on ListLand {\n ...ListLand\n __typename\n }\n ... on UnlistLand {\n ...UnlistLand\n __typename\n }\n ... on GiftLand {\n ...GiftLand\n __typename\n }\n ... on MakeLandOffer {\n ...MakeLandOffer\n __typename\n }\n ... on CancelLandOffer {\n ...CancelLandOffer\n __typename\n }\n ... on BuyItem {\n ...BuyItem\n __typename\n }\n ... on ListItem {\n ...ListItem\n __typename\n }\n ... on UnlistItem {\n ...UnlistItem\n __typename\n }\n ... on GiftItem {\n ...GiftItem\n __typename\n }\n ... on MakeItemOffer {\n ...MakeItemOffer\n __typename\n }\n ... on CancelItemOffer {\n ...CancelItemOffer\n __typename\n }\n ... on ListBundle {\n ...ListBundle\n __typename\n }\n ... on UnlistBundle {\n ...UnlistBundle\n __typename\n }\n ... on BuyBundle {\n ...BuyBundle\n __typename\n }\n ... on MakeBundleOffer {\n ...MakeBundleOffer\n __typename\n }\n ... on CancelBundleOffer {\n ...CancelBundleOffer\n __typename\n }\n ... on AddLoomBalance {\n ...AddLoomBalance\n __typename\n }\n ... on WithdrawFromLoom {\n ...WithdrawFromLoom\n __typename\n }\n ... on AddFundBalance {\n ...AddFundBalance\n __typename\n }\n ... on WithdrawFromFund {\n ...WithdrawFromFund\n __typename\n }\n ... on TopupRoninWeth {\n ...TopupRoninWeth\n __typename\n }\n ... on WithdrawRoninWeth {\n ...WithdrawRoninWeth\n __typename\n }\n __typename\n }\n __typename\n}\n\nfragment ListAxie on ListAxie {\n axieId\n priceFrom\n priceTo\n duration\n txHash\n __typename\n}\n\nfragment UnlistAxie on UnlistAxie {\n axieId\n txHash\n __typename\n}\n\nfragment BuyAxie on BuyAxie {\n axieId\n price\n owner\n txHash\n __typename\n}\n\nfragment GiftAxie on GiftAxie {\n axieId\n destination\n txHash\n __typename\n}\n\nfragment MakeAxieOffer on MakeAxieOffer {\n axieId\n price\n txHash\n __typename\n}\n\nfragment CancelAxieOffer on CancelAxieOffer {\n axieId\n txHash\n __typename\n}\n\nfragment SyncExp on SyncExp {\n axieId\n exp\n txHash\n __typename\n}\n\nfragment MorphToPetite on MorphToPetite {\n axieId\n txHash\n __typename\n}\n\nfragment MorphToAdult on MorphToAdult {\n axieId\n txHash\n __typename\n}\n\nfragment BreedAxies on BreedAxies {\n sireId\n matronId\n lovePotionAmount\n txHash\n __typename\n}\n\nfragment BuyLand on BuyLand {\n row\n col\n price\n owner\n txHash\n __typename\n}\n\nfragment ListLand on ListLand {\n row\n col\n priceFrom\n priceTo\n duration\n txHash\n __typename\n}\n\nfragment UnlistLand on UnlistLand {\n row\n col\n txHash\n __typename\n}\n\nfragment GiftLand on GiftLand {\n row\n col\n destination\n txHash\n __typename\n}\n\nfragment MakeLandOffer on MakeLandOffer {\n row\n col\n price\n txHash\n __typename\n}\n\nfragment CancelLandOffer on CancelLandOffer {\n row\n col\n txHash\n __typename\n}\n\nfragment BuyItem on BuyItem {\n tokenId\n itemAlias\n price\n owner\n txHash\n __typename\n}\n\nfragment ListItem on ListItem {\n tokenId\n itemAlias\n priceFrom\n priceTo\n duration\n txHash\n __typename\n}\n\nfragment UnlistItem on UnlistItem {\n tokenId\n itemAlias\n txHash\n __typename\n}\n\nfragment GiftItem on GiftItem {\n tokenId\n itemAlias\n destination\n txHash\n __typename\n}\n\nfragment MakeItemOffer on MakeItemOffer {\n tokenId\n itemAlias\n price\n txHash\n __typename\n}\n\nfragment CancelItemOffer on CancelItemOffer {\n tokenId\n itemAlias\n txHash\n __typename\n}\n\nfragment BuyBundle on BuyBundle {\n listingIndex\n price\n owner\n txHash\n __typename\n}\n\nfragment ListBundle on ListBundle {\n numberOfItems\n priceFrom\n priceTo\n duration\n txHash\n __typename\n}\n\nfragment UnlistBundle on UnlistBundle {\n listingIndex\n txHash\n __typename\n}\n\nfragment MakeBundleOffer on MakeBundleOffer {\n listingIndex\n price\n txHash\n __typename\n}\n\nfragment CancelBundleOffer on CancelBundleOffer {\n listingIndex\n txHash\n __typename\n}\n\nfragment AddLoomBalance on AddLoomBalance {\n amount\n senderAddress\n receiverAddress\n txHash\n __typename\n}\n\nfragment WithdrawFromLoom on WithdrawFromLoom {\n amount\n senderAddress\n receiverAddress\n txHash\n __typename\n}\n\nfragment AddFundBalance on AddFundBalance {\n amount\n senderAddress\n txHash\n __typename\n}\n\nfragment WithdrawFromFund on WithdrawFromFund {\n amount\n receiverAddress\n txHash\n __typename\n}\n\nfragment WithdrawRoninWeth on WithdrawRoninWeth {\n amount\n receiverAddress\n txHash\n receiverAddress\n __typename\n}\n\nfragment TopupRoninWeth on TopupRoninWeth {\n amount\n receiverAddress\n txHash\n receiverAddress\n __typename\n}\n"}
Full GraphQL Query Schema
query GetActivityLog($from: Int, $size: Int) { profile { activities(from: $from, size: $size) { ...Activity __typename } __typename }}
fragment Activity on Activity { activityId accountId action timestamp seen data { ... on ListAxie { ...ListAxie __typename } ... on UnlistAxie { ...UnlistAxie __typename } ... on BuyAxie { ...BuyAxie __typename } ... on GiftAxie { ...GiftAxie __typename } ... on MakeAxieOffer { ...MakeAxieOffer __typename } ... on CancelAxieOffer { ...CancelAxieOffer __typename } ... on SyncExp { ...SyncExp __typename } ... on MorphToPetite { ...MorphToPetite __typename } ... on MorphToAdult { ...MorphToAdult __typename } ... on BreedAxies { ...BreedAxies __typename } ... on BuyLand { ...BuyLand __typename } ... on ListLand { ...ListLand __typename } ... on UnlistLand { ...UnlistLand __typename } ... on GiftLand { ...GiftLand __typename } ... on MakeLandOffer { ...MakeLandOffer __typename } ... on CancelLandOffer { ...CancelLandOffer __typename } ... on BuyItem { ...BuyItem __typename } ... on ListItem { ...ListItem __typename } ... on UnlistItem { ...UnlistItem __typename } ... on GiftItem { ...GiftItem __typename } ... on MakeItemOffer { ...MakeItemOffer __typename } ... on CancelItemOffer { ...CancelItemOffer __typename } ... on ListBundle { ...ListBundle __typename } ... on UnlistBundle { ...UnlistBundle __typename } ... on BuyBundle { ...BuyBundle __typename } ... on MakeBundleOffer { ...MakeBundleOffer __typename } ... on CancelBundleOffer { ...CancelBundleOffer __typename } ... on AddLoomBalance { ...AddLoomBalance __typename } ... on WithdrawFromLoom { ...WithdrawFromLoom __typename } ... on AddFundBalance { ...AddFundBalance __typename } ... on WithdrawFromFund { ...WithdrawFromFund __typename } ... on TopupRoninWeth { ...TopupRoninWeth __typename } ... on WithdrawRoninWeth { ...WithdrawRoninWeth __typename } __typename } __typename}
fragment ListAxie on ListAxie { axieId priceFrom priceTo duration txHash __typename}
fragment UnlistAxie on UnlistAxie { axieId txHash __typename}
fragment BuyAxie on BuyAxie { axieId price owner txHash __typename}
fragment GiftAxie on GiftAxie { axieId destination txHash __typename}
fragment MakeAxieOffer on MakeAxieOffer { axieId price txHash __typename}
fragment CancelAxieOffer on CancelAxieOffer { axieId txHash __typename}
fragment SyncExp on SyncExp { axieId exp txHash __typename}
fragment MorphToPetite on MorphToPetite { axieId txHash __typename}
fragment MorphToAdult on MorphToAdult { axieId txHash __typename}
fragment BreedAxies on BreedAxies { sireId matronId lovePotionAmount txHash __typename}
fragment BuyLand on BuyLand { row col price owner txHash __typename}
fragment ListLand on ListLand { row col priceFrom priceTo duration txHash __typename}
fragment UnlistLand on UnlistLand { row col txHash __typename}
fragment GiftLand on GiftLand { row col destination txHash __typename}
fragment MakeLandOffer on MakeLandOffer { row col price txHash __typename}
fragment CancelLandOffer on CancelLandOffer { row col txHash __typename}
fragment BuyItem on BuyItem { tokenId itemAlias price owner txHash __typename}
fragment ListItem on ListItem { tokenId itemAlias priceFrom priceTo duration txHash __typename}
fragment UnlistItem on UnlistItem { tokenId itemAlias txHash __typename}
fragment GiftItem on GiftItem { tokenId itemAlias destination txHash __typename}
fragment MakeItemOffer on MakeItemOffer { tokenId itemAlias price txHash __typename}
fragment CancelItemOffer on CancelItemOffer { tokenId itemAlias txHash __typename}
fragment BuyBundle on BuyBundle { listingIndex price owner txHash __typename}
fragment ListBundle on ListBundle { numberOfItems priceFrom priceTo duration txHash __typename}
fragment UnlistBundle on UnlistBundle { listingIndex txHash __typename}
fragment MakeBundleOffer on MakeBundleOffer { listingIndex price txHash __typename}
fragment CancelBundleOffer on CancelBundleOffer { listingIndex txHash __typename}
fragment AddLoomBalance on AddLoomBalance { amount senderAddress receiverAddress txHash __typename}
fragment WithdrawFromLoom on WithdrawFromLoom { amount senderAddress receiverAddress txHash __typename}
fragment AddFundBalance on AddFundBalance { amount senderAddress txHash __typename}
fragment WithdrawFromFund on WithdrawFromFund { amount receiverAddress txHash __typename}
fragment WithdrawRoninWeth on WithdrawRoninWeth { amount receiverAddress txHash receiverAddress __typename}
fragment TopupRoninWeth on TopupRoninWeth { amount receiverAddress txHash receiverAddress __typename}
Variables
Brief overview of the variable fields for this operation
Refer to the succeeding sections for more details about the variables and their valid values
From
Offset index of the results.
Any integer value. Signed or unsigned.
Size
Size of the result. The max size can vary based on the requesting source.
Edit this page on GitHubAny integer value. Signed or unsigned.