Axie GraphQL Docs

GetRecentlyItemsSold

GetRecentlyItemsSold

Fetches a list of the recently sold items.

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": "GetRecentlyItemsSold",
"variables": {
"from": 0,
"size": 10
},
"query": "query GetRecentlyItemsSold($from: Int, $size: Int) {\n settledAuctions {\n items(from: $from, size: $size) {\n total\n results {\n ...ItemSettledBrief\n transferHistory {\n ...TransferHistoryInSettledAuction\n __typename\n }\n __typename\n }\n __typename\n }\n __typename\n }\n}\n\nfragment ItemSettledBrief on LandItem {\n itemId\n name\n itemAlias\n itemId\n figureURL\n rarity\n __typename\n}\n\nfragment TransferHistoryInSettledAuction on TransferRecords {\n total\n results {\n ...TransferRecordInSettledAuction\n __typename\n }\n __typename\n}\n\nfragment TransferRecordInSettledAuction on TransferRecord {\n from\n to\n txHash\n timestamp\n withPrice\n withPriceUsd\n fromProfile {\n name\n __typename\n }\n toProfile {\n name\n __typename\n }\n __typename\n}\n"
}
Full GraphQL Query Schema

 

query GetRecentlyItemsSold($from: Int, $size: Int) {
settledAuctions {
items(from: $from, size: $size) {
total
results {
...ItemSettledBrief
transferHistory {
...TransferHistoryInSettledAuction
__typename
}
__typename
}
__typename
}
__typename
}
}
fragment ItemSettledBrief on LandItem {
itemId
name
itemAlias
itemId
figureURL
rarity
__typename
}
fragment TransferHistoryInSettledAuction on TransferRecords {
total
results {
...TransferRecordInSettledAuction
__typename
}
__typename
}
fragment TransferRecordInSettledAuction on TransferRecord {
from
to
txHash
timestamp
withPrice
withPriceUsd
fromProfile {
name
__typename
}
toProfile {
name
__typename
}
__typename
}

Variables

Brief overview of the variable fields for this operation

VariableRequiredData Type
fromNoInteger
sizeNoInteger

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.

Any integer value. Signed or unsigned.

Edit this page on GitHub