bitpro가 원문에서 글자만 모은 내용이에요. 표·그림·수식은 빠지거나 깨질 수 있어요. 전체 75쪽 중 47쪽
w tokens from a specified Kamino Earn Vault. Includes lookup tables for transaction compression. An optional `memo` is added as an SPL memo instruction.
# Get transaction to withdraw from a kvault
Source: https://kamino.com/docs/build/kamino-earn-withdraw/get-transaction-to-withdraw-from-a-kvault
/ktx-api.json post /ktx/kvault/withdraw
Withdraw tokens from a specified Kamino Earn Vault. An optional `memo` is added as an SPL memo instruction.
# Get all obligations with open borrow orders in a market
Source: https://kamino.com/docs/build/kamino-lend-borrow-orders/get-all-obligations-with-open-borrow-orders-in-a-market
/kamino-api.json get /v2/kamino-market/{pubkey}/obligations-with-open-borrow-orders
Returns all obligations in the given market that have an active (unfilled or partially filled) borrow order.
# Get borrow order fills for an obligation
Source: https://kamino.com/docs/build/kamino-lend-borrow-orders/get-borrow-order-fills-for-an-obligation
/kamino-api.json get /v2/kamino-market/obligations/{pubkey}/borrow-order-fills
Returns the fill history for the active borrow order of an obligation, in chronological order.
# Get instructions to borrow liquidity from a klend reserve
Source: https://kamino.com/docs/build/kamino-lend-borrow/get-instructions-to-borrow-liquidity-from-a-klend-reserve
/ktx-api.json post /ktx/klend/borrow-instructions
Instructions to borrow liquidity from the specified Kamino Lend market reserve. Additionally includes lookup tables to use to compress transaction size
# Get transaction to borrow liquidity from a klend reserve
Source: https://kamino.com/docs/build/kamino-lend-borrow/get-transaction-to-borrow-liquidity-from-a-klend-reserve
/ktx-api.json post /ktx/klend/borrow
Borrow liquidity from the specified Kamino Lend market reserve
# Get instructions to deposit into a klend reserve
Source: https://kamino.com/docs/build/kamino-lend-deposit/get-instructions-to-deposit-into-a-klend-reserve
/ktx-api.json post /ktx/klend/deposit-instructions
Instructions to deposit tokens into the specified Kamino Lend market reserve. Additionally includes lookup tables to use to compress transaction size
# Get transaction to deposit into a klend reserve
Source: https://kamino.com/docs/build/kamino-lend-deposit/get-transaction-to-deposit-into-a-klend-reserve
/ktx-api.json post /ktx/klend/deposit
Deposit tokens into the specified Kamino Lend market reserve. An optional `memo` is added to the transaction as an SPL memo instruction.
# Get all Kamino Markets config
Source: https://kamino.com/docs/build/kamino-lend-markets/get-all-kamino-markets-config
/kamino-api.json get /v2/kamino-market
Get all Kamino Lending markets configuration for a specific program ID. This is the V2 endpoint that allows filtering by program ID instead of cluster.
# Get charts for a market
Source: https://kamino.com/docs/build/kamino-lend-markets/get-charts-for-a-market
/kamino-api.json get /markets/{marketPubkey}/charts
Get historical total borrowed, total supplied, and obligation counts for a market.
# Get collateral reserves with borrowable reserves
Source: https://kamino.com/docs/build/kamino-lend-markets/get-collateral-reserves-with-borrowable-reserves
/kamino-api.json get /markets/collateral-reserves
Derive one Borrow market row per collateral reserve and debt category from each configured Kamino Lend market.
# Get Kamino Market config
Source: https://kamino.com/docs/build/kamino-lend-markets/get-kamino-market-config
/kamino-api.json get /v2/kamino-market/{pubkey}
Get configuration for a specific Kamino Lending market by market address. Optionally filter by program ID.
# Get KLend Market metrics history
Source: https://kamino.com/docs/build/kamino-lend-markets/get-klend-market-metrics-history
/kamino-api.json get /kamino-market/{pubkey}/metrics/history
Get historical metrics (TVL and number of obligations) for a Kamino Lending market over a specified time range.
# Get KLend market reserves account data
Source: https://kamino.com/docs/build/kamino-lend-markets/get-klend-market-reserves-account-data
/kamino-api.json get /kamino-market/reserves/account-data
Fetch reserve account data for given Klend markets. Returns base64-encoded account data for all reserves in the specified markets.
# Get KLend reserve history
Source: https://kamino.com/docs/build/kamino-lend-markets/get-klend-reserve-history
/kamino-api.json get /kamino-market/{marketPubkey}/reserves/{reservePubkey}/metrics/history
Get historical metrics for a specific reserve in a Kamino Lending market over a specified time range with configurable frequency (hour or day). Without a frequency, ranges shorter than 32 days are hourly and longer ranges are daily. APYs, amounts and capped available liquidity are means of raw snapshots in each UTC bucket. Other metrics retain the last snapshot.
# Get max leverage per Multiply pair
Source: https://kamino.com/docs/build/kamino-lend-markets/get-max-leverage-per-multiply-pair
/kamino-api.json get /markets/multiply-pairs
Return the protocol risk ceiling of every Multiply pair configured in the Kamino CDN, including hidden pairs and pairs in hidden or deprecated markets. Values are raw protocol limits under the elevation group the pair auto-selects, with no safety factor applied.
# Get metadata for a market
Source: https://kamino.com/docs/build/kamino-lend-markets/get-metadata-for-a-market
/kamino-api.json get /markets/{marketPubkey}/metadata
Get metadata (name, description, curation status, and reserve public keys) for a single Kamino Lend market.
# Get metadata for multiple markets
Source: https://kamino.com/docs/build/kamino-lend-markets/get-metadata-for-multiple-markets
/kamino-api.json get /markets/batch/metadata
Get metadata (name, description, curation status, and reserve public keys) for Kamino Lend markets. When market is omitted, all configured markets are returned. The response is keyed by market public key; unknown markets are omitted.
# Get metrics for leverage/multiply vaults
Source: https://kamino.com/docs/build/kamino-lend-markets/get-metrics-for-leveragemultiply-vaults
/kamino-api.json get /kamino-market/{pubkey}/leverage/metrics
Get aggregated metrics for all leverage and multiply positions in a Kamino Lending market, including average leverage, total borrowed, total deposited, and number of obligations.
# Get metrics for market reserves
Source: https://kamino.com/docs/build/kamino-lend-markets/get-metrics-for-market-reserves
/kamino-api.json get /kamino-market/{pubkey}/reserves/metrics
Get current metrics for all reserves in a Kamino Lending market, including APY, TVL, borrow/supply amounts, and LTV ratios.
# Get instructions to repay debt of a klend reserve
Source: https://kamino.com/docs/build/kamino-lend-repay/get-instructions-to-repay-debt-of-a-klend-reserve
/ktx-api.json post /ktx/klend/repay-instructions
Instructions to repay a debt position for the specified Kamino Lend market reserve. Additionally includes lookup tables to use to compress transaction size
# Get transaction to repay debt of a klend reserve
Source: https://kamino.com/docs/build/kamino-lend-repay/get-transaction-to-repay-debt-of-a-klend-reserve
/ktx-api.json post /ktx/klend/repay
Repay a debt position for the specified Kamino Lend market reserve
# Get charts for a reserve
Source: https://kamino.com/docs/build/kamino-lend-reserves/get-charts-for-a-reserve
/kamino-api.json get /reserves/{reservePubkey}/charts
Get the current raw borrow rate curve and historical base supply and borrow APYs for a reserve.
# Get stats for a reserve
Source: https://kamino.com/docs/build/kamino-lend-reserves/get-stats-for-a-reserve
/kamino-api.json get /reserves/{reservePubkey}/stats
Get current raw and cap-aware reserve liquidity, borrowing caps and counters, base APYs with historical averages, underlying token yield and UI-matching APY breakdowns, utilization with historical averages, auto-deleveraging settings, reserve farm rewards, pair-specific incentives and partner points programs for one reserve. Pair-specific incentives and points programs are not included in the APY breakdown totals.
# Get stats for multiple reserves
Source: https://kamino.com/docs/build/kamino-lend-reserves/get-stats-for-multiple-reserves
/kamino-api.json get /reserves/batch/stats
Get current raw and cap-aware reserve liquidity, borrowing caps and counters, base APYs with historical averages, underlying token yield and UI-matching APY breakdowns, utilization with historical averages, auto-deleveraging settings, reserve farm rewards, pair-specific incentives and partner points programs. Pair-specific incentives and points programs are not included in the APY breakdown totals. Select reserves directly with the reserve query parameter or expand all reserves from lending markets with the market query parameter. The response is keyed by reserve public key; unknown reserves and markets are omitted.
# Get bulk market transactions
Source: https://kamino.com/docs/build/kamino-lend-transactions/get-bulk-market-transactions
/kamino-api.json post /v2/kamino-market/{pubkey}/transactions
Get bulk Kamino Lend transactions for a given market, filtered by instruction name and date range. Private (authorized) API access only, please add a basic auth header to your request.
# Get bulk market transactions (v3)
Source: https://kamino.com/docs/build/kamino-lend-transactions/get-bulk-market-transactions-v3
/kamino-api.json post /v3/kamino-market/{pubkey}/transactions
Get bulk Kamino Lend transactions for a given market, filtered by instruction name and date range. Returns obligation transactions and withdraw-queue transactions as sibling arrays; exactly one is populated per request depending on the ix name. Private (authorized) API access only, please add a basic auth header to your request.
# Get obligation transactions
Source: https://kamino.com/docs/build/kamino-lend-transactions/get-obligation-transactions
/kamino-api.json get /v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/transactions
Get all Kamino Lend transactions for a given obligation.
# Get paginated user transaction history
Source: https://kamino.com/docs/build/kamino-lend-transactions/get-paginated-user-transaction-history
/kamino-api.json get /v3/kamino-market/users/{userPubkey}/transaction-history
Newest first across all markets. Long no-op rollover runs are collapsed. Limits count instructions; all legs of an instruction are returned together.
# Get user transactions
Source: https://kamino.com/docs/build/kamino-lend-transactions/get-user-transactions
/kamino-api.json get /v2/kamino-market/{marketPubkey}/users/{userPubkey}/transactions
Get all Kamino Lend transactions for a given user.
# Get user transactions across all markets
Source: https://kamino.com/docs/build/kamino-lend-transactions/get-user-transactions-across-all-markets
/kamino-api.json get /v2/kamino-market/users/{userPubkey}/transactions
Get all Kamino Lend transactions for a given user across all markets.
# Get user transactions across all markets (v3)
Source: https://kamino.com/docs/build/kamino-lend-transactions/get-user-transactions-across-all-markets-v3
/kamino-api.json get /v3/kamino-market/users/{userPubkey}/transactions
Get all Kamino Lend transactions for a given user across all markets, including withdraw-queue transactions.
# Get user transactions (v3)
Source: https://kamino.com/docs/build/kamino-lend-transactions/get-user-transactions-v3
/kamino-api.json get /v3/kamino-market/{marketPubkey}/users/{userPubkey}/transactions
Get all Kamino Lend transactions for a given user in a market, including withdraw-queue transactions.
# Get all user obligations
Source: https://kamino.com/docs/build/kamino-lend-user-loans/get-all-user-obligations
/kamino-api.json get /kamino-market/{marketPubkey}/users/{userPubkey}/obligations
Get all obligations (loans) for a specific user wallet in a Kamino Lending market.
# Get information about a loan (obligation)
Source: https://kamino.com/docs/build/kamino-lend-user-loans/get-information-about-a-loan-obligation
/kamino-api.json get /klend/loans/{pubkey}
Fetches information about a loan
# Get KLend obligation history
Source: https://kamino.com/docs/build/kamino-lend-user-loans/get-klend-obligation-history
/kamino-api.json get /v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/metrics/history
Get historical metrics for a specific obligation in a Kamino Lending market. This V2 endpoint supports using stake rate for obligation value calculation when `useStakeRateForObligation` is true.
# Get obligation analytics history
Source: https://kamino.com/docs/build/kamino-lend-user-loans/get-obligation-analytics-history
/kamino-api.json get /v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/analytics/history
Get precomputed position values and signed APY components relative to equity in [start, end). Omit start for full history; end defaults to now. Daily history may end with the latest hourly bucket from today or yesterday when that day is not yet covered by a daily row. Finalized data typically lags by 1-2 hours.
# Get profit and loss for an obligation
Source: https://kamino.com/docs/build/kamino-lend-user-loans/get-profit-and-loss-for-an-obligation
/kamino-api.json get /v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/pnl
Get profit and loss (PnL) for a specific obligation. For xSOL pairs, `useStakeRate` can be set to true to calculate the PnL using the stake rate.
# Get profit and loss history for an obligation
Source: https://kamino.com/docs/build/kamino-lend-user-loans/get-profit-and-loss-history-for-an-obligation
/kamino-api.json get /v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/pnl/history
Returns transaction and periodic mark-to-market PnL for the current obligation. Snapshots are hourly for positions younger than 32 days and daily otherwise, timestamped at observation time. Periodic points that cannot be valued are omitted. Optional start (inclusive) and end (exclusive) filter the history; totals always describe the current position. For xSOL pairs, useStakeRate uses stake-rate pricing.
# Get instructions to withdraw from a klend reserve
Source: https://kamino.com/docs/build/kamino-lend-withdraw/get-instructions-to-withdraw-from-a-klend-reserve
/ktx-api.json post /ktx/klend/withdraw-instructions
Instructions to withdraw tokens from the specified Kamino Lend market reserve. Additionally includes lookup tables to use to compress transaction size
# Get transaction to withdraw from a klend reserve
Source: https://kamino.com/docs/build/kamino-lend-withdraw/get-transaction-to-withdraw-from-a-klend-reserve
/ktx-api.json post /ktx/klend/withdraw
Withdraw tokens from the specified Kamino Lend market reserve
# Get a KLend deposit position history
Source: https://kamino.com/docs/build/kamino-lend-yield/get-a-klend-deposit-position-history
/kamino-api.json get /v3/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/deposits/{reservePubkey}/metrics/history
Get value, APY, and lifetime cumulative interest snapshots for one reserve deposit in an obligation.
# Get interest fees earned per obligation
Source: https://kamino.com/docs/build/kamino-lend-yield/get-interest-fees-earned-per-obligation
/kamino-api.json get /v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/interest-fees
Get historical interest fees earned for a specific obligation. Returns total fees earned and historical fee breakdown by token.
# Get interest fees paid per obligation
Source: https://kamino.com/docs/build/kamino-lend-yield/get-interest-fees-paid-per-obligation
/kamino-api.json get /v2/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/interest-paid
Get historical interest fees paid for a specific obligation. Returns total fees paid and historical fee breakdown by token.
# Get KLend reserve borrow APY and median staking APY history
Source: https://kamino.com/docs/build/kamino-lend-yield/get-klend-reserve-borrow-apy-and-median-staking-apy-history
/kamino-api.json get /kamino-market/{marketPubkey}/reserves/{reservePubkey}/borrow-and-staking-apys/history/median
Get historical borrow interest APY and median staking APY data for reserves that contain LST tokens with staking yield. Uses median staking APY values. Hourly and daily borrow APYs are means of raw snapshots in each UTC bucket.
# Get KLend reserve borrow APY and staking APY history
Source: https://kamino.com/docs/build/kamino-lend-yield/get-klend-reserve-borrow-apy-and-staking-apy-history
/kamino-api.json get /kamino-market/{marketPubkey}/reserves/{reservePubkey}/borrow-and-staking-apys/history
Get historical borrow interest APY and staking APY data for reserves that contain LST tokens with staking yield. Used for Multiply underlying APY calculations. Hourly and daily borrow APYs are means of raw snapshots in each UTC bucket.
# Get KLend reward history
Source: https://kamino.com/docs/build/kamino-lend-yield/get-klend-reward-history
/kamino-api.json get /klend/{depositReservePubkey}/{borrowReservePubkey}/rewards/history
Fetches historical KLend reward metrics for a specific deposit and borrow reserve pair
# Get KLend rewards
Source: https://kamino.com/docs/build/kamino-lend-yield/get-klend-rewards
/kamino-api.json get /klend/rewards
Fetches all active KLend reward metrics for a specific points source
# Get stored interest fees earned per obligation
Source: https://kamino.com/docs/build/kamino-lend-yield/get-stored-interest-fees-earned-per-obligation
/kamino-api.json get /v3/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/interest-fees
Get historical interest fees earned for a specific obligation from stored cumulative interest snapshots.
# Get stored interest fees paid per obligation
Source: https://kamino.com/docs/build/kamino-lend-yield/get-stored-interest-fees-paid-per-obligation
/kamino-api.json get /v3/kamino-market/{marketPubkey}/obligations/{obligationPubkey}/interest-paid
Get historical interest fees paid for a specific obligation from stored cumulative interest snapshots.
# Get user KLend rewards
Source: https://kamino.com/docs/build/kamino-lend-yield/get-user-klend-rewards
/kamino-api.json get /klend/users/{pubkey}/rewards
Fetches KLend reward data for a specific user and points source
# Get Liquidity transactions by shareholder wallet address
Source: https://kamino.com/docs/build/kamino-liquidity/get-liquidity-transactions-by-shareholder-wallet-address
/kamino-api.json get /v2/shareholders/{pubkey}/transactions
Get all Kamino Liquidity strategy transactions for a provided shareholder wallet address.
# Get Swap transactions by user wallet address
Source: https://kamino.com/docs/build/kamino-swap/get-swap-transactions-by-user-wallet-address
/kamino-api.json get /kamino-swap/users/{pubkey}/transactions
Get the Swap transaction history for a provided user wallet address, with optional limit and offset.
# Find Lookup Tables for addresses
Source: https://kamino.com/docs/build/lookup-tables/find-lookup-tables-for-addresses
/kamino-api.json post /luts/find-minimal
Finds the smallest set of Lookup Table (LUT) addresses that together cover all the provided Solana addresses. Optionally verifies active LUTs on-chain.
# Get managed LUTs by product type
Source: https://kamino.com/docs/build/lookup-tables/get-managed-luts-by-product-type
/kamino-api.json get /luts/managed/product-type/{productType}
Returns all active lookup table addresses grouped by product for a given product type.
# Get managed LUTs for a product
Source: https://kamino.com/docs/build/lookup-tables/get-managed-luts-for-a-product
/kamino-api.json get /luts/managed
Returns active lookup table addresses associated with a given product identifier address.
# Get managed LUTs for multiple products
Source: https://kamino.com/docs/build/lookup-tables/get-managed-luts-for-multiple-products
/kamino-api.json get /luts/managed/batch
Returns active lookup table addresses프로젝트로 돌아가기