API referenceWallets
Balances of a wallet
GET
SOL in lamports, the fee reserve the API keeps back from a transfer, and the token balances.
wallet*stringA wallet address.
OK
application/json- response
solLamports*stringfeeReserveLamports*stringtokens*array<>curl -X GET 'https://api.dev.trend.fun/v1/wallets/8Kc8AJs3W9r8QJMBj7ufCbW5SumQXkTK5nL2EJp29Hfj/balances'{ "solLamports": "2457432002120", "feeReserveLamports": "5000000", "tokens": [ { "mint": "FCZtVhbpu7DN52mYYb7QGTJM3pFhA17mjL6o8Y7ymJf", "amount": "7527423432161", "decimals": 6, "symbol": "MEWTWOV9", "name": "2022 #030 Mewtwo V CGC 9 Pokemon GO - s10b - Japanese", "logoUri": "https://api.dev.trend.fun/v1/media/2103c37f19489cd855590b51ace76725.webp", "known": true }, { "mint": "KL6jN1T99BJW342BdVqLDo5G6YD9eoyQLPr1G8V1RZ2", "amount": "14501780544866", "decimals": 6, "symbol": "FURBALL", "name": "Snappy Furball", "logoUri": "https://api.dev.trend.fun/v1/media/9e8384056ed1df3456af12c24e1cea76.png", "known": true } ]}Outcome of a transaction GET
`submitted`, `confirmed`, `failed` or `expired`. `expired` is said only when you pass `lastValidBlockHeight` and the chain has passed it with no sign of the transaction.
Holdings of a wallet GET
The launches a wallet holds, with value and profit where they can be measured. A figure that cannot be measured is null, never zero.