Expand description
Authenticated finance endpoints (/api/v5/finance/*).
Structsยง
- Amount
Request - Request for purchase/redeem operations on staking products.
- ApyHistory
Request - Request for
apy_historyon staking products. - Cancel
Redeem - Cancel redeem ETH
- Cancel
Redeem Request - Request for
cancel_redeemon staking products. - Currency
Request - Request for
get_saving_balance. - EthStaking
- Accessor for ETH staking endpoints.
- Finance
- Accessor for OKX finance endpoint groups.
- Finance
History Request - Common currency and cursor pagination query used by finance history endpoints.
- Flexible
Loan - Accessor for Flexible Loan endpoints.
- Flexible
Loan Adjust Collateral Request - Request body for
POST /api/v5/finance/flexible-loan/adjust-collateral. - Flexible
Loan Collateral Asset - Flexible-loan collateral asset row.
- Flexible
Loan Collateral Assets Request - Query parameters for
GET /api/v5/finance/flexible-loan/collateral-assets. - Flexible
Loan Currency - Flexible-loan currency row.
- Flexible
Loan History - Flexible-loan history row.
- Flexible
Loan History Request - Query parameters for
GET /api/v5/finance/flexible-loan/loan-history. - Flexible
Loan Info - Flexible-loan account information.
- Flexible
Loan Info Request - Query parameters for
GET /api/v5/finance/flexible-loan/loan-info. - Flexible
Loan Interest - Flexible-loan interest row.
- Flexible
Loan Interest Accrued Request - Query parameters for
GET /api/v5/finance/flexible-loan/interest-accrued. - Flexible
Loan MaxLoan - Flexible-loan maximum-loan row.
- Flexible
Loan MaxLoan Request - Request body for
POST /api/v5/finance/flexible-loan/max-loan. - Flexible
Loan MaxRedeem - Flexible-loan maximum-redeem row.
- Flexible
Loan MaxRedeem Request - Query parameters for
GET /api/v5/finance/flexible-loan/max-collateral-redeem-amount. - Flexible
Loan Order - Flexible-loan order row.
- Lending
History - Lending history row.
- Public
Borrow History - Public borrow-history row.
- Public
Borrow Info - Public borrow-info row.
- Saving
Balance - Savings balance row.
- Savings
- Accessor for Savings endpoints.
- Savings
Purchase Redemption Request - Request body for
POST /api/v5/finance/savings/purchase-redempt. - Savings
Purchase Redemption Result - Savings purchase/redemption result.
- SetLending
Rate Request - Request for
set_lending_rate. - SetLending
Rate Result - Set-lending-rate result.
- SolStaking
- Accessor for SOL staking endpoints.
- Staking
ApyHistory - Staking APY-history row.
- Staking
Balance - Staking balance row.
- Staking
Defi - Accessor for Staking/DeFi endpoints.
- Staking
Defi Active Orders Request - Query parameters for
GET /api/v5/finance/staking-defi/orders-active. - Staking
Defi Cancel Request - Request body for
POST /api/v5/finance/staking-defi/cancel. - Staking
Defi Invest Data - Currency-level investment data returned by Staking/DeFi endpoints.
- Staking
Defi Investment - Currency and amount invested into one On-chain Earn product.
- Staking
Defi Offer - Staking/DeFi offer row.
- Staking
Defi Offers Request - Query parameters for
GET /api/v5/finance/staking-defi/offers. - Staking
Defi Order - Staking/DeFi order row.
- Staking
Defi Order History Request - Query parameters for
GET /api/v5/finance/staking-defi/orders-history. - Staking
Defi Purchase Request - Request body for
POST /api/v5/finance/staking-defi/purchase. - Staking
Defi Redeem Request - Request body for
POST /api/v5/finance/staking-defi/redeem. - Staking
History - Staking history row.
- Staking
Order - Staking order row.
- Staking
Product Info - Staking product-info row.