Skip to content

Rewards ​

GET /v1/rewards/{chain}/{user_address} ​

Get Proof

http
GET https://api.lfj.dev/v1/rewards/{chain}/{user_address}

Authentication: x-lfj-api-key header.

ParameterInTypeRequiredDescription
chainpathavalanche | arbitrum | base | berachain | binance | ethereum | mantle | monad | solana | sonicyes
user_addresspathstringyes
marketquerystringyes
epochqueryintegeryes
tokenquerystringyes
StatusDescriptionBody
200Successful Responsearray of string
422Validation ErrorHTTPValidationError
Schemas

HTTPValidationError

FieldTypeRequiredDescription
detailarray of ValidationError

ValidationError

FieldTypeRequiredDescription
locarray of string | integeryes
msgstringyes
typestringyes

POST /v1/rewards/batch-proof/{chain}/{user_address} ​

Get User Proofs

http
POST https://api.lfj.dev/v1/rewards/batch-proof/{chain}/{user_address}

Authentication: x-lfj-api-key header.

ParameterInTypeRequiredDescription
chainpathavalanche | arbitrum | base | berachain | binance | ethereum | mantle | monad | solana | sonicyes
user_addresspathstringyes

Request body: GetProofBatch

StatusDescriptionBody
200Successful Responsearray of array of string
422Validation ErrorHTTPValidationError
Schemas

GetProofBatch

FieldTypeRequiredDescription
batcharray of GetProofyes

GetProof

FieldTypeRequiredDescription
marketstringyes
epochintegeryes
tokenstringyes

HTTPValidationError

FieldTypeRequiredDescription
detailarray of ValidationError

ValidationError

FieldTypeRequiredDescription
locarray of string | integeryes
msgstringyes
typestringyes

GET /v1/rewards/history/{chain}/{user_address} ​

Get User Reward History

http
GET https://api.lfj.dev/v1/rewards/history/{chain}/{user_address}

Authentication: x-lfj-api-key header.

ParameterInTypeRequiredDescription
chainpathavalanche | arbitrum | base | berachain | binance | ethereum | mantle | monad | solana | sonicyes
user_addresspathstringyes
marketquerystringyes
StatusDescriptionBody
200Successful Responsearray of GetUserRewardHistoryResponse
422Validation ErrorHTTPValidationError
Schemas

GetUserRewardHistoryResponse

FieldTypeRequiredDescription
epochintegeryes
epochStartintegeryes
epochEndintegeryes
progressnumberyes
rewardsarray of GetLBPairRewardyes

GetLBPairReward

FieldTypeRequiredDescription
amountstringyes
tokenAddressstringyes

HTTPValidationError

FieldTypeRequiredDescription
detailarray of ValidationError

ValidationError

FieldTypeRequiredDescription
locarray of string | integeryes
msgstringyes
typestringyes

GET /v1/rewards/claimable/{chain}/{user_address} ​

Get User Claimable Rewards

http
GET https://api.lfj.dev/v1/rewards/claimable/{chain}/{user_address}

Authentication: x-lfj-api-key header.

ParameterInTypeRequiredDescription
chainpathavalanche | arbitrum | base | berachain | binance | ethereum | mantle | monad | solana | sonicyes
user_addresspathstringyes
marketquerystringyes
StatusDescriptionBody
200Successful Responsearray of ClaimableReward
422Validation ErrorHTTPValidationError
Schemas

ClaimableReward

FieldTypeRequiredDescription
marketstringyes
epochintegeryes
claimableRewardsarray of GetLBPairRewardyes

GetLBPairReward

FieldTypeRequiredDescription
amountstringyes
tokenAddressstringyes

HTTPValidationError

FieldTypeRequiredDescription
detailarray of ValidationError

ValidationError

FieldTypeRequiredDescription
locarray of string | integeryes
msgstringyes
typestringyes