Skip to main content
GET
Get Position Yield

Authorizations

Authorization
string
header
default:YOUR_API_KEY
required

Paste your API key from the dashboard. The key starts with do_sk_.

Path Parameters

chain_id
integer
required

Chain ID.

Example:

8453

Query Parameters

wallet
string
required

Wallet address.

Example:

"0xbf7620d0377b0660a6cbaef5cdfe2e00eddc1495"

market_id
enum<string>
default:main

Default: main. Values: main, lido, horizon.

Available options:
main,
lido,
horizon
target_health_factor
number
default:1.5

Target health factor. Default: 1.5.

Response

Successful response

request_id
string
required

Id to quote when you contact support.

data
object
required