SDK
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getTokenTradesV2('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', {
limit: 100,
arbitrage: true, // Adds arbitrage through the token in the page's slots.
});
// Pages can be empty while more remain: client.iterateTokenTradesV2() follows nextCursor for you.curl --request GET \
--url https://data.solanatracker.io/v2/trades/{token} \
--header 'x-api-key: <api-key>'import requests
url = "https://data.solanatracker.io/v2/trades/{token}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://data.solanatracker.io/v2/trades/{token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://data.solanatracker.io/v2/trades/{token}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://data.solanatracker.io/v2/trades/{token}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data.solanatracker.io/v2/trades/{token}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.solanatracker.io/v2/trades/{token}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"trades": [
{
"tx": "5V4apVkgHf49J5acYPiuh5rB89EGsF8ocSysgnD9vFfZsTtDamhN3MFDKJSq7Dn7Z6Y5XhjghuVYuvvYWnSFpnvW",
"slot": 470027315,
"txIndex": 312,
"swapIndex": 0,
"time": 1794733462000,
"type": "sell",
"wallet": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
"owner": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
"feePayer": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
"token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"amount": 90,
"priceUsd": 6.002467911111111,
"priceSol": 0.03285243233052986,
"marketCapUsd": 6002464620.378128,
"quoteToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"quoteAmount": 540.222112,
"quotePriceUsd": 1,
"volumeUsd": 540.222112,
"volumeSol": 2.956718909747688,
"solPriceUsd": 182.71,
"program": "meteora-dlmm",
"platform": "axiom",
"pools": [
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2"
],
"roundTrip": false,
"relayed": false,
"priceEstimated": false,
"noPool": false,
"transferFee": false,
"from": {
"mint": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"decimals": 6,
"amount": 90,
"amountRaw": "90000000",
"priceUsd": 6.002467911111111,
"residualRaw": "0",
"walletChangeRaw": "-90000000"
},
"to": {
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"decimals": 6,
"amount": 540.222112,
"amountRaw": "540222112",
"priceUsd": 1,
"residualRaw": "0",
"walletChangeRaw": "540222112"
},
"fees": {
"txLamports": 105000,
"priorityLamports": 100000,
"signatures": 1,
"tipLamports": 1000000,
"tipService": "jito",
"platformFeeRaw": "2956624",
"platformFeeMint": "So11111111111111111111111111111111111111112",
"platformFeeApp": "axiom",
"totalUsd": 0.742099
},
"compute": {
"unitsConsumed": 148213,
"unitLimit": 200000,
"unitPriceMicroLamports": 500000
},
"route": {
"programId": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"router": null,
"priceMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"instructionIndex": 3,
"txPrograms": [
"ComputeBudget111111111111111111111111111111",
"LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"11111111111111111111111111111111"
]
}
},
{
"tx": "3wpLJJVCb7Z5ANgtqqkJxkmhEh1y5yvE4GkPESuAtjQWbqFFd2PAzhouVh3Yu4EwTWYXtytptjFy8DHU3L8s6fMg",
"slot": 470027315,
"txIndex": 187,
"swapIndex": 0,
"time": 1794733462000,
"type": "buy",
"wallet": "FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF",
"owner": "FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF",
"feePayer": "HjMhpGkbtBfrbmSSmjN3dGdXrdXAvwPgt2YqUP2GjZpF",
"token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"amount": 30.481902,
"priceUsd": 5.994048534110503,
"priceSol": 0.03280635178211648,
"marketCapUsd": 5994045247.993275,
"quoteToken": "So11111111111111111111111111111111111111112",
"quoteAmount": 1,
"quotePriceUsd": 182.71,
"volumeUsd": 182.71,
"volumeSol": 1,
"solPriceUsd": 182.71,
"program": "jupiter",
"platform": null,
"pools": [
"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj",
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2"
],
"roundTrip": false,
"relayed": true,
"priceEstimated": false,
"noPool": false,
"transferFee": false,
"from": {
"mint": "So11111111111111111111111111111111111111112",
"decimals": 9,
"amount": 1,
"amountRaw": "1000000000",
"priceUsd": 182.71,
"residualRaw": "2039280",
"walletChangeRaw": "-1002039280"
},
"to": {
"mint": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"decimals": 6,
"amount": 30.481902,
"amountRaw": "30481902",
"priceUsd": 5.994048534110503,
"residualRaw": "0",
"walletChangeRaw": "30481902"
},
"fees": {
"txLamports": 10000,
"priorityLamports": 0,
"signatures": 2,
"tipLamports": 0,
"tipService": null,
"platformFeeRaw": "0",
"platformFeeMint": null,
"platformFeeApp": null,
"totalUsd": 0.001827
},
"compute": {
"unitsConsumed": 211873,
"unitLimit": 400000,
"unitPriceMicroLamports": 0
},
"route": {
"programId": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
"router": "jupiter",
"priceMint": "So11111111111111111111111111111111111111112",
"instructionIndex": 2,
"txPrograms": [
"ComputeBudget111111111111111111111111111111",
"JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK",
"LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
]
}
}
],
"tokens": {
"6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN": {
"name": "OFFICIAL TRUMP",
"symbol": "TRUMP",
"decimals": 6,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Farweave.net%2FVQrPjACwnQRmxdKBTqNwPiyo65x7LAT773t8Kd7YBzw",
"supply": 999999451.77,
"uri": "https://arweave.net/cSCP0h2n1crjeSWE9KF-XtLciJalDNFs7Vf-Sm0NNY0",
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": "https://gettrumpmemes.com"
},
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v": {
"name": "USD Coin",
"symbol": "USDC",
"decimals": 6,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolana-labs%2Ftoken-list%2Fmain%2Fassets%2Fmainnet%2FEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v%2Flogo.png",
"supply": 8873651024.53,
"uri": null,
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": null
},
"So11111111111111111111111111111111111111112": {
"name": "Wrapped SOL",
"symbol": "SOL",
"decimals": 9,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolana-labs%2Ftoken-list%2Fmain%2Fassets%2Fmainnet%2FSo11111111111111111111111111111111111111112%2Flogo.png",
"supply": 551203887.41,
"uri": null,
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": null
}
},
"pools": {
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2": {
"market": "meteora-dlmm",
"tokenAddress": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"quoteToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"liquidityUsd": 41872931.44,
"lpBurn": 0,
"createdAt": 1737165082000
}
},
"wallets": {
"F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi": {
"type": "axiom",
"tags": [
"axiom"
],
"platforms": [
"axiom"
]
}
},
"nextCursor": "eyJzbG90Ijo0NzAwMjczMTUsInR4SW5kZXgiOjE4Nywic3dhcEluZGV4IjowLCJzaWRlIjoiYnV5In0",
"hasNextPage": true,
"sortDirection": "DESC"
}Token
API de trades de tokens de Solana V2
API de trades de tokens de Solana V2 que devuelve los trades de un token con firmas, cantidades exactas, comisiones, precios y market cap.
GET
/
v2
/
trades
/
{token}
SDK
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getTokenTradesV2('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', {
limit: 100,
arbitrage: true, // Adds arbitrage through the token in the page's slots.
});
// Pages can be empty while more remain: client.iterateTokenTradesV2() follows nextCursor for you.curl --request GET \
--url https://data.solanatracker.io/v2/trades/{token} \
--header 'x-api-key: <api-key>'import requests
url = "https://data.solanatracker.io/v2/trades/{token}"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://data.solanatracker.io/v2/trades/{token}', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://data.solanatracker.io/v2/trades/{token}",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://data.solanatracker.io/v2/trades/{token}"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://data.solanatracker.io/v2/trades/{token}")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://data.solanatracker.io/v2/trades/{token}")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"trades": [
{
"tx": "5V4apVkgHf49J5acYPiuh5rB89EGsF8ocSysgnD9vFfZsTtDamhN3MFDKJSq7Dn7Z6Y5XhjghuVYuvvYWnSFpnvW",
"slot": 470027315,
"txIndex": 312,
"swapIndex": 0,
"time": 1794733462000,
"type": "sell",
"wallet": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
"owner": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
"feePayer": "F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi",
"token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"amount": 90,
"priceUsd": 6.002467911111111,
"priceSol": 0.03285243233052986,
"marketCapUsd": 6002464620.378128,
"quoteToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"quoteAmount": 540.222112,
"quotePriceUsd": 1,
"volumeUsd": 540.222112,
"volumeSol": 2.956718909747688,
"solPriceUsd": 182.71,
"program": "meteora-dlmm",
"platform": "axiom",
"pools": [
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2"
],
"roundTrip": false,
"relayed": false,
"priceEstimated": false,
"noPool": false,
"transferFee": false,
"from": {
"mint": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"decimals": 6,
"amount": 90,
"amountRaw": "90000000",
"priceUsd": 6.002467911111111,
"residualRaw": "0",
"walletChangeRaw": "-90000000"
},
"to": {
"mint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"decimals": 6,
"amount": 540.222112,
"amountRaw": "540222112",
"priceUsd": 1,
"residualRaw": "0",
"walletChangeRaw": "540222112"
},
"fees": {
"txLamports": 105000,
"priorityLamports": 100000,
"signatures": 1,
"tipLamports": 1000000,
"tipService": "jito",
"platformFeeRaw": "2956624",
"platformFeeMint": "So11111111111111111111111111111111111111112",
"platformFeeApp": "axiom",
"totalUsd": 0.742099
},
"compute": {
"unitsConsumed": 148213,
"unitLimit": 200000,
"unitPriceMicroLamports": 500000
},
"route": {
"programId": "LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"router": null,
"priceMint": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"instructionIndex": 3,
"txPrograms": [
"ComputeBudget111111111111111111111111111111",
"LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA",
"11111111111111111111111111111111"
]
}
},
{
"tx": "3wpLJJVCb7Z5ANgtqqkJxkmhEh1y5yvE4GkPESuAtjQWbqFFd2PAzhouVh3Yu4EwTWYXtytptjFy8DHU3L8s6fMg",
"slot": 470027315,
"txIndex": 187,
"swapIndex": 0,
"time": 1794733462000,
"type": "buy",
"wallet": "FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF",
"owner": "FbMxP3GVq8TQ36nbYgx4NP9iygMpwAwFWJwW81ioCiSF",
"feePayer": "HjMhpGkbtBfrbmSSmjN3dGdXrdXAvwPgt2YqUP2GjZpF",
"token": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"amount": 30.481902,
"priceUsd": 5.994048534110503,
"priceSol": 0.03280635178211648,
"marketCapUsd": 5994045247.993275,
"quoteToken": "So11111111111111111111111111111111111111112",
"quoteAmount": 1,
"quotePriceUsd": 182.71,
"volumeUsd": 182.71,
"volumeSol": 1,
"solPriceUsd": 182.71,
"program": "jupiter",
"platform": null,
"pools": [
"8sLbNZoA1cfnvMJLPfp98ZLAnFSYCFApfJKMbiXNLwxj",
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2"
],
"roundTrip": false,
"relayed": true,
"priceEstimated": false,
"noPool": false,
"transferFee": false,
"from": {
"mint": "So11111111111111111111111111111111111111112",
"decimals": 9,
"amount": 1,
"amountRaw": "1000000000",
"priceUsd": 182.71,
"residualRaw": "2039280",
"walletChangeRaw": "-1002039280"
},
"to": {
"mint": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"decimals": 6,
"amount": 30.481902,
"amountRaw": "30481902",
"priceUsd": 5.994048534110503,
"residualRaw": "0",
"walletChangeRaw": "30481902"
},
"fees": {
"txLamports": 10000,
"priorityLamports": 0,
"signatures": 2,
"tipLamports": 0,
"tipService": null,
"platformFeeRaw": "0",
"platformFeeMint": null,
"platformFeeApp": null,
"totalUsd": 0.001827
},
"compute": {
"unitsConsumed": 211873,
"unitLimit": 400000,
"unitPriceMicroLamports": 0
},
"route": {
"programId": "JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
"router": "jupiter",
"priceMint": "So11111111111111111111111111111111111111112",
"instructionIndex": 2,
"txPrograms": [
"ComputeBudget111111111111111111111111111111",
"JUP6LkbZbjS1jKKwapdHNy74zcZ3tLUZoi5QNyVTaV4",
"CAMMCzo5YL8w4VFF8KVHrK22GGUsp5VTaW7grrKgrWqK",
"LBUZKhRxPF3XUpBCjp4YzTKgLccjZhTSDM9YuVaPwxo",
"TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"
]
}
}
],
"tokens": {
"6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN": {
"name": "OFFICIAL TRUMP",
"symbol": "TRUMP",
"decimals": 6,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Farweave.net%2FVQrPjACwnQRmxdKBTqNwPiyo65x7LAT773t8Kd7YBzw",
"supply": 999999451.77,
"uri": "https://arweave.net/cSCP0h2n1crjeSWE9KF-XtLciJalDNFs7Vf-Sm0NNY0",
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": "https://gettrumpmemes.com"
},
"EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v": {
"name": "USD Coin",
"symbol": "USDC",
"decimals": 6,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolana-labs%2Ftoken-list%2Fmain%2Fassets%2Fmainnet%2FEPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v%2Flogo.png",
"supply": 8873651024.53,
"uri": null,
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": null
},
"So11111111111111111111111111111111111111112": {
"name": "Wrapped SOL",
"symbol": "SOL",
"decimals": 9,
"image": "https://image.solanatracker.io/proxy?url=https%3A%2F%2Fraw.githubusercontent.com%2Fsolana-labs%2Ftoken-list%2Fmain%2Fassets%2Fmainnet%2FSo11111111111111111111111111111111111111112%2Flogo.png",
"supply": 551203887.41,
"uri": null,
"description": null,
"creator": null,
"createdOn": null,
"twitter": null,
"telegram": null,
"website": null
}
},
"pools": {
"9d9mb8kooFfaD3SctgZtkxQypkshx6ezhbKio89ixyy2": {
"market": "meteora-dlmm",
"tokenAddress": "6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN",
"quoteToken": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
"liquidityUsd": 41872931.44,
"lpBurn": 0,
"createdAt": 1737165082000
}
},
"wallets": {
"F7R61te4Ac8xZ4pfkJUdF6iaaHy9tnM8nVRUPv8H8EMi": {
"type": "axiom",
"tags": [
"axiom"
],
"platforms": [
"axiom"
]
}
},
"nextCursor": "eyJzbG90Ijo0NzAwMjczMTUsInR4SW5kZXgiOjE4Nywic3dhcEluZGV4IjowLCJzaWRlIjoiYnV5In0",
"hasNextPage": true,
"sortDirection": "DESC"
}Los trades de un token en todos los pools, los más recientes primero. Cada trade trae su firma, su posición exacta en la cadena (
slot, txIndex, swapIndex), los precios en USD y en SOL, el market cap y el trader (wallet, con owner y feePayer). Las páginas completas añaden los dos lados del swap con cantidades raw exactas y el cambio de saldo del owner, las comisiones y propinas, el cómputo y la ruta. Cada mint de la página aparece una sola vez en tokens, cada pool una vez en pools y cada wallet conocida una vez en wallets.
Un trade contra SOL o una stablecoin aparece bajo el otro token. Un trade entre dos tokens aparece bajo ambos, como compra de uno y venta del otro. Para cada tramo de una stablecoin en un pool, usa trades de pool.
SDK Example
import { Client } from '@solana-tracker/data-api';
const client = new Client({ apiKey: 'YOUR_API_KEY' });
const data = await client.getTokenTradesV2('6p6xgHyF7AeE6TZkSmFsko444wqoP15icUSqi2jfGiPN', {
limit: 100,
arbitrage: true, // Adds arbitrage through the token in the page's slots.
});
// Pages can be empty while more remain: client.iterateTokenTradesV2() follows nextCursor for you.
Parámetros de ruta
Parámetros de consulta
Añade un array arbitrage junto a trades: las transacciones de arbitraje que pasan por este token (y por el pool o la wallet de la ruta) en los slots que cubren los trades de la página. Las páginas consecutivas cubren esos slots sin huecos ni solapamientos, salvo que arbitrageComplete sea false. El arbitraje nunca está en trades ni en el volumen.
Respuesta
Una página de trades.
¿Esta página le ayudó?