post https://rest-api.hellomoon.io/v0/token/transfers
Contains all transfers types between token owners for a given token with 'closeAccount', 'createAccount', 'createAccountWithSeed', 'transferChecked' and 'transfer'.
Note: This does not contain stake or unstake transactions
__Data goes back 1 day__
Examples
Track transfers by owner token account
const axios = require("axios");
const url = "https://rest-api.hellomoon.io/v0/token/transfers";
async function getTransfers() {
const { data } = await axios.post(
url,
{
"type": "transfer",
"sourceOwner": "CTz5UMLQm2SRWHzQnU62Pi4yJqbNGjgRBHqqp6oDHfF7"
},
{
headers: {
Accept: "application/json",
"Content-Type": "application/json",
Authorization: "Bearer <your_token>",
},
}
);
console.log(data);
}