/v1/transfers
Just the value moved: SOL + SPL-token balance changes
Essayez-le en direct
10 appels gratuits par jour — sans inscription, sans clé API. Passe par la passerelle oanor.
Ça marche. Récupérez une clé API et utilisez-la dans votre projet.
Obtenez une clé APIExtraits de code
curl "https://api.oanor.com/solanatx-api/v1/transfers" \ -H "x-oanor-key: oanor_test_..."
await fetch("https://api.oanor.com/solanatx-api/v1/transfers", {
headers: { "x-oanor-key": "oanor_test_..." }
});
$ch = curl_init("https://api.oanor.com/solanatx-api/v1/transfers");
curl_setopt($ch, CURLOPT_HTTPHEADER, ["x-oanor-key: oanor_test_..."]);
curl_setopt($ch, CURLOPT_RETURNTRANSFER, true);
$out = curl_exec($ch);
import requests
requests.get(
"https://api.oanor.com/solanatx-api/v1/transfers",
headers={"x-oanor-key": "oanor_test_..."}
)
Exemple de réponse
Une réponse réelle de ce endpoint, capturée lors du dernier contrôle de santé.
{
"data": {
"note": "The actual value that moved in this transaction: net SOL balance changes (includes the fee on the fee payer) and net SPL-token balance changes, per account.",
"slot": 426376561,
"source": "public Solana RPC getTransaction",
"success": true,
"signature": "VdVc9ezMiLBVgNjH7HwPYDCsCHDn7HhuSf7auALp4P5MEBQV1QaxEHjhmTbm1JZ3YvtmoHiaLx4ge4fVcgVrQrr",
"block_time": 1781424234,
"sol_transfers": [
{
"account": "JD6rVaerbyz6wjQ433nrw6bFTgFrp46MiYmi8EtUAfsG",
"change_sol": -5.075e-6,
"change_lamports": -5075
},
{
"account": "v3YN4d7JRhKFcwtex7qNtyg2r5hKYW96Cayb6GivSvY",
"change_sol": -0.000589057,
"change_lamports": -589057
},
{
"account": "3YEt7YgiWxg9rRMHBTYku6fvx3DiGEQyfxUdsot9Cq63",
"change_sol": -0.033873666,
"change_lamports": -33873666
},
{
"account": "6mQ8xEaHdTikyMvvMxUctYch6dUjnKgfoeib2msyMMi1",
"change_sol": 0.034462723,
"change_lamports": 34462723
}
],
"sol_moved_count": 4,
"token_transfers": [
{
"mint": "So11111111111111111111111111111111111111112",
"owner": "GpMZbSM2GgvTKHJirzeGfMFoaZ8UR2X7F4v8vHTvxFbL",
"decimals": 9,
"change_ui": -0.000589057,
"change_amount": "-589057"
},
{
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"owner": "GpMZbSM2GgvTKHJirzeGfMFoaZ8UR2X7F4v8vHTvxFbL",
"decimals": 6,
"change_ui": 0.04,
"change_amount": "40000"
},
{
"mint": "So11111111111111111111111111111111111111112",
"owner": "JD6rVaerbyz6wjQ433nrw6bFTgFrp46MiYmi8EtUAfsG",
"decimals": 9,
"change_ui": -0.033873666,
"change_amount": "-33873666"
},
{
"mint": "So11111111111111111111111111111111111111112",
"owner": "FpCMFDFGYotvufJ7HrFHsWEiiQCGbkLCtwHiDnh7o28Q",
"decimals": 9,
"change_ui": 0.034462723,
"change_amount": "34462723"
},
{
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"owner": "JD6rVaerbyz6wjQ433nrw6bFTgFrp46MiYmi8EtUAfsG",
"decimals": 6,
"change_ui": 2.30822,
"change_amount": "2308220"
},
{
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"owner": "FpCMFDFGYotvufJ7HrFHsWEiiQCGbkLCtwHiDnh7o28Q",
"decimals": 6,
"change_ui": -2.34822,
"change_amount":
…