Appearance
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.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
chain | path | avalanche | arbitrum | base | berachain | binance | ethereum | mantle | monad | solana | sonic | yes | |
user_address | path | string | yes | |
market | query | string | yes | |
epoch | query | integer | yes | |
token | query | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | Successful Response | array of string |
| 422 | Validation Error | HTTPValidationError |
Schemas
HTTPValidationError
| Field | Type | Required | Description |
|---|---|---|---|
detail | array of ValidationError |
ValidationError
| Field | Type | Required | Description |
|---|---|---|---|
loc | array of string | integer | yes | |
msg | string | yes | |
type | string | yes |
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.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
chain | path | avalanche | arbitrum | base | berachain | binance | ethereum | mantle | monad | solana | sonic | yes | |
user_address | path | string | yes |
Request body: GetProofBatch
| Status | Description | Body |
|---|---|---|
| 200 | Successful Response | array of array of string |
| 422 | Validation Error | HTTPValidationError |
Schemas
GetProofBatch
| Field | Type | Required | Description |
|---|---|---|---|
batch | array of GetProof | yes |
GetProof
| Field | Type | Required | Description |
|---|---|---|---|
market | string | yes | |
epoch | integer | yes | |
token | string | yes |
HTTPValidationError
| Field | Type | Required | Description |
|---|---|---|---|
detail | array of ValidationError |
ValidationError
| Field | Type | Required | Description |
|---|---|---|---|
loc | array of string | integer | yes | |
msg | string | yes | |
type | string | yes |
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.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
chain | path | avalanche | arbitrum | base | berachain | binance | ethereum | mantle | monad | solana | sonic | yes | |
user_address | path | string | yes | |
market | query | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | Successful Response | array of GetUserRewardHistoryResponse |
| 422 | Validation Error | HTTPValidationError |
Schemas
GetUserRewardHistoryResponse
| Field | Type | Required | Description |
|---|---|---|---|
epoch | integer | yes | |
epochStart | integer | yes | |
epochEnd | integer | yes | |
progress | number | yes | |
rewards | array of GetLBPairReward | yes |
GetLBPairReward
| Field | Type | Required | Description |
|---|---|---|---|
amount | string | yes | |
tokenAddress | string | yes |
HTTPValidationError
| Field | Type | Required | Description |
|---|---|---|---|
detail | array of ValidationError |
ValidationError
| Field | Type | Required | Description |
|---|---|---|---|
loc | array of string | integer | yes | |
msg | string | yes | |
type | string | yes |
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.
| Parameter | In | Type | Required | Description |
|---|---|---|---|---|
chain | path | avalanche | arbitrum | base | berachain | binance | ethereum | mantle | monad | solana | sonic | yes | |
user_address | path | string | yes | |
market | query | string | yes |
| Status | Description | Body |
|---|---|---|
| 200 | Successful Response | array of ClaimableReward |
| 422 | Validation Error | HTTPValidationError |
Schemas
ClaimableReward
| Field | Type | Required | Description |
|---|---|---|---|
market | string | yes | |
epoch | integer | yes | |
claimableRewards | array of GetLBPairReward | yes |
GetLBPairReward
| Field | Type | Required | Description |
|---|---|---|---|
amount | string | yes | |
tokenAddress | string | yes |
HTTPValidationError
| Field | Type | Required | Description |
|---|---|---|---|
detail | array of ValidationError |
ValidationError
| Field | Type | Required | Description |
|---|---|---|---|
loc | array of string | integer | yes | |
msg | string | yes | |
type | string | yes |
