Vaults
FluxBeam Locker Vaults
getFluxLockersGET Auth Required This returns only LP tokens locked in the FluxBeam Locker. It functions the same as Get Locker Vaults for Token, except that it will only return vaults belonging to the FluxBeam Locker.
This was built for internal use. Generally, you will want to use the Get Locker Vaults for Token endpoint.
Important Note: The total field returned by this endpoint is the sum of all token lockers, not just Fluxbeam ones.
Endpoint
GEThttps://api.rugcheck.xyz/v1/tokens/{id}/lockers/fluxParameters
idstring required pathToken mint address
Result
objectFlux locker vaults response - same format as Get Locker Vaults but filtered to Fluxbeam Locker only
lockersobjectFluxbeam Locker vaults only. Each locker entry contains the following information:
totalobjectThe sum of all token lockers, not just Fluxbeam ones
Code Examples
Request
Shellcurl -X 'GET' \ 'https://api.rugcheck.xyz/v1/tokens/6z9XSmYTZffoPUrpuManU7rxjfn7naEbWnDacdAXbonk/lockers/flux' \ -H 'accept: application/json' \ -H "X-API-KEY: <your-API-key>"
Response
JSON{
"lockers": {
"FluxLockerPublicKey123...": {
"programID": "FLUXubRmkEi2q6K3Y9kBPg9248ggaZVsoSFhtJHSrm1X",
"tokenAccount": "11111111111111111111111111111111",
"owner": "FLUXubRmkEi2q6K3Y9kBPg9248ggaZVsoSFhtJHSrm1X",
"uri": "https://fluxbeam.xyz/locker/...",
"unlockDate": 0,
"usdcLocked": 5000.5,
"type": "fluxbeam_locker"
}
},
"total": {
"totalUSDC": 15532.44236441391
}
}
Authentication Required
This endpoint requires authentication. Include your FluxRPC API key in the
X-API-KEY header or as a query parameter. See the Getting Started guide for details.