curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getFirstTransfers",
"params": [
[
"7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw"
]
]
}
'
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"wallet": "7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
"age": {
"blockTime": 1714478213,
"time": "2024-04-30T11:56:53Z"
},
"transfer": {
"fromOwner": "5vG8Pxur67pk2BMQPK24YjACm7uMNNHSGhbAshMm2Ayt",
"toOwner": "7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
"signature": "aLN3es1TXh6UNnrndebqJ7niiCxShJ1HCGJUfD5yTXyAoTrLRadL7Td8NxWhwd55QuxgBRNSYA3hKjPXSgbM5NYz",
"transferType": "sol",
"amount": "2000000000",
"decimals": 9,
"uiAmountString": "2",
"uiAmount": 2,
"blockTime": 1714478213,
"slot": 263114522,
"from": "5vG8Pxur67pk2BMQPK24YjACm7uMNNHSGhbAshMm2Ayt",
"to": "7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
"direction": "in"
}
},
{
"wallet": "pmWH54V5rBWjUCNBRkS3oPJPe2Q8v8VNJVfw6ZobWpio"
}
]
}
Historial y transferencias
Método RPC getFirstTransfers
Encuentra la primera transferencia entrante de hasta 100 wallets: quién financió cada una, cuándo y con cuánto. Parámetros y ejemplos de getFirstTransfers.
POST
/
curl --request POST \
--url 'https://rpc-mainnet.solanatracker.io/?api_key=' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"method": "getFirstTransfers",
"params": [
[
"7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw"
]
]
}
'
{
"jsonrpc": "2.0",
"id": 1,
"result": [
{
"wallet": "7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
"age": {
"blockTime": 1714478213,
"time": "2024-04-30T11:56:53Z"
},
"transfer": {
"fromOwner": "5vG8Pxur67pk2BMQPK24YjACm7uMNNHSGhbAshMm2Ayt",
"toOwner": "7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
"signature": "aLN3es1TXh6UNnrndebqJ7niiCxShJ1HCGJUfD5yTXyAoTrLRadL7Td8NxWhwd55QuxgBRNSYA3hKjPXSgbM5NYz",
"transferType": "sol",
"amount": "2000000000",
"decimals": 9,
"uiAmountString": "2",
"uiAmount": 2,
"blockTime": 1714478213,
"slot": 263114522,
"from": "5vG8Pxur67pk2BMQPK24YjACm7uMNNHSGhbAshMm2Ayt",
"to": "7xK1a6Ut1pCrH9CiMwdEqx7RyhqgUZRux692Sg4m1TTw",
"direction": "in"
}
},
{
"wallet": "pmWH54V5rBWjUCNBRkS3oPJPe2Q8v8VNJVfw6ZobWpio"
}
]
}
Consulta la antigüedad y el primer financiador de hasta 100 wallets en una sola petición con getFirstTransfers. Cada wallet se devuelve con su
age y la primera transferencia entrante de SOL o tokens que recibió: financiador, mint, importe, slot y firma.
- Pasa las direcciones en un único array:
params: [["wallet1", "wallet2"]]. Los duplicados se agrupan; se aceptan de 1 a 100 direcciones únicas. - Solo cuentan las transferencias distintas de cero de transacciones correctas.
- Una wallet sin transferencias entrantes devuelve solo su campo
wallet. - Relaciona los resultados con tu entrada por
wallet.
Cuerpo
application/json
¿Esta página le ayudó?