Option Balances
Checks the balance of all option positions for the given account (if specified), otherwise the address in the .env is used.
get
Required scopes
This endpoint requires the following scopes:
Authorizations
x-apikeystringRequired
Query parameters
walletAddrstringOptionalExample:
wallet address
0x3ba638...fb25ePattern: ^0x[a-fA-F0-9]{40}$Responses
200
Success
application/json
401
Not authorized
application/json
get
/account/option_balancesGET /account/option_balances HTTP/1.1
Host:
x-apikey: YOUR_API_KEY
Accept: */*
{
"expired": [
{
"amount": 2.46,
"name": "WETH-USDC-03NOV2023-1800-P",
"token_address": "0x...4cFF2",
"exposure": "SHORT"
}
],
"open": [
{
"amount": 2.46,
"name": "WETH-USDC-03NOV2023-1800-P",
"token_address": "0x...4cFF2",
"exposure": "SHORT"
}
]
}Last updated
Was this helpful?