Axie GraphQL Docs

GetAxieTransferHistory

GetAxieTransferHistory

Fetches transfer history of an axie.

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": "GetAxieTransferHistory",
"variables": {
"axieId": "1621247",
"from": 0,
"size": 5
},
"query": "query GetAxieTransferHistory($axieId: ID!, $from: Int!, $size: Int!) {\n axie(axieId: $axieId) {\n id\n transferHistory(from: $from, size: $size) {\n ...TransferRecords\n __typename\n }\n ethereumTransferHistory(from: $from, size: $size) {\n ...TransferRecords\n __typename\n }\n __typename\n }\n}\n\nfragment TransferRecords on TransferRecords {\n total\n results {\n from\n to\n timestamp\n txHash\n withPrice\n __typename\n }\n __typename\n}\n"
}
Full GraphQL Query Schema

 

query GetAxieTransferHistory($axieId: ID!, $from: Int!, $size: Int!) {
axie(axieId: $axieId) {
id
transferHistory(from: $from, size: $size) {
...TransferRecords
__typename
}
ethereumTransferHistory(from: $from, size: $size) {
...TransferRecords
__typename
}
__typename
}
}
fragment TransferRecords on TransferRecords {
total
results {
from
to
timestamp
txHash
withPrice
__typename
}
__typename
}

Variables

Brief overview of the variable fields for this operation

VariableRequiredData Type
axieIdYesString
fromYesint
sizeYesint

Refer to the succeeding sections for more details about the variables and their valid values

AxieID

ID number of the given Axie.

Any valid ID of an existing Axie in the game.

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