> ## Documentation Index
> Fetch the complete documentation index at: https://tokenterminal.com/docs/llms.txt
> Use this file to discover all available pages before exploring further.

# kamino_v1_solana

> Tables in tt-contracts.kamino_v1_solana

## Tables

### KaminoLend\_BorrowObligationLiquidity\_instruction

Borrow instruction records from Kamino Lend protocol on Solana showing loan drawdowns with obligation addresses, liquidity amounts, reserve details, and borrower accounts. Used to analyze borrowing activity and track debt positions across lending markets.

<Accordion title="Columns">
  | Column                                 | Type          | Description                                                                                                                                                                                                                     |
  | -------------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                      | `TIMESTAMP`   | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                     |
  | `block_slot`                           | `INT64`       | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                   |
  | `transaction_id`                       | `STRING`      | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                 |
  | `transaction_index`                    | `INT64`       | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                       |
  | `transaction_signer`                   | `STRING`      | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                           |
  | `instruction_index`                    | `INT64`       | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                            |
  | `outer_instruction_index`              | `INT64`       | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.             |
  | `executing_account`                    | `STRING`      | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                |
  | `outer_executing_account`              | `STRING`      | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                        |
  | `surrogate_key`                        | `STRING`      | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                 |
  | `instruction_type`                     | `STRING`      | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                      |
  | `in_borrowReserve`                     | `STRING`      | Solana account address of the reserve from which liquidity is being borrowed in this Kamino Lend transaction. Consistent across all sample rows, indicating borrowing from the same reserve pool.                               |
  | `in_borrowReserveLiquidityFeeReceiver` | `STRING`      | Solana account address receiving protocol fees from borrowed liquidity for this reserve. Base58-encoded, 32-byte public key constant for each lending reserve.                                                                  |
  | `in_borrowReserveLiquidityMint`        | `STRING`      | Token mint address for the liquidity being borrowed from the reserve. This is the SPL token program identifier for the asset being borrowed by the user.                                                                        |
  | `in_instructionSysvarAccount`          | `STRING`      | Address of the Solana Instructions Sysvar account. Contains introspection data about currently executing instructions, always `Sysvar1nstructions1111111111111111111111111`.                                                    |
  | `in_lendingMarket`                     | `STRING`      | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                   |
  | `in_lendingMarketAuthority`            | `STRING`      | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                        |
  | `in_obligation`                        | `STRING`      | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                            |
  | `in_owner`                             | `STRING`      | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                               |
  | `in_referrerTokenState`                | `STRING`      | Account address of the referrer token state tracking referral rewards and participation. Base58-encoded Solana public key.                                                                                                      |
  | `in_remaining`                         | `ARRAY<JSON>` | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                           |
  | `in_reserveSourceLiquidity`            | `STRING`      | Solana account address holding the reserve's liquidity pool from which tokens are borrowed. This is the source account that transfers borrowed tokens to the user's destination account.                                        |
  | `in_tokenProgram`                      | `STRING`      | Address of the Solana Token Program invoked for token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_userDestinationLiquidity`          | `STRING`      | Account address of the token account receiving borrowed or redeemed liquidity from the lending protocol operation. Base58-encoded Solana public key.                                                                            |
  | `in_liquidityAmount`                   | `STRING`      | Amount of liquidity added to or removed from a concentrated liquidity position. Numeric string representation of liquidity units in the position's tick range.                                                                  |
</Accordion>

<Accordion title="Sample Data">
  | in\_owner                                    | block\_slot | in\_remaining | in\_obligation                               | surrogate\_key                                                                                       | transaction\_id                                                                          | block\_timestamp         | in\_tokenProgram                            | in\_borrowReserve                            | in\_lendingMarket                            | instruction\_type         | executing\_account                          | instruction\_index | transaction\_index | in\_liquidityAmount | transaction\_signer                          | in\_referrerTokenState                      | outer\_executing\_account | outer\_instruction\_index | in\_lendingMarketAuthority                   | in\_reserveSourceLiquidity                   | in\_instructionSysvarAccount                | in\_userDestinationLiquidity                 | in\_borrowReserveLiquidityMint               | in\_borrowReserveLiquidityFeeReceiver        |
  | -------------------------------------------- | ----------- | ------------- | -------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------------------------- | ------------------ | ------------------ | ------------------- | -------------------------------------------- | ------------------------------------------- | ------------------------- | ------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
  | FfkhbxiSQGeNd2SyQU3C3RMszWa3iTXwv5wHbvWfuXaV | 300943455   | \[]           | 4GL31jEN5sm3gev7ZnQwjPQG2T2gG69iBdiKDMrSwkiY | 300943455-3y5qwmua3JELKChvtZL8vne3zksswGjpDUwiFJcL89EaXCP9f32b19vWBirP6BkrWdnYF5rPVFfWDpi3W3T7XGWA-6 | 3y5qwmua3JELKChvtZL8vne3zksswGjpDUwiFJcL89EaXCP9f32b19vWBirP6BkrWdnYF5rPVFfWDpi3W3T7XGWA | 2024-11-12T11:13:58.000Z | TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb | FswUCVjvfAuzHCgPDF95eLKscGsLHyJmD6hzkhq26CLe | DxXdAyU3kCjnyggvHmY5nAwg5cRbbmdyX3npfDMjjMek | BorrowObligationLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 6                  | 17                 | 550000000           | FfkhbxiSQGeNd2SyQU3C3RMszWa3iTXwv5wHbvWfuXaV | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD |                           |                           | B9spsrMK6pJicYtukaZzDyzsUQLgc3jbx5gHVwdDxb6y | 5aeoJKE5beaV8uJJnWRbGYxRTRrZCJi4mGgmK8yPE1wr | Sysvar1nstructions1111111111111111111111111 | BFaCVsuN1DTkLmhxcRMDov4xTMVDgkhzu6Qge87nTrrr | 2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo | 2eA6kDtWLaSAsD8FfNih3FdRWTZ4XtQzUWQ1X2v3YyHX |
  | 3dWAMzbxBrzmybFRnNtiHsvvUJGAA9pTDZtuh8mEM9Pg | 300955372   | \[]           | 7C9saHC1Q3unDnoWqLNykkDWYQebzKHopttMNKueMcKe | 300955372-3BbuLu2ngMnoVnmego4R7Q6J1T5NPAbqRatv7dxiLE8kbTRKSxJfCy1oszymZVapzYpVXYJuLdXGzSQLRTHxhdDH-6 | 3BbuLu2ngMnoVnmego4R7Q6J1T5NPAbqRatv7dxiLE8kbTRKSxJfCy1oszymZVapzYpVXYJuLdXGzSQLRTHxhdDH | 2024-11-12T12:41:44.000Z | TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb | FswUCVjvfAuzHCgPDF95eLKscGsLHyJmD6hzkhq26CLe | DxXdAyU3kCjnyggvHmY5nAwg5cRbbmdyX3npfDMjjMek | BorrowObligationLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 6                  | 244                | 50000000            | 3dWAMzbxBrzmybFRnNtiHsvvUJGAA9pTDZtuh8mEM9Pg | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD |                           |                           | B9spsrMK6pJicYtukaZzDyzsUQLgc3jbx5gHVwdDxb6y | 5aeoJKE5beaV8uJJnWRbGYxRTRrZCJi4mGgmK8yPE1wr | Sysvar1nstructions1111111111111111111111111 | ERaxi5awgFybh6LQqxVRe3JiS81Q8Yoi7WV5ENLjLnVh | 2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo | 2eA6kDtWLaSAsD8FfNih3FdRWTZ4XtQzUWQ1X2v3YyHX |
  | CuBV7VVq3zSrh1wf5SZCp36JqpFRCGJHvV7he6K8SDJ1 | 301044804   | \[]           | 6c8dCSZ7XXmr9DsUbCsKQC1nSkPa2faWDUcVhaUxw1m6 | 301044804-2inhjkt4RDXJ4kVhKesNqTt2RBmMCrQ5NpFDxYoeKN3nz7NT1odcEW5e8M8iF534c2C9vKYmWaxE2k4zN7Rvrm4r-6 | 2inhjkt4RDXJ4kVhKesNqTt2RBmMCrQ5NpFDxYoeKN3nz7NT1odcEW5e8M8iF534c2C9vKYmWaxE2k4zN7Rvrm4r | 2024-11-12T23:49:29.000Z | TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb | FswUCVjvfAuzHCgPDF95eLKscGsLHyJmD6hzkhq26CLe | DxXdAyU3kCjnyggvHmY5nAwg5cRbbmdyX3npfDMjjMek | BorrowObligationLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 6                  | 5                  | 6000000             | CuBV7VVq3zSrh1wf5SZCp36JqpFRCGJHvV7he6K8SDJ1 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD |                           |                           | B9spsrMK6pJicYtukaZzDyzsUQLgc3jbx5gHVwdDxb6y | 5aeoJKE5beaV8uJJnWRbGYxRTRrZCJi4mGgmK8yPE1wr | Sysvar1nstructions1111111111111111111111111 | A26QZgjXVCfo6x6j39KUe3fbetZ8PhzFJoNBnuczpYxo | 2b1kV6DkPAnxd5ixfnxCpjxmKwqjjaYmCZfHsFu24GXo | 2eA6kDtWLaSAsD8FfNih3FdRWTZ4XtQzUWQ1X2v3YyHX |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_BorrowObligationLiquidity_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_BorrowObligationLiquidityV2\_instruction

Borrow instruction events from Kamino Lend protocol on Solana, capturing liquidity withdrawals with borrowed amounts, reserve details, and obligation account identifiers. Used for analyzing borrowing patterns and protocol utilization across lending markets.

<Accordion title="Columns">
  | Column                                 | Type          | Description                                                                                                                                                                                                                     |
  | -------------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                      | `TIMESTAMP`   | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                     |
  | `block_slot`                           | `INT64`       | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                   |
  | `transaction_id`                       | `STRING`      | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                 |
  | `transaction_index`                    | `INT64`       | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                       |
  | `transaction_signer`                   | `STRING`      | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                           |
  | `instruction_index`                    | `INT64`       | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                            |
  | `outer_instruction_index`              | `INT64`       | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.             |
  | `executing_account`                    | `STRING`      | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                |
  | `outer_executing_account`              | `STRING`      | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                        |
  | `surrogate_key`                        | `STRING`      | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                 |
  | `instruction_type`                     | `STRING`      | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                      |
  | `in_borrowReserve`                     | `STRING`      | Solana account address of the lending reserve from which liquidity is being borrowed in this instruction. Each borrow operation targets a specific reserve that holds the token being borrowed.                                 |
  | `in_borrowReserveLiquidityFeeReceiver` | `STRING`      | Account address receiving protocol fees from borrowed liquidity in this Kamino lending operation. Base58-encoded Solana public key representing the fee collection destination for the reserve.                                 |
  | `in_borrowReserveLiquidityMint`        | `STRING`      | Mint address of the liquidity token being borrowed from the reserve. Base58-encoded Solana public key identifying the specific SPL token borrowed.                                                                              |
  | `in_farmsProgram`                      | `STRING`      | Address of the Kamino Farms Program contract managing reward and incentive distribution. Base58-encoded Solana public key.                                                                                                      |
  | `in_instructionSysvarAccount`          | `STRING`      | Address of the Solana Instructions Sysvar account. Contains introspection data about currently executing instructions, always `Sysvar1nstructions1111111111111111111111111`.                                                    |
  | `in_lendingMarket`                     | `STRING`      | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                   |
  | `in_lendingMarketAuthority`            | `STRING`      | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                        |
  | `in_obligation`                        | `STRING`      | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                            |
  | `in_obligationFarmUserState`           | `STRING`      | Account address of the user's farm state tracking their farming rewards and participation for the obligation. Base58-encoded Solana public key.                                                                                 |
  | `in_owner`                             | `STRING`      | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                               |
  | `in_referrerTokenState`                | `STRING`      | Account address of the referrer token state tracking referral rewards and participation. Base58-encoded Solana public key.                                                                                                      |
  | `in_remaining`                         | `ARRAY<JSON>` | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                           |
  | `in_reserveFarmState`                  | `STRING`      | Account address of the reserve's farm state tracking farming rewards and user participation. Base58-encoded Solana public key.                                                                                                  |
  | `in_reserveSourceLiquidity`            | `STRING`      | Token account holding the liquidity pool balance for the reserve being borrowed from. This is the source account from which borrowed funds are transferred to the borrower.                                                     |
  | `in_tokenProgram`                      | `STRING`      | Address of the Solana Token Program invoked for token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_userDestinationLiquidity`          | `STRING`      | Account address of the token account receiving borrowed or redeemed liquidity from the lending protocol operation. Base58-encoded Solana public key.                                                                            |
  | `in_liquidityAmount`                   | `STRING`      | Amount of liquidity added to or removed from a concentrated liquidity position. Numeric string representation of liquidity units in the position's tick range.                                                                  |
</Accordion>

<Accordion title="Sample Data">
  | in\_owner                                    | block\_slot | in\_remaining | in\_obligation                               | surrogate\_key                                                                                         | transaction\_id                                                                          | block\_timestamp         | in\_farmsProgram                             | in\_tokenProgram                            | in\_borrowReserve                            | in\_lendingMarket                            | instruction\_type           | executing\_account                          | instruction\_index | transaction\_index | in\_liquidityAmount | transaction\_signer                          | in\_reserveFarmState                         | in\_referrerTokenState                      | outer\_executing\_account                   | outer\_instruction\_index | in\_lendingMarketAuthority                   | in\_reserveSourceLiquidity                   | in\_obligationFarmUserState                  | in\_instructionSysvarAccount                | in\_userDestinationLiquidity                 | in\_borrowReserveLiquidityMint               | in\_borrowReserveLiquidityFeeReceiver        |
  | -------------------------------------------- | ----------- | ------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | --------------------------- | ------------------------------------------- | ------------------ | ------------------ | ------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | ------------------------------------------- | ------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
  | 2xgZYbGzQ4TmQ8enkuEWJUawZ5zqewi8RTKxY3qtPvap | 322657578   | \[]           | Asba2a1abbvUwAEvXxvGTCf9VXkY8UmrzLyk1n6e8cqU | 322657578-4fU2NGk1MDGX6ps9NRP5igNJxc6Rc9HoEpkVVdhe69ExjWneoFpo2yWSPbgkjv2TaytpRLFos3r1A5PCtQdQa3VN-3-7 | 4fU2NGk1MDGX6ps9NRP5igNJxc6Rc9HoEpkVVdhe69ExjWneoFpo2yWSPbgkjv2TaytpRLFos3r1A5PCtQdQa3VN | 2025-02-23T23:10:11.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | Ga4rZytCpq1unD4DbEJ5bkHeUz9g3oh9AAFEi6vSauXp | DxXdAyU3kCjnyggvHmY5nAwg5cRbbmdyX3npfDMjjMek | BorrowObligationLiquidityV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 7                  | 137                | 6478758             | 6RpCiLUnLBE62J9SFSLaW1B41beY9cPtc2sFUL2JHjWG | B7nzBEuViVtaQN8iEhhtBY4gQSxBY38ms31DUWUx1bza | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf | 3                         | B9spsrMK6pJicYtukaZzDyzsUQLgc3jbx5gHVwdDxb6y | GENey8es3EgGiNTM8H8gzA3vf98haQF8LHiYFyErjgrv | 578HEMt7FBGZ9mvH52o2Qog8Vctn8nqDiEcy3CcW1ML4 | Sysvar1nstructions1111111111111111111111111 | HcWkpctcZEutHNVhjvJj6ogtSxsov26nqq9gjQoQLpyf | EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v | rywFxeqHfCWL5iGq9cDxutwiiR2TabZgzv8aRM1Lceq  |
  | 5JoYM4xzde4oCm3DhofXcHENFhKBmXevFP9f4dPtm9oz | 338395400   | \[]           | cWLw88BD9qkufYP1o6NP4a5SP4x4ZBBUt15AU9ZuRP5  | 338395400-3GnubRHy5Q8Cis2Jzm7u2iXPWQS8EttWZoZGSsD2D8vsDtv95MsCNvrL2HQmWyJVhx43uy6f18wyLnWiPxg4y3Ry-7   | 3GnubRHy5Q8Cis2Jzm7u2iXPWQS8EttWZoZGSsD2D8vsDtv95MsCNvrL2HQmWyJVhx43uy6f18wyLnWiPxg4y3Ry | 2025-05-07T08:41:48.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb | ESCkPWKHmgNE7Msf77n9yzqJd5kQVWWGy3o5Mgxhvavp | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | BorrowObligationLiquidityV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 7                  | 273                | 250000000           | 5JoYM4xzde4oCm3DhofXcHENFhKBmXevFP9f4dPtm9oz | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD  | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD |                                             |                           | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | DGBo8HmL7pBWBZLGePjHQ73JKRE37HVZ7ZbjA2FYUZHZ | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD  | Sysvar1nstructions1111111111111111111111111 | E3gqNopUrP2yngMWgK1X6PWbdmuYnVQq4ocLxgWZKgb6 | 2u1tszSeqZ3qBWF3uNGPFc8TzMk2tdiwknnRMWGWjGWH | 39M8hy7EUypjxsHqsZQmNQqXGpknCwoCXzF7r8WMBbAs |
  | 85MCnqfZuwEzP3xFzKm6e9dHgFVqAG8nKc3Mmateny16 | 338456802   | \[]           | Z1u9PEFuHX4teXnM9QpsjGtSUht9sXLqzqqUET3r1mq  | 338456802-4Y2gb2vuuTHgAMwEBzSNQ2YGkmRC8VCaLT536nYsmjszcPqsJZG72u59A3UvpkhdPHEC9x2HeFgu35x3MEBu4a6A-7   | 4Y2gb2vuuTHgAMwEBzSNQ2YGkmRC8VCaLT536nYsmjszcPqsJZG72u59A3UvpkhdPHEC9x2HeFgu35x3MEBu4a6A | 2025-05-07T15:26:33.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb | ESCkPWKHmgNE7Msf77n9yzqJd5kQVWWGy3o5Mgxhvavp | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | BorrowObligationLiquidityV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 7                  | 34                 | 10000000000         | 85MCnqfZuwEzP3xFzKm6e9dHgFVqAG8nKc3Mmateny16 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD  | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD |                                             |                           | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | DGBo8HmL7pBWBZLGePjHQ73JKRE37HVZ7ZbjA2FYUZHZ | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD  | Sysvar1nstructions1111111111111111111111111 | HiCvrcG4TnT7dkv4RpFx7NxYNgSazFGMp2FXZJGHaRrP | 2u1tszSeqZ3qBWF3uNGPFc8TzMk2tdiwknnRMWGWjGWH | 39M8hy7EUypjxsHqsZQmNQqXGpknCwoCXzF7r8WMBbAs |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_BorrowObligationLiquidityV2_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_DeleteReferrerStateAndShortUrl\_instruction

Deletion events for referrer state and shortened URL records from Kamino Lend protocol on Solana. Tracks removal of referral program data including referrer addresses, state accounts, and associated short URLs for analyzing referral program lifecycle.

<Accordion title="Columns">
  | Column                    | Type        | Description                                                                                                                                                                                                         |
  | ------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index` | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account` | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_referrer`             | `STRING`    | Address that referred the user to the protocol or facilitated the transaction. Hex-encoded, 0x-prefixed, 42-character string.                                                                                       |
  | `in_referrerState`        | `STRING`    | Account address storing the referrer's state data being deleted by this instruction. Base58-encoded Solana public key that is closed and reclaimed as part of the deletion operation.                               |
  | `in_remaining`            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
  | `in_rent`                 | `STRING`    | Address of the Solana Rent Sysvar account. Base58-encoded public key, constant value SysvarRent111111111111111111111111111111111.                                                                                   |
  | `in_shortUrl`             | `STRING`    | Account address of the short URL being deleted from the Kamino referral system. Base58-encoded Solana public key that serves as a vanity identifier for the referrer state.                                         |
  | `in_systemProgram`        | `STRING`    | Address of the Solana System Program. Base58-encoded public key, constant value 11111111111111111111111111111111.                                                                                                   |
</Accordion>

<Accordion title="Sample Data">
  | in\_rent                                    | block\_slot | in\_referrer                                 | in\_shortUrl                                 | in\_remaining | surrogate\_key                                                                                       | transaction\_id                                                                          | block\_timestamp         | in\_referrerState                            | in\_systemProgram                | instruction\_type              | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | outer\_executing\_account | outer\_instruction\_index |
  | ------------------------------------------- | ----------- | -------------------------------------------- | -------------------------------------------- | ------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | -------------------------------- | ------------------------------ | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | ------------------------- | ------------------------- |
  | SysvarRent111111111111111111111111111111111 | 239944771   | 7zqdN3cHqaBcTqs8hKR161HchtHkVHCvaMgBt4nrBNJd | 5rP3tkCRPL9Cpgbm29FmzgDtKexvUNiPLNRq6xRuMFpS |               | 239944771-2qRB8BQwW8M8Cz91aM88odfnZtNuhre35cciitoHcNCegbhQ2dBBGKo1yFtiAJw9SXmJ3YjQRthjbTVSfbKU8YAR-2 | 2qRB8BQwW8M8Cz91aM88odfnZtNuhre35cciitoHcNCegbhQ2dBBGKo1yFtiAJw9SXmJ3YjQRthjbTVSfbKU8YAR | 2024-01-05T02:50:02.000Z | BTM7LiuNTt2Qf8yXmtFpJUtkF66G9GKfoqdjBEEQn2P9 | 11111111111111111111111111111111 | DeleteReferrerStateAndShortUrl | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 7                  | 7zqdN3cHqaBcTqs8hKR161HchtHkVHCvaMgBt4nrBNJd |                           |                           |
  | SysvarRent111111111111111111111111111111111 | 240013970   | 4ppMfheMaiVtYArXerinPLWJhNW7QG6h16vJGCGa5maa | EPBfpPeWLMdctCUYUsSucKd6FmAhWyG7RtvFQTwv61zc |               | 240013970-4mJ1Zc1g69xm2wVWqX8o7MrJ1Eh8uL7W39xQxcUebTtst3siPHdvv3c77CcdU4di6Awwps2ybmA7VXBTekY3XYZ4-2 | 4mJ1Zc1g69xm2wVWqX8o7MrJ1Eh8uL7W39xQxcUebTtst3siPHdvv3c77CcdU4di6Awwps2ybmA7VXBTekY3XYZ4 | 2024-01-05T11:46:38.000Z | FkDsqS9r5QZQeR7yzLcN9zugmMKUgzup5yTYkB7q8PDF | 11111111111111111111111111111111 | DeleteReferrerStateAndShortUrl | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 16                 | 4ppMfheMaiVtYArXerinPLWJhNW7QG6h16vJGCGa5maa |                           |                           |
  | SysvarRent111111111111111111111111111111111 | 240029595   | 4ppMfheMaiVtYArXerinPLWJhNW7QG6h16vJGCGa5maa | 6wZk5iRtj574AtRVaXcvqWdPUWe1KL6ThGUFRojaE3qA |               | 240029595-4TMtTnLNchRq83ki866g82DyqBGLC4CVi9GX7uNvsZDSx3sikK1AtoxyqWfBPQRCWyg6fccFgX81JpdU75dAjpbU-2 | 4TMtTnLNchRq83ki866g82DyqBGLC4CVi9GX7uNvsZDSx3sikK1AtoxyqWfBPQRCWyg6fccFgX81JpdU75dAjpbU | 2024-01-05T13:45:58.000Z | FkDsqS9r5QZQeR7yzLcN9zugmMKUgzup5yTYkB7q8PDF | 11111111111111111111111111111111 | DeleteReferrerStateAndShortUrl | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 111                | 4ppMfheMaiVtYArXerinPLWJhNW7QG6h16vJGCGa5maa |                           |                           |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_DeleteReferrerStateAndShortUrl_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_DepositObligationCollateral\_instruction

Collateral deposit instructions from Kamino Lending Protocol (KLend) on Solana, recording when users add collateral to their lending obligations. Used to analyze collateralization patterns, user deposit behavior, and lending market activity across different reserve pools.

<Accordion title="Columns">
  | Column                            | Type        | Description                                                                                                                                                                                                                     |
  | --------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                 | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                     |
  | `block_slot`                      | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                   |
  | `transaction_id`                  | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                 |
  | `transaction_index`               | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                       |
  | `transaction_signer`              | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                           |
  | `instruction_index`               | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                            |
  | `outer_instruction_index`         | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.             |
  | `executing_account`               | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                |
  | `outer_executing_account`         | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                        |
  | `surrogate_key`                   | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                 |
  | `instruction_type`                | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                      |
  | `in_depositReserve`               | `STRING`    | Solana account address of the Kamino lending reserve where collateral is being deposited. This reserve defines the asset type and parameters for the collateralization operation.                                               |
  | `in_instructionSysvarAccount`     | `STRING`    | Address of the Solana Instructions Sysvar account. Contains introspection data about currently executing instructions, always `Sysvar1nstructions1111111111111111111111111`.                                                    |
  | `in_lendingMarket`                | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                   |
  | `in_obligation`                   | `STRING`    | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                            |
  | `in_owner`                        | `STRING`    | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                               |
  | `in_reserveDestinationCollateral` | `STRING`    | Token account where collateral tokens are transferred to within the Kamino lending reserve. This is the protocol-controlled collateral vault that holds deposited assets for the specific reserve.                              |
  | `in_tokenProgram`                 | `STRING`    | Address of the Solana Token Program invoked for token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_userSourceCollateral`         | `STRING`    | Account address of the user's source token account from which collateral is being transferred. This account must be owned by the transaction signer and contain sufficient collateral tokens.                                   |
  | `in_collateralAmount`             | `STRING`    | Amount of collateral tokens involved in the operation. Decimal-encoded string representing the quantity in the token's base units.                                                                                              |
</Accordion>

<Accordion title="Sample Data">
  | in\_owner                                    | block\_slot | in\_obligation                               | surrogate\_key                                                                                         | transaction\_id                                                                          | block\_timestamp         | in\_tokenProgram                            | in\_lendingMarket                            | instruction\_type           | executing\_account                          | in\_depositReserve                           | instruction\_index | transaction\_index | transaction\_signer                          | in\_collateralAmount | in\_userSourceCollateral                     | outer\_executing\_account                   | outer\_instruction\_index | in\_instructionSysvarAccount                | in\_reserveDestinationCollateral             |
  | -------------------------------------------- | ----------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- | ------------------------ | ------------------------------------------- | -------------------------------------------- | --------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------- | -------------------------------------------- | ------------------------------------------- | ------------------------- | ------------------------------------------- | -------------------------------------------- |
  | GeXibGhHiCPvtJKCGEKWHnHvGnk1tT3VfzYz8s5G3v4y | 311904725   | DwPPT9UBwS6AzWjNSf7CALUtP1LVvPfHYRo1q6ccXF3e | 311904725-2hEQrUyRNJ78w48wThJjCs2muirMknSkgiPY7AWAWBYf84bMXpK1hPuKZdr9tBhEqBPMPT2iVT8a5DXMBvyLmD14-8-1 | 2hEQrUyRNJ78w48wThJjCs2muirMknSkgiPY7AWAWBYf84bMXpK1hPuKZdr9tBhEqBPMPT2iVT8a5DXMBvyLmD14 | 2025-01-04T21:57:59.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | DepositObligationCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 | 1                  | 292                | 5KriTLisNNuAgesuaSSqwix7nuQvGzfuEJYEqTMzgtwA | 1279407              | ExnMarMRVUffHgkf26zJdyiPDW4iJw4fSm5zXfdWd5KD | SANDsy8SBzwUE8Zio2mrYZYqL52Phr2WQb9DDKuXMVK | 8                         | Sysvar1nstructions1111111111111111111111111 | 3DzjXRfxRm6iejfyyMynR4tScddaanrePJ1NJU2XnPPL |
  | GeXibGhHiCPvtJKCGEKWHnHvGnk1tT3VfzYz8s5G3v4y | 311726887   | DwPPT9UBwS6AzWjNSf7CALUtP1LVvPfHYRo1q6ccXF3e | 311726887-5R4VpoNpC6y49pQSsMY4oZmS9dPkDirgptYiehWRU3Yfb5mEkhvSGKcJGcom2mnshYPc2b5VaAswi67qrsnXgSo8-9-1 | 5R4VpoNpC6y49pQSsMY4oZmS9dPkDirgptYiehWRU3Yfb5mEkhvSGKcJGcom2mnshYPc2b5VaAswi67qrsnXgSo8 | 2025-01-04T01:38:42.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | DepositObligationCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 | 1                  | 214                | 5KriTLisNNuAgesuaSSqwix7nuQvGzfuEJYEqTMzgtwA | 5606481              | ExnMarMRVUffHgkf26zJdyiPDW4iJw4fSm5zXfdWd5KD | SANDsy8SBzwUE8Zio2mrYZYqL52Phr2WQb9DDKuXMVK | 9                         | Sysvar1nstructions1111111111111111111111111 | 3DzjXRfxRm6iejfyyMynR4tScddaanrePJ1NJU2XnPPL |
  | CwaUu6mzhTtv8T3777akAQEw57eCrHWcFShsKHq4xUod | 311831243   | He32Xe6c6JbdboRL2a84mwp4uZuxeYT1rLd9AdAWzffu | 311831243-3WENmr1YcBoYdbYBqrbSigYgNW6eHKPrXSzNxYq5FvDzFMRHD9EuzwQUsWJnYSuimk83JnqTqbe3AXUNo7ANLnKs-9-1 | 3WENmr1YcBoYdbYBqrbSigYgNW6eHKPrXSzNxYq5FvDzFMRHD9EuzwQUsWJnYSuimk83JnqTqbe3AXUNo7ANLnKs | 2025-01-04T13:33:31.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | DxXdAyU3kCjnyggvHmY5nAwg5cRbbmdyX3npfDMjjMek | DepositObligationCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | FswUCVjvfAuzHCgPDF95eLKscGsLHyJmD6hzkhq26CLe | 1                  | 240                | 4exp6hri3je38qVJNknAAzdTkEyV7pybgLe9nxs2tVuq | 48316423             | 7KhzHnWnq9pF9sQbrri4GXKRnWMs4fc3jkWMGjqZWuh5 | SANDsy8SBzwUE8Zio2mrYZYqL52Phr2WQb9DDKuXMVK | 9                         | Sysvar1nstructions1111111111111111111111111 | DjSjn4yrnsy3WNqiADFtsS4cXLvSeZxgJXDgPys4q3a5 |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_DepositObligationCollateral_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_DepositReserveLiquidity\_instruction

Deposit instruction records from Kamino Lend protocol on Solana tracking users supplying liquidity to lending reserves in exchange for collateral tokens. Used for analyzing lending protocol supply activity, deposit flows, and collateralization patterns across different reserves and markets.

<Accordion title="Columns">
  | Column                         | Type        | Description                                                                                                                                                                                                                             |
  | ------------------------------ | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`              | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                             |
  | `block_slot`                   | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                           |
  | `transaction_id`               | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                         |
  | `transaction_index`            | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                               |
  | `transaction_signer`           | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                                   |
  | `instruction_index`            | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                                    |
  | `outer_instruction_index`      | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.                     |
  | `executing_account`            | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                        |
  | `outer_executing_account`      | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                                |
  | `surrogate_key`                | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                         |
  | `instruction_type`             | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                              |
  | `in_collateralTokenProgram`    | `STRING`    | Address of the Solana Token Program managing collateral token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_instructionSysvarAccount`  | `STRING`    | Address of the Solana Instructions Sysvar account. Contains introspection data about currently executing instructions, always `Sysvar1nstructions1111111111111111111111111`.                                                            |
  | `in_lendingMarket`             | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                           |
  | `in_lendingMarketAuthority`    | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                                |
  | `in_liquidityTokenProgram`     | `STRING`    | Address of the Solana Token Program managing liquidity token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022.  |
  | `in_owner`                     | `STRING`    | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                       |
  | `in_reserve`                   | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                                     |
  | `in_reserveCollateralMint`     | `STRING`    | Mint address of the collateral token for the reserve. Base58-encoded Solana public key.                                                                                                                                                 |
  | `in_reserveLiquidityMint`      | `STRING`    | Mint address of the liquidity token for the reserve. Base58-encoded Solana public key.                                                                                                                                                  |
  | `in_reserveLiquiditySupply`    | `STRING`    | Account address of the reserve's liquidity supply token account holding deposited tokens. Base58-encoded Solana public key.                                                                                                             |
  | `in_userDestinationCollateral` | `STRING`    | Account address of the user's token account receiving collateral tokens from the operation. Base58-encoded Solana public key.                                                                                                           |
  | `in_userSourceLiquidity`       | `STRING`    | Account address of the user's source token account providing liquidity for the operation. Base58-encoded Solana public key.                                                                                                             |
  | `in_liquidityAmount`           | `STRING`    | Amount of liquidity added to or removed from a concentrated liquidity position. Numeric string representation of liquidity units in the position's tick range.                                                                          |
</Accordion>

<Accordion title="Sample Data">
  | in\_owner                                    | block\_slot | in\_reserve                                  | surrogate\_key                                                                                         | transaction\_id                                                                          | block\_timestamp         | in\_lendingMarket                            | instruction\_type       | executing\_account                          | instruction\_index | transaction\_index | in\_liquidityAmount | transaction\_signer                          | in\_userSourceLiquidity                      | in\_reserveLiquidityMint                     | outer\_executing\_account                   | outer\_instruction\_index | in\_liquidityTokenProgram                   | in\_reserveCollateralMint                    | in\_collateralTokenProgram                  | in\_lendingMarketAuthority                   | in\_reserveLiquiditySupply                   | in\_instructionSysvarAccount                | in\_userDestinationCollateral                |
  | -------------------------------------------- | ----------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ----------------------- | ------------------------------------------- | ------------------ | ------------------ | ------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | ------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- |
  | CEky7tp1cBAkNjE72pSfnBiXW4Xdv7T3sUKRoNmgLyAX | 345709818   | HokDw9LaDf9qNzJf4F21RjHU3K4pRBkGQENvWnRGyRbn | 345709818-4HqP15x88wvFSXAJNQvm3rxoj61TFuK6V1CNLDkZjuDXFRLAmGidTrXGdQrr8K8NKDtaSXkosxkSVMuQesCLQrio-1-2 | 4HqP15x88wvFSXAJNQvm3rxoj61TFuK6V1CNLDkZjuDXFRLAmGidTrXGdQrr8K8NKDtaSXkosxkSVMuQesCLQrio | 2025-06-09T18:19:40.000Z | 6WEGfej9B9wjxRs6t4BYpb9iCXd8CpTpJ8fVSNzHCC5y | DepositReserveLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 253                | 779451              | CuEC7JoZtHx9v5MQWrNTsLSGMEixbCEvTX6K6kWZzz7q | 2PMDueoXBp9k8974CvzvqCFXNBMqeRjJ9Cw53brJHaEA | 2u1tszSeqZ3qBWF3uNGPFc8TzMk2tdiwknnRMWGWjGWH | KvauGMspG5k6rtzrqqn7WNn3oZdyKqLKwK2XWQ8FLjd | 1                         | TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb | 4AZJjXdX9ZZEmSUpXV9EbgQn8ya4PsHsztdrL1KzhiPq | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 6QbtpY2jDNcncRFmVf343NThnCdaY8gCAsYATPnYQR9g | Go9MPjSG2tL5SjtpM3QCw2rybxJJBMSFZabz9Fn4o2Xs | Sysvar1nstructions1111111111111111111111111 | 3aHq2uTer9ojDWWiGcFBLeymMetfyLvQzafUneEKgRMe |
  | CEky7tp1cBAkNjE72pSfnBiXW4Xdv7T3sUKRoNmgLyAX | 345701342   | HokDw9LaDf9qNzJf4F21RjHU3K4pRBkGQENvWnRGyRbn | 345701342-2f8wsHanym3MXpvhZCkXhjyX1ps9u2QzJ1S7XQ1ouqHaJR1Q7TxqdrQ9FxjPK8fq4XGTDGhqrXQNhaJuEntiFKrD-1-2 | 2f8wsHanym3MXpvhZCkXhjyX1ps9u2QzJ1S7XQ1ouqHaJR1Q7TxqdrQ9FxjPK8fq4XGTDGhqrXQNhaJuEntiFKrD | 2025-06-09T17:24:09.000Z | 6WEGfej9B9wjxRs6t4BYpb9iCXd8CpTpJ8fVSNzHCC5y | DepositReserveLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 170                | 91620               | CuEC7JoZtHx9v5MQWrNTsLSGMEixbCEvTX6K6kWZzz7q | 2PMDueoXBp9k8974CvzvqCFXNBMqeRjJ9Cw53brJHaEA | 2u1tszSeqZ3qBWF3uNGPFc8TzMk2tdiwknnRMWGWjGWH | KvauGMspG5k6rtzrqqn7WNn3oZdyKqLKwK2XWQ8FLjd | 1                         | TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb | 4AZJjXdX9ZZEmSUpXV9EbgQn8ya4PsHsztdrL1KzhiPq | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 6QbtpY2jDNcncRFmVf343NThnCdaY8gCAsYATPnYQR9g | Go9MPjSG2tL5SjtpM3QCw2rybxJJBMSFZabz9Fn4o2Xs | Sysvar1nstructions1111111111111111111111111 | 3aHq2uTer9ojDWWiGcFBLeymMetfyLvQzafUneEKgRMe |
  | CEky7tp1cBAkNjE72pSfnBiXW4Xdv7T3sUKRoNmgLyAX | 345717302   | HokDw9LaDf9qNzJf4F21RjHU3K4pRBkGQENvWnRGyRbn | 345717302-2vHiRNRvtwWweUhr6t51ptX6365TZUJS1o3weMYKgggydxLgEFudfNMfeg83fMBzEThHSHYdVx4DsxqjvJPytM1z-1-2 | 2vHiRNRvtwWweUhr6t51ptX6365TZUJS1o3weMYKgggydxLgEFudfNMfeg83fMBzEThHSHYdVx4DsxqjvJPytM1z | 2025-06-09T19:08:51.000Z | 6WEGfej9B9wjxRs6t4BYpb9iCXd8CpTpJ8fVSNzHCC5y | DepositReserveLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 66                 | 783205              | CuEC7JoZtHx9v5MQWrNTsLSGMEixbCEvTX6K6kWZzz7q | 2PMDueoXBp9k8974CvzvqCFXNBMqeRjJ9Cw53brJHaEA | 2u1tszSeqZ3qBWF3uNGPFc8TzMk2tdiwknnRMWGWjGWH | KvauGMspG5k6rtzrqqn7WNn3oZdyKqLKwK2XWQ8FLjd | 1                         | TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb | 4AZJjXdX9ZZEmSUpXV9EbgQn8ya4PsHsztdrL1KzhiPq | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 6QbtpY2jDNcncRFmVf343NThnCdaY8gCAsYATPnYQR9g | Go9MPjSG2tL5SjtpM3QCw2rybxJJBMSFZabz9Fn4o2Xs | Sysvar1nstructions1111111111111111111111111 | 3aHq2uTer9ojDWWiGcFBLeymMetfyLvQzafUneEKgRMe |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_DepositReserveLiquidity_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_DepositReserveLiquidityAndObligationCollateral\_instruction

Deposit instruction records from Kamino lending protocol on Solana where users supply liquidity tokens to reserves and receive collateral tokens against their obligation accounts. Used for analyzing lending supply activity, collateralization patterns, and user deposit behavior across different reserve markets.

<Accordion title="Columns">
  | Column                                   | Type        | Description                                                                                                                                                                                                                           |
  | ---------------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                        | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                           |
  | `block_slot`                             | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                         |
  | `transaction_id`                         | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                       |
  | `transaction_index`                      | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                             |
  | `transaction_signer`                     | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                                 |
  | `instruction_index`                      | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                                  |
  | `outer_instruction_index`                | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.                   |
  | `executing_account`                      | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                      |
  | `outer_executing_account`                | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                              |
  | `surrogate_key`                          | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                       |
  | `instruction_type`                       | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                            |
  | `in_lendingMarket`                       | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                         |
  | `in_lendingMarketAuthority`              | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                              |
  | `in_lendingMarketOwner`                  | `STRING`    | Account address that owns and has administrative control over the lending market. Base58-encoded Solana public key.                                                                                                                   |
  | `in_remaining`                           | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                                 |
  | `in_reserve`                             | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                                   |
  | `in_reserveCollateralMint`               | `STRING`    | Mint address of the collateral token for the reserve. Base58-encoded Solana public key.                                                                                                                                               |
  | `in_reserveDestinationDepositCollateral` | `STRING`    | Solana account address that receives the collateral tokens minted when liquidity is deposited into the Kamino lending reserve. Base58-encoded string representing the destination account controlled by the lending market authority. |
  | `in_reserveLiquidityMint`                | `STRING`    | Mint address of the liquidity token for the reserve. Base58-encoded Solana public key.                                                                                                                                                |
  | `in_reserveLiquiditySupply`              | `STRING`    | Account address of the reserve's liquidity supply token account holding deposited tokens. Base58-encoded Solana public key.                                                                                                           |
  | `in_userSourceLiquidity`                 | `STRING`    | Account address of the user's source token account providing liquidity for the operation. Base58-encoded Solana public key.                                                                                                           |
  | `in_liquidityAmount`                     | `STRING`    | Amount of liquidity added to or removed from a concentrated liquidity position. Numeric string representation of liquidity units in the position's tick range.                                                                        |
</Accordion>

<Accordion title="Sample Data">
  | block\_slot | in\_reserve                                  | in\_remaining | surrogate\_key                                                                                          | transaction\_id                                                                          | block\_timestamp         | in\_lendingMarket                            | instruction\_type                              | executing\_account                          | instruction\_index | transaction\_index | in\_liquidityAmount | transaction\_signer                          | in\_lendingMarketOwner | in\_userSourceLiquidity                      | in\_reserveLiquidityMint                     | outer\_executing\_account                    | outer\_instruction\_index | in\_reserveCollateralMint                    | in\_lendingMarketAuthority                   | in\_reserveLiquiditySupply                   | in\_reserveDestinationDepositCollateral      |
  | ----------- | -------------------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ---------------------------------------------- | ------------------------------------------- | ------------------ | ------------------ | ------------------- | -------------------------------------------- | ---------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
  | 268885176   | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q  |               | 268885176-5WSovswvY2cu329dLo5zYF7SeNj45cLDejRPCjex6VaKXDoZ4qVH21CCqmz2YDyAjk8rCcTX9ygLo266Mf4o96pn-12-0 | 5WSovswvY2cu329dLo5zYF7SeNj45cLDejRPCjex6VaKXDoZ4qVH21CCqmz2YDyAjk8rCcTX9ygLo266Mf4o96pn | 2024-05-30T18:18:50.000Z | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | DepositReserveLiquidityAndObligationCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 4                  | 5303000000          | EdZ9XJgMmcsnmBDSDchd3BdUDGnDsEtGAtCedqFwAL45 |                        | Gsxk2qLFszbrcMxiyvmXhmWdh7VWmeXYzXoyiQ8dh1Zy | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q | 12                        | 8NXMyRD91p3nof61BTkJvrfpGTASHygz1cUvc3HvwyGS | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | 2UywZrUdyqs5vDchy7fKQJKau2RVyuzBev2XKGPDSiX1 | DSDjmHtH8sztMXBpPVS9h5yrAGwPh4HnGkdaAGMwZxkA |
  | 268860828   | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 |               | 268860828-38rtdcbpPN2dZmkRSjDPJ6hzifpDEqLqmuLDyv4zHhe6q98U1FQuTnwCA1jUiu4nL47QJ5G9hqmJ4wdykdLak9Wp-8-0  | 38rtdcbpPN2dZmkRSjDPJ6hzifpDEqLqmuLDyv4zHhe6q98U1FQuTnwCA1jUiu4nL47QJ5G9hqmJ4wdykdLak9Wp | 2024-05-30T15:20:56.000Z | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | DepositReserveLiquidityAndObligationCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 23                 | 507968115           | 8PWR75ppAGonv9dXStjficjXmdsuDKmDoVNcy4oYhAMs |                        | 7vRMLmvS6XmJEQeUSUjtjEXcJJHfQaPMfYZF2xE887gd | Bgq7trRgVMeq33yt235zM2onQ4bRDBsY5EWiTetF4qw6 | FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q | 8                         | 3DzjXRfxRm6iejfyyMynR4tScddaanrePJ1NJU2XnPPL | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | B8V6WVjPxW1UGwVDfxH2d2r8SyT4cqn7dQRK6XneVa7D | EPKbhBhFYh2DUrCjrgr6sAVjLaNBfwZyh3ULq2BD9Lmh |
  | 268860044   | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 |               | 268860044-ow7RHiA2AAjFiXUnMoiwyT6NyB7nrTqM7SowedqR9TnsePAy54o7RKYYrRbs93wxxGpn6LPaaS9uvtJoJytCZBY-8-0   | ow7RHiA2AAjFiXUnMoiwyT6NyB7nrTqM7SowedqR9TnsePAy54o7RKYYrRbs93wxxGpn6LPaaS9uvtJoJytCZBY  | 2024-05-30T15:15:10.000Z | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | DepositReserveLiquidityAndObligationCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 10                 | 105796805           | 8PWR75ppAGonv9dXStjficjXmdsuDKmDoVNcy4oYhAMs |                        | 7SbKCwh1pVze1MpG1A9gQNKn3ZgCsmnjPK5kM7Uf6e2q | Bgq7trRgVMeq33yt235zM2onQ4bRDBsY5EWiTetF4qw6 | FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q | 8                         | 3DzjXRfxRm6iejfyyMynR4tScddaanrePJ1NJU2XnPPL | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | B8V6WVjPxW1UGwVDfxH2d2r8SyT4cqn7dQRK6XneVa7D | 7WDfUEyDFscfD94Uf52XhkZvDgnP5p364N1BT9EoZmqC |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_DepositReserveLiquidityAndObligationCollateral_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_DepositReserveLiquidityAndObligationCollateralV2\_instruction

Kamino Lend deposit instruction records on Solana where users add liquidity to lending reserves and receive collateral tokens in return. Used for analyzing lending market deposit flows, user borrowing capacity changes, and liquidity supply patterns.

<Accordion title="Columns">
  | Column                                    | Type        | Description                                                                                                                                                                                                                             |
  | ----------------------------------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                             |
  | `block_slot`                              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                           |
  | `transaction_id`                          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                         |
  | `transaction_index`                       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                               |
  | `transaction_signer`                      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                                   |
  | `instruction_index`                       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                                    |
  | `outer_instruction_index`                 | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.                     |
  | `executing_account`                       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                        |
  | `outer_executing_account`                 | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                                |
  | `surrogate_key`                           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                         |
  | `instruction_type`                        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                              |
  | `in_collateralTokenProgram`               | `STRING`    | Address of the Solana Token Program managing collateral token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_farmsProgram`                         | `STRING`    | Address of the Kamino Farms Program contract managing reward and incentive distribution. Base58-encoded Solana public key.                                                                                                              |
  | `in_instructionSysvarAccount`             | `STRING`    | Address of the Solana Instructions Sysvar account. Contains introspection data about currently executing instructions, always `Sysvar1nstructions1111111111111111111111111`.                                                            |
  | `in_lendingMarket`                        | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                           |
  | `in_lendingMarketAuthority`               | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                                |
  | `in_liquidityTokenProgram`                | `STRING`    | Address of the Solana Token Program managing liquidity token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022.  |
  | `in_obligation`                           | `STRING`    | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                                    |
  | `in_obligationFarmUserState`              | `STRING`    | Account address of the user's farm state tracking their farming rewards and participation for the obligation. Base58-encoded Solana public key.                                                                                         |
  | `in_owner`                                | `STRING`    | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                       |
  | `in_placeholderUserDestinationCollateral` | `STRING`    | Placeholder account address reserved for future collateral destination functionality in the Kamino lending protocol. Base58-encoded Solana public key.                                                                                  |
  | `in_remaining`                            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                                   |
  | `in_reserve`                              | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                                     |
  | `in_reserveCollateralMint`                | `STRING`    | Mint address of the collateral token for the reserve. Base58-encoded Solana public key.                                                                                                                                                 |
  | `in_reserveDestinationDepositCollateral`  | `STRING`    | Reserve account receiving deposited collateral tokens after the liquidity deposit and collateralization. Base58-encoded Solana account address managed by the Kamino lending protocol.                                                  |
  | `in_reserveFarmState`                     | `STRING`    | Account address of the reserve's farm state tracking farming rewards and user participation. Base58-encoded Solana public key.                                                                                                          |
  | `in_reserveLiquidityMint`                 | `STRING`    | Mint address of the liquidity token for the reserve. Base58-encoded Solana public key.                                                                                                                                                  |
  | `in_reserveLiquiditySupply`               | `STRING`    | Account address of the reserve's liquidity supply token account holding deposited tokens. Base58-encoded Solana public key.                                                                                                             |
  | `in_userSourceLiquidity`                  | `STRING`    | Account address of the user's source token account providing liquidity for the operation. Base58-encoded Solana public key.                                                                                                             |
  | `in_liquidityAmount`                      | `STRING`    | Amount of liquidity added to or removed from a concentrated liquidity position. Numeric string representation of liquidity units in the position's tick range.                                                                          |
</Accordion>

<Accordion title="Sample Data">
  | in\_owner                                    | block\_slot | in\_reserve                                  | in\_remaining | in\_obligation                               | surrogate\_key                                                                                        | transaction\_id                                                                          | block\_timestamp         | in\_farmsProgram                             | in\_lendingMarket                            | instruction\_type                                | executing\_account                          | instruction\_index | transaction\_index | in\_liquidityAmount | transaction\_signer                          | in\_reserveFarmState                         | in\_userSourceLiquidity                      | in\_reserveLiquidityMint                     | outer\_executing\_account | outer\_instruction\_index | in\_liquidityTokenProgram                   | in\_reserveCollateralMint                    | in\_collateralTokenProgram                  | in\_lendingMarketAuthority                   | in\_reserveLiquiditySupply                   | in\_obligationFarmUserState                  | in\_instructionSysvarAccount                | in\_reserveDestinationDepositCollateral      | in\_placeholderUserDestinationCollateral    |
  | -------------------------------------------- | ----------- | -------------------------------------------- | ------------- | -------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | -------------------------------------------- | ------------------------------------------------ | ------------------------------------------- | ------------------ | ------------------ | ------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------------------------- |
  | 2VenqvWgSeENRe3aGJ5HjpMzqBM79vDvst5eh9b51QjA | 328465859   | H3t6qZ1JkguCNTi9uzVKqQ7dvt2cum4XiXWom6Gn5e5S |               | HF3r7yhvr63LS3oTURLLEj8WZa7uzKGbGmXnkxEVa2DG | 328465859-2vNAWqf2HSwSJVVjwi7Fbs5MNk3RvSQiZq3vZfe4xzaHyj6gYEV2zpF91kQVFQZ47kkYUiPuoyK58Cnq8gqR9ccr-8  | 2vNAWqf2HSwSJVVjwi7Fbs5MNk3RvSQiZq3vZfe4xzaHyj6gYEV2zpF91kQVFQZ47kkYUiPuoyK58Cnq8gqR9ccr | 2025-03-22T16:05:24.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | DepositReserveLiquidityAndObligationCollateralV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 8                  | 177                | 25005011303         | 2VenqvWgSeENRe3aGJ5HjpMzqBM79vDvst5eh9b51QjA | 5pCqu9RFdL6QoN7KK4gKnAU6CjQFJot8nU7wpFK8Zwou | 7ggknF58y2PR8zQ9tZpfoVVYBJo5oJbK4yRoZqWXQMkj | Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB |                           |                           | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | B8zf4kojJbwgCRKA7rLaLhRCZBGhgAJp8wPBVZZHMhSv | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | 2Eff8Udy2G2gzNcf2619AnTx3xM4renEv4QrHKjS1o9N | 9Rf1hBrbn5NzBHNanHgbs6eLy9wvjfEMjKWescbg7uCv | Sysvar1nstructions1111111111111111111111111 | CTCpzgNbPwWQSYamu4ZomgFuHf8DUGwq8hSYWVLurSJD | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD |
  | 2pR4ejyJR7c6FfoYUnXxt7NW5BeE42gCRraS6xom38aq | 328321381   | H3t6qZ1JkguCNTi9uzVKqQ7dvt2cum4XiXWom6Gn5e5S |               | DEcm1q5BdEDE12W6ZY4saeXUCNGWa9wQgHTWY4Ud37GM | 328321381-2eP7VCrQv2DQtuJ1pqXx4dyytBvWrbRJh4MjVn7kMru9xNkAHH1k1FMBJKdTM4VYvYFjcWfeZmr1arT4qaisrSkV-7  | 2eP7VCrQv2DQtuJ1pqXx4dyytBvWrbRJh4MjVn7kMru9xNkAHH1k1FMBJKdTM4VYvYFjcWfeZmr1arT4qaisrSkV | 2025-03-22T00:03:55.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | DepositReserveLiquidityAndObligationCollateralV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 7                  | 18                 | 7745292168          | 2pR4ejyJR7c6FfoYUnXxt7NW5BeE42gCRraS6xom38aq | 5pCqu9RFdL6QoN7KK4gKnAU6CjQFJot8nU7wpFK8Zwou | 37eg3h8SFiqKwPTgGRaeteLYsgTMmmqTaJYuaSeuxf7U | Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB |                           |                           | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | B8zf4kojJbwgCRKA7rLaLhRCZBGhgAJp8wPBVZZHMhSv | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | 2Eff8Udy2G2gzNcf2619AnTx3xM4renEv4QrHKjS1o9N | 2F59GcbJcGBLkece5T8EHMTUpZTsVU4kvMqfbG61qkE8 | Sysvar1nstructions1111111111111111111111111 | CTCpzgNbPwWQSYamu4ZomgFuHf8DUGwq8hSYWVLurSJD | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD |
  | Aw4hRK8SgdkNqvvqBcKjyirAEQwVjMt7bjJdTNDEZdpJ | 328502606   | H3t6qZ1JkguCNTi9uzVKqQ7dvt2cum4XiXWom6Gn5e5S |               | ENcceSoAv5nfNsgbqLHFX2cHodPXUozRQrTYpoXTp2nW | 328502606-5RxRkXMAALVwF6VmTrrHjLALgJnMBs5DwkActQxVH4WJsFcBvfm5nQo8rpdhNRmLiQctsrrKrdXZoiutBEeLZwNe-10 | 5RxRkXMAALVwF6VmTrrHjLALgJnMBs5DwkActQxVH4WJsFcBvfm5nQo8rpdhNRmLiQctsrrKrdXZoiutBEeLZwNe | 2025-03-22T20:10:16.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | DepositReserveLiquidityAndObligationCollateralV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 10                 | 163                | 897874294           | Aw4hRK8SgdkNqvvqBcKjyirAEQwVjMt7bjJdTNDEZdpJ | 5pCqu9RFdL6QoN7KK4gKnAU6CjQFJot8nU7wpFK8Zwou | GXDFYtUvLqMjTCdLogyjrxndsgbycxpCHcWT4AoLwfom | Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB |                           |                           | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | B8zf4kojJbwgCRKA7rLaLhRCZBGhgAJp8wPBVZZHMhSv | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | 2Eff8Udy2G2gzNcf2619AnTx3xM4renEv4QrHKjS1o9N | 5tx5cmjteCQWVkG1JxBMVf6HScZnKDxEaqhaGV5eZhob | Sysvar1nstructions1111111111111111111111111 | CTCpzgNbPwWQSYamu4ZomgFuHf8DUGwq8hSYWVLurSJD | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_DepositReserveLiquidityAndObligationCollateralV2_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_FlashBorrowReserveLiquidity\_instruction

Flash loan borrow instructions from Kamino Lend protocol on Solana, capturing uncollateralized borrowing events with liquidity amounts, reserve identifiers, and fee receiver accounts for analyzing flash loan usage patterns and arbitrage activity.

<Accordion title="Columns">
  | Column                           | Type        | Description                                                                                                                                                                                                                     |
  | -------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                     |
  | `block_slot`                     | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                   |
  | `transaction_id`                 | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                 |
  | `transaction_index`              | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                       |
  | `transaction_signer`             | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                           |
  | `instruction_index`              | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                            |
  | `outer_instruction_index`        | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.             |
  | `executing_account`              | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                |
  | `outer_executing_account`        | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                        |
  | `surrogate_key`                  | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                 |
  | `instruction_type`               | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                      |
  | `in_lendingMarket`               | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                   |
  | `in_lendingMarketAuthority`      | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                        |
  | `in_referrerAccount`             | `STRING`    | Account address that receives referral fees for this flash borrow transaction. Null when no referrer is involved in the transaction.                                                                                            |
  | `in_referrerTokenState`          | `STRING`    | Account address of the referrer token state tracking referral rewards and participation. Base58-encoded Solana public key.                                                                                                      |
  | `in_remaining`                   | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                           |
  | `in_reserve`                     | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                             |
  | `in_reserveLiquidityFeeReceiver` | `STRING`    | Account receiving fees collected from this flash loan operation. Typically set to the Kamino program address for protocol-owned fees.                                                                                           |
  | `in_reserveLiquidityMint`        | `STRING`    | Mint address of the liquidity token for the reserve. Base58-encoded Solana public key.                                                                                                                                          |
  | `in_reserveSourceLiquidity`      | `STRING`    | Reserve's source liquidity token account from which the flash loan amount is borrowed. This is the pool's primary liquidity vault for the borrowed asset.                                                                       |
  | `in_sysvarInfo`                  | `STRING`    | Account address of the Solana Sysvar Instructions program used to access instruction data within the transaction. Always set to the canonical Sysvar1nstructions1111111111111111111111111 address.                              |
  | `in_tokenProgram`                | `STRING`    | Address of the Solana Token Program invoked for token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_userDestinationLiquidity`    | `STRING`    | Account address of the token account receiving borrowed or redeemed liquidity from the lending protocol operation. Base58-encoded Solana public key.                                                                            |
  | `in_userTransferAuthority`       | `STRING`    | Account authorized to transfer liquidity from the user's destination account during flash loan repayment. Matches transaction\_signer in sample data, indicating the user initiating the flash borrow.                          |
  | `in_liquidityAmount`             | `STRING`    | Amount of liquidity added to or removed from a concentrated liquidity position. Numeric string representation of liquidity units in the position's tick range.                                                                  |
</Accordion>

<Accordion title="Sample Data">
  | block\_slot | in\_reserve                                  | in\_remaining | in\_sysvarInfo                              | surrogate\_key                                                                                       | transaction\_id                                                                          | block\_timestamp         | in\_tokenProgram                            | in\_lendingMarket                            | instruction\_type           | executing\_account                          | instruction\_index | transaction\_index | in\_liquidityAmount | in\_referrerAccount | transaction\_signer                          | in\_referrerTokenState                      | in\_reserveLiquidityMint                     | outer\_executing\_account | outer\_instruction\_index | in\_userTransferAuthority                    | in\_lendingMarketAuthority                   | in\_reserveSourceLiquidity                   | in\_userDestinationLiquidity                 | in\_reserveLiquidityFeeReceiver             |
  | ----------- | -------------------------------------------- | ------------- | ------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | ------------------------------------------- | -------------------------------------------- | --------------------------- | ------------------------------------------- | ------------------ | ------------------ | ------------------- | ------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- |
  | 248533890   | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 |               | Sysvar1nstructions1111111111111111111111111 | 248533890-2v3Tz5FtRVUbnSfVMQa5ex8fWqN8StJrHbtLcmSqwoaZTQquN6LX7KVNdh946Anhg4ES4BKEFi3PazvWPaUATMBz-1 | 2v3Tz5FtRVUbnSfVMQa5ex8fWqN8StJrHbtLcmSqwoaZTQquN6LX7KVNdh946Anhg4ES4BKEFi3PazvWPaUATMBz | 2024-02-16T13:08:02.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | FlashBorrowReserveLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 1                  | 64                 | 20842545            |                     | 3gSUpw7uJfF4NEon3kTJKoiNsUZ2RgqbgVo3N9uLef6U | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | Bgq7trRgVMeq33yt235zM2onQ4bRDBsY5EWiTetF4qw6 |                           |                           | 3gSUpw7uJfF4NEon3kTJKoiNsUZ2RgqbgVo3N9uLef6U | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | 3TBpw4Aaz2KTDBEiKPmgspu4uLTpvjHj9CQAAi9tBUXZ | BbDUrk1bVtSixgQsPLBJFZEF7mwGstnD5joA1WzYvYFX | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD |
  | 248502383   | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 |               | Sysvar1nstructions1111111111111111111111111 | 248502383-njMpwh3isYveq2oJjLnv6DkAKoeUwAjHWjFLPUJNnavDuNvornzfctheLKdWVWz6CaUxmQSYBUYgcRFApSai2of-1  | njMpwh3isYveq2oJjLnv6DkAKoeUwAjHWjFLPUJNnavDuNvornzfctheLKdWVWz6CaUxmQSYBUYgcRFApSai2of  | 2024-02-16T09:26:12.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | FlashBorrowReserveLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 1                  | 165                | 5105542             |                     | L4fitNcLSCQr7Xz4D8zu4XnQHtjVZ3jippCqMm9YE1c  | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | Bgq7trRgVMeq33yt235zM2onQ4bRDBsY5EWiTetF4qw6 |                           |                           | L4fitNcLSCQr7Xz4D8zu4XnQHtjVZ3jippCqMm9YE1c  | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | 8GH8wrznjr5SMgcVaYsZ6DgWqQ3teVnUTGss59WQU4Lw | BbDUrk1bVtSixgQsPLBJFZEF7mwGstnD5joA1WzYvYFX | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD |
  | 248435272   | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 |               | Sysvar1nstructions1111111111111111111111111 | 248435272-4bMC1RnRbYorDxcAnDywAe157QdC56DjgVbCXZtFPTFasTHzwVNTeGXzoyLYFyvuQ442KWUVdf4ZRxsBUSZvYbBS-1 | 4bMC1RnRbYorDxcAnDywAe157QdC56DjgVbCXZtFPTFasTHzwVNTeGXzoyLYFyvuQ442KWUVdf4ZRxsBUSZvYbBS | 2024-02-16T01:38:17.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | FlashBorrowReserveLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 1                  | 130                | 2516481             |                     | FZVGr232z4MtENmfwVCcR9B4iaGe9sZAd4QCThkLkZre | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | Bgq7trRgVMeq33yt235zM2onQ4bRDBsY5EWiTetF4qw6 |                           |                           | FZVGr232z4MtENmfwVCcR9B4iaGe9sZAd4QCThkLkZre | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | CxMJ1Yt4RF4ChnPzyEXXr7X5fqagLA2yoDudNH5t32vV | BbDUrk1bVtSixgQsPLBJFZEF7mwGstnD5joA1WzYvYFX | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_FlashBorrowReserveLiquidity_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_FlashRepayReserveLiquidity\_instruction

Flash loan repayment instructions from Kamino Lend protocol on Solana, linking borrowed liquidity back to lending reserves. Used for analyzing flash loan usage patterns, amounts borrowed/repaid, and associated fee distributions.

<Accordion title="Columns">
  | Column                           | Type        | Description                                                                                                                                                                                                                     |
  | -------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                     |
  | `block_slot`                     | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                   |
  | `transaction_id`                 | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                 |
  | `transaction_index`              | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                       |
  | `transaction_signer`             | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                           |
  | `instruction_index`              | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                            |
  | `outer_instruction_index`        | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.             |
  | `executing_account`              | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                |
  | `outer_executing_account`        | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                        |
  | `surrogate_key`                  | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                 |
  | `instruction_type`               | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                      |
  | `in_lendingMarket`               | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                   |
  | `in_lendingMarketAuthority`      | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                        |
  | `in_referrerAccount`             | `STRING`    | Account address eligible to receive referral rewards or fees from this flash repay operation. Often set to the program address when no external referrer is involved.                                                           |
  | `in_referrerTokenState`          | `STRING`    | Account address of the referrer token state tracking referral rewards and participation. Base58-encoded Solana public key.                                                                                                      |
  | `in_remaining`                   | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                           |
  | `in_reserve`                     | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                             |
  | `in_reserveDestinationLiquidity` | `STRING`    | Account address of the token account receiving liquidity for the reserve. Base58-encoded Solana public key.                                                                                                                     |
  | `in_reserveLiquidityFeeReceiver` | `STRING`    | Token account that receives protocol fees collected from this flash loan repayment. Fixed address for each reserve's fee collection.                                                                                            |
  | `in_reserveLiquidityMint`        | `STRING`    | Mint address of the liquidity token for the reserve. Base58-encoded Solana public key.                                                                                                                                          |
  | `in_sysvarInfo`                  | `STRING`    | Solana sysvar account providing instruction introspection data for flash loan validation. Always set to the standard `Sysvar1nstructions1111111111111111111111111` address.                                                     |
  | `in_tokenProgram`                | `STRING`    | Address of the Solana Token Program invoked for token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_userSourceLiquidity`         | `STRING`    | Account address of the user's source token account providing liquidity for the operation. Base58-encoded Solana public key.                                                                                                     |
  | `in_userTransferAuthority`       | `STRING`    | Account authorized to transfer tokens from the user's source liquidity account to repay the flash loan. Typically matches the transaction signer initiating the repayment instruction.                                          |
  | `in_borrowInstructionIndex`      | `STRING`    | Index of the earlier flash borrow instruction within the same transaction that this repayment corresponds to. References the position of the paired borrow operation in the instruction sequence.                               |
  | `in_liquidityAmount`             | `STRING`    | Amount of liquidity added to or removed from a concentrated liquidity position. Numeric string representation of liquidity units in the position's tick range.                                                                  |
</Accordion>

<Accordion title="Sample Data">
  | block\_slot | in\_reserve                                 | in\_remaining | in\_sysvarInfo                              | surrogate\_key                                                                                        | transaction\_id                                                                          | block\_timestamp         | in\_tokenProgram                            | in\_lendingMarket                            | instruction\_type          | executing\_account                          | instruction\_index | transaction\_index | in\_liquidityAmount | in\_referrerAccount                         | transaction\_signer                          | in\_referrerTokenState                      | in\_userSourceLiquidity                      | in\_reserveLiquidityMint                    | outer\_executing\_account | outer\_instruction\_index | in\_userTransferAuthority                    | in\_borrowInstructionIndex | in\_lendingMarketAuthority                   | in\_reserveDestinationLiquidity              | in\_reserveLiquidityFeeReceiver              |
  | ----------- | ------------------------------------------- | ------------- | ------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | ------------------------------------------- | -------------------------------------------- | -------------------------- | ------------------------------------------- | ------------------ | ------------------ | ------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------------------------- | ------------------------- | ------------------------- | -------------------------------------------- | -------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
  | 288801830   | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q |               | Sysvar1nstructions1111111111111111111111111 | 288801830-VKKk4cRH7vEWBLPgQ3xXTvGTxHimm8SAs5YUu2Gjvk6RveGtynWGw8dcsqisyRJMvwB8DnhzWyZUDHyEGHHmBeV-17  | VKKk4cRH7vEWBLPgQ3xXTvGTxHimm8SAs5YUu2Gjvk6RveGtynWGw8dcsqisyRJMvwB8DnhzWyZUDHyEGHHmBeV  | 2024-09-09T17:31:06.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | FlashRepayReserveLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 17                 | 69                 | 29622536027         | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | GicAnwY9Y3QgFQ31eQgP58VdfnvpTDo7p8syGDCfzr1W | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 9yLoHiXYmTEkwGjHCLhKxkmKe3Pob4rwRDyLnjBDnMo6 | So11111111111111111111111111111111111111112 |                           |                           | GicAnwY9Y3QgFQ31eQgP58VdfnvpTDo7p8syGDCfzr1W | 5                          | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | 3JNof8s453bwG5UqiXBLJc77NRQXezYYEBbk3fqnoKph |
  | 288797067   | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q |               | Sysvar1nstructions1111111111111111111111111 | 288797067-5bVsMrf6ykhbddfaEVFZxg1EwXrtwWFya5NBMDbfQMm2QsuH5WhigT3nZcfUz1Y9N8LZKkQjaMwbBTp1fmX79sCh-15 | 5bVsMrf6ykhbddfaEVFZxg1EwXrtwWFya5NBMDbfQMm2QsuH5WhigT3nZcfUz1Y9N8LZKkQjaMwbBTp1fmX79sCh | 2024-09-09T16:54:42.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | FlashRepayReserveLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 15                 | 83                 | 33427304394         | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 5XutmEyhXB5XYsbT9S8xFKenN6SwY22nv5tRrvFiKy84 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 6hsuNiwR3wAvjYdMYcsgeLib7UmrUJpoaTwbKgPJgCyd | So11111111111111111111111111111111111111112 |                           |                           | 5XutmEyhXB5XYsbT9S8xFKenN6SwY22nv5tRrvFiKy84 | 5                          | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | 3JNof8s453bwG5UqiXBLJc77NRQXezYYEBbk3fqnoKph |
  | 288830650   | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q |               | Sysvar1nstructions1111111111111111111111111 | 288830650-3m22W4TLJS67nPpD7QzpHV6Hz3BoiyyF4a87iQxf1BV2nKgKqSpM7eGTKXSMg927NF9NCj3Ji7wNMmyptSDndyRF-15 | 3m22W4TLJS67nPpD7QzpHV6Hz3BoiyyF4a87iQxf1BV2nKgKqSpM7eGTKXSMg927NF9NCj3Ji7wNMmyptSDndyRF | 2024-09-09T21:13:33.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | FlashRepayReserveLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 15                 | 4                  | 41574469667         | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 6tQBW4RRu52HhePa6QDUXDi9pF7K6uLwAeMWPvUthwC7 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | HCL3JRxSxKne4rNmE5Bk76ATbiRdJ2h8dJneJUUY7gSb | So11111111111111111111111111111111111111112 |                           |                           | 6tQBW4RRu52HhePa6QDUXDi9pF7K6uLwAeMWPvUthwC7 | 3                          | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | 3JNof8s453bwG5UqiXBLJc77NRQXezYYEBbk3fqnoKph |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_FlashRepayReserveLiquidity_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_InitFarmsForReserve\_instruction

InitFarmsForReserve instruction calls from Kamino Lend protocol on Solana that initialize yield farming rewards for lending market reserves. Links reserves to farm states and vault authorities for distributing farming incentives to lenders and borrowers.

<Accordion title="Columns">
  | Column                      | Type        | Description                                                                                                                                                                                                         |
  | --------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`           | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`                | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`            | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`         | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`        | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`         | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index`   | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`         | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account`   | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`             | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`          | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_farmState`              | `STRING`    | Account address of the farm state being initialized for this Kamino lending reserve. Stores configuration and rewards data for the liquidity mining program associated with the reserve.                            |
  | `in_farmsGlobalConfig`      | `STRING`    | Account address of the global farms configuration in the Kamino Farms program. References the farms-wide settings that govern reward distribution parameters across all reserves.                                   |
  | `in_farmsProgram`           | `STRING`    | Address of the Kamino Farms Program contract managing reward and incentive distribution. Base58-encoded Solana public key.                                                                                          |
  | `in_farmsVaultAuthority`    | `STRING`    | Authority address for the farms vault account that holds staking rewards. Base58-encoded Solana public key that controls withdrawals from the farm's token vault.                                                   |
  | `in_lendingMarket`          | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                       |
  | `in_lendingMarketAuthority` | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                            |
  | `in_lendingMarketOwner`     | `STRING`    | Account address that owns and has administrative control over the lending market. Base58-encoded Solana public key.                                                                                                 |
  | `in_remaining`              | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
  | `in_rent`                   | `STRING`    | Address of the Solana Rent Sysvar account. Base58-encoded public key, constant value SysvarRent111111111111111111111111111111111.                                                                                   |
  | `in_reserve`                | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                 |
  | `in_systemProgram`          | `STRING`    | Address of the Solana System Program. Base58-encoded public key, constant value 11111111111111111111111111111111.                                                                                                   |
  | `in_mode`                   | `STRING`    | Operational mode identifier for the transaction or instruction. Integer or string value specifying the configuration, action type, or execution variant being performed.                                            |
</Accordion>

<Accordion title="Sample Data">
  | in\_mode | in\_rent                                    | block\_slot | in\_reserve                                  | in\_farmState                                | in\_remaining | surrogate\_key                                                                                        | transaction\_id                                                                         | block\_timestamp         | in\_farmsProgram                             | in\_lendingMarket                            | in\_systemProgram                | instruction\_type   | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | in\_farmsGlobalConfig                        | in\_lendingMarketOwner                       | in\_farmsVaultAuthority                      | outer\_executing\_account                   | outer\_instruction\_index | in\_lendingMarketAuthority                   |
  | -------- | ------------------------------------------- | ----------- | -------------------------------------------- | -------------------------------------------- | ------------- | ----------------------------------------------------------------------------------------------------- | --------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | -------------------------------------------- | -------------------------------- | ------------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | ------------------------- | -------------------------------------------- |
  | 0        | SysvarRent111111111111111111111111111111111 | 335345200   | StGKGcLQoTsWzQ1tFY2bWqrdiuBhqdFE4niiAutQxQB  | CUc79cJBymH7CMd9BC9yGu2zfJq6GKtj8z9jZAdEHojt |               | 335345200-dreZNg85X4z6aHDQK7PHSZZYLGSXXEFR1C2sMwnLtNbLxLxuC4FqLYHpWLRNAiFH8YJYuQwqfymbUMZPp6cnEvM-2-0 | dreZNg85X4z6aHDQK7PHSZZYLGSXXEFR1C2sMwnLtNbLxLxuC4FqLYHpWLRNAiFH8YJYuQwqfymbUMZPp6cnEvM | 2025-04-23T09:44:36.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | 11111111111111111111111111111111 | InitFarmsForReserve | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 200                | 2RJJ1ZZpeQLm6HEQ1HtcrGJUzQa8hKQgjgDf7ANz9Rd5 | 6UodrBjL2ZreDy7QdR4YV1oxqMBjVYSEyrFpctqqwGwL | A9rQoX1sictAQkyXxaZA8nz674xutHwoqpK2mwLyexCZ | 6eU1zTbxuaKzJp9L4h1Roif9SjxyMt7Zt6qD6CLj3vqW | SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu | 2                         | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo |
  | 1        | SysvarRent111111111111111111111111111111111 | 341736356   | 5bgPMvzZv29jkFEuMwxQRJQf64gKcPfLEEUHhyrP8tce | DA9LHAbm7VmPLdFtHrgokctCzf5jXF9NaNRLSGn9LcLQ |               | 341736356-buVapDQLN5A4CiBfasqcry3V3rNKEcSazHwLeyeZo9VkmXbUs7BqvDjysuLe2wiTgeSBjmjkhdA8XHLRBDhpbVB-2-0 | buVapDQLN5A4CiBfasqcry3V3rNKEcSazHwLeyeZo9VkmXbUs7BqvDjysuLe2wiTgeSBjmjkhdA8XHLRBDhpbVB | 2025-05-22T15:34:24.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | CTthJu49dgPkCgu9TKQProuaQnkHsRPQV33sSJ96vxpG | 11111111111111111111111111111111 | InitFarmsForReserve | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 39                 | BL6x64KVqQVR9FH7wapd47DB7u39EikBFr7C2a9G7SJ6 | 6UodrBjL2ZreDy7QdR4YV1oxqMBjVYSEyrFpctqqwGwL | A11EznxnJM3JrjUvAq16wqoVyPRNz522mdQm6mSmzMeR | 4JB939y2QkVWygWNPb8fbJDXoC4RxRX3LYJmjkBxw9zp | SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf | 2                         | ELWj8fZWazaiFCJFRMtCaZEdZU3jFcS4ho5QrhBx4Ko3 |
  | 0        | SysvarRent111111111111111111111111111111111 | 341736356   | 5bgPMvzZv29jkFEuMwxQRJQf64gKcPfLEEUHhyrP8tce | 2aEQ5vxCQzuJd7DQtDtvEUnBpAdWyTNmXswUvNyrf2du |               | 341736356-buVapDQLN5A4CiBfasqcry3V3rNKEcSazHwLeyeZo9VkmXbUs7BqvDjysuLe2wiTgeSBjmjkhdA8XHLRBDhpbVB-2-3 | buVapDQLN5A4CiBfasqcry3V3rNKEcSazHwLeyeZo9VkmXbUs7BqvDjysuLe2wiTgeSBjmjkhdA8XHLRBDhpbVB | 2025-05-22T15:34:24.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | CTthJu49dgPkCgu9TKQProuaQnkHsRPQV33sSJ96vxpG | 11111111111111111111111111111111 | InitFarmsForReserve | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 3                  | 39                 | BL6x64KVqQVR9FH7wapd47DB7u39EikBFr7C2a9G7SJ6 | 6UodrBjL2ZreDy7QdR4YV1oxqMBjVYSEyrFpctqqwGwL | A11EznxnJM3JrjUvAq16wqoVyPRNz522mdQm6mSmzMeR | GA8QS72LLP9Uyt7a9tUGkishNiuwFRZm3WyERKG3JJNt | SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf | 2                         | ELWj8fZWazaiFCJFRMtCaZEdZU3jFcS4ho5QrhBx4Ko3 |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_InitFarmsForReserve_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_InitGlobalConfig\_instruction

Initialization instructions for Kamino Lend protocol's global configuration accounts on Solana. Captures protocol setup events with payer addresses, program data references, and system account interactions for tracking lending market deployments.

<Accordion title="Columns">
  | Column                    | Type        | Description                                                                                                                                                                                                           |
  | ------------------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                           |
  | `block_slot`              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                         |
  | `transaction_id`          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                       |
  | `transaction_index`       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                             |
  | `transaction_signer`      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                 |
  | `instruction_index`       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                  |
  | `outer_instruction_index` | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.   |
  | `executing_account`       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                      |
  | `outer_executing_account` | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                              |
  | `surrogate_key`           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                       |
  | `instruction_type`        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                            |
  | `in_globalConfig`         | `STRING`    | Account address of the Kamino Lend global configuration. Base58-encoded Solana public key.                                                                                                                            |
  | `in_payer`                | `STRING`    | Address of the account that provided the funds for the repayment or payment transaction. Hex-encoded, 0x-prefixed, 42-character string.                                                                               |
  | `in_programData`          | `STRING`    | Program data account address containing the Kamino Lend program's executable code and upgrade authority. Base58-encoded Solana address that stores metadata for the BPF (Berkeley Packet Filter) upgradeable program. |
  | `in_remaining`            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                 |
  | `in_rent`                 | `STRING`    | Address of the Solana Rent Sysvar account. Base58-encoded public key, constant value SysvarRent111111111111111111111111111111111.                                                                                     |
  | `in_systemProgram`        | `STRING`    | Address of the Solana System Program. Base58-encoded public key, constant value 11111111111111111111111111111111.                                                                                                     |
</Accordion>

<Accordion title="Sample Data">
  | in\_rent                                    | in\_payer                                    | block\_slot | in\_remaining | surrogate\_key                                                                                       | in\_programData                              | transaction\_id                                                                          | block\_timestamp         | in\_globalConfig                             | in\_systemProgram                | instruction\_type | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | outer\_executing\_account | outer\_instruction\_index |
  | ------------------------------------------- | -------------------------------------------- | ----------- | ------------- | ---------------------------------------------------------------------------------------------------- | -------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | -------------------------------- | ----------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | ------------------------- | ------------------------- |
  | SysvarRent111111111111111111111111111111111 | 3RVJPtdkUXAm4nKmzLyP6cydpPoi5AQ3HvFLfuVdimLz | 344565806   |               | 344565806-5BVvmFnpxid28eLq8qTtJfmbBCrtknbjAfpevu2Z91MYXtVpsLYNqEvBQhyaxWnFeVjqZYsiYkhDTLZUewNDgkqa-2 | 9uSbGW1y9H5Av6H5TKxQ1wnFApSq2t3oEpfF2YfjDQGA | 5BVvmFnpxid28eLq8qTtJfmbBCrtknbjAfpevu2Z91MYXtVpsLYNqEvBQhyaxWnFeVjqZYsiYkhDTLZUewNDgkqa | 2025-06-04T13:01:51.000Z | BEe6HXZf6cByeb8iCxukjB8k74kJN3cVbBAGi49Hfi6W | 11111111111111111111111111111111 | InitGlobalConfig  | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 34                 | 3RVJPtdkUXAm4nKmzLyP6cydpPoi5AQ3HvFLfuVdimLz |                           |                           |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_InitGlobalConfig_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_InitLendingMarket\_instruction

Lending market initialization instructions from Kamino v1 protocol on Solana, recording new market creation events with market owner, authority, and configuration parameters. Used for tracking Kamino lending pool deployments and administrative actions.

<Accordion title="Columns">
  | Column                      | Type        | Description                                                                                                                                                                                                         |
  | --------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`           | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`                | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`            | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`         | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`        | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`         | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index`   | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`         | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account`   | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`             | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`          | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_lendingMarket`          | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                       |
  | `in_lendingMarketAuthority` | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                            |
  | `in_lendingMarketOwner`     | `STRING`    | Account address that owns and has administrative control over the lending market. Base58-encoded Solana public key.                                                                                                 |
  | `in_remaining`              | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
  | `in_rent`                   | `STRING`    | Address of the Solana Rent Sysvar account. Base58-encoded public key, constant value SysvarRent111111111111111111111111111111111.                                                                                   |
  | `in_systemProgram`          | `STRING`    | Address of the Solana System Program. Base58-encoded public key, constant value 11111111111111111111111111111111.                                                                                                   |
  | `in_quoteCurrency`          | `STRING`    | Account address representing the quote currency for the lending market, typically null during initialization. Set later to define the pricing denomination for the market's assets.                                 |
</Accordion>

<Accordion title="Sample Data">
  | in\_rent                                    | block\_slot | in\_remaining | surrogate\_key                                                                                       | transaction\_id                                                                          | block\_timestamp         | in\_lendingMarket                            | in\_quoteCurrency | in\_systemProgram                | instruction\_type | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | in\_lendingMarketOwner                       | outer\_executing\_account | outer\_instruction\_index | in\_lendingMarketAuthority                   |
  | ------------------------------------------- | ----------- | ------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ----------------- | -------------------------------- | ----------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------- | -------------------------------------------- |
  | SysvarRent111111111111111111111111111111111 | 338437827   |               | 338437827-3rfXapAD1fEZtyiimzS3rLPzD4zfaPZBFQq76baMJHgHpd2prc6CQgU5Mz2idCogEtA9SgWTcsKWoKehomfmYFtn-3 | 3rfXapAD1fEZtyiimzS3rLPzD4zfaPZBFQq76baMJHgHpd2prc6CQgU5Mz2idCogEtA9SgWTcsKWoKehomfmYFtn | 2025-05-07T13:21:25.000Z | 5wq5UtQpTzf6z1HW38LFY3BbQ4SsC8YF7VaYA4TqyChn |                   | 11111111111111111111111111111111 | InitLendingMarket | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 3                  | 257                | FU76ac2Hm2mo4hoyckhAKDrbKTFwxyDPHnrrERfMXusE | FU76ac2Hm2mo4hoyckhAKDrbKTFwxyDPHnrrERfMXusE |                           |                           | 82vrRdLhJ9ebcGg8LayzfsdKBGxyiXvW5Urghhg3f6gy |
  | SysvarRent111111111111111111111111111111111 | 338437852   |               | 338437852-4L64hh3oxaiSHMU3kjq1XwpHKRHQpk2G6EGW8DbcemnUKAmTZcDa5SinjiUHkDuW2Rbk8ycc5vw1mP1JqjTM51sS-3 | 4L64hh3oxaiSHMU3kjq1XwpHKRHQpk2G6EGW8DbcemnUKAmTZcDa5SinjiUHkDuW2Rbk8ycc5vw1mP1JqjTM51sS | 2025-05-07T13:21:35.000Z | CLaP7aQkFWHJnfp6YRjCsX9h74b6neV2gpLeZf5HgiWH |                   | 11111111111111111111111111111111 | InitLendingMarket | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 3                  | 85                 | FU76ac2Hm2mo4hoyckhAKDrbKTFwxyDPHnrrERfMXusE | FU76ac2Hm2mo4hoyckhAKDrbKTFwxyDPHnrrERfMXusE |                           |                           | 8bpTQ97BcN6nxQEKguWuPNEDvK5BFTR7QeUp9Rzhx6q  |
  | SysvarRent111111111111111111111111111111111 | 327801553   |               | 327801553-4cdMCKiHTGz1n7fy6s3WitDWStR8bryamTRVZxkP2upebtVj2vB7vCoTAuL5JMwUG9VDr2R9CcXUb1fpysET93w4-3 | 4cdMCKiHTGz1n7fy6s3WitDWStR8bryamTRVZxkP2upebtVj2vB7vCoTAuL5JMwUG9VDr2R9CcXUb1fpysET93w4 | 2025-03-19T14:19:23.000Z | Ecj4UjD3PL6tziQs2gyP3izZDPEirR5cihv6SaRZzBv8 |                   | 11111111111111111111111111111111 | InitLendingMarket | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 3                  | 268                | H6uTZjuh4vXhMBkMz8cBKKiQuETqhmXebrrqR3CDk4Zw | H6uTZjuh4vXhMBkMz8cBKKiQuETqhmXebrrqR3CDk4Zw |                           |                           | 4jCxc2BSvwuS8whgdqgEPp2goJLTXNUia1wdYuQTwJ7s |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_InitLendingMarket_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_InitObligation\_instruction

Obligation account initialization instructions from Kamino Lend lending protocol on Solana. Tracks when users create new lending obligation accounts that will track their borrowed positions and collateral across the protocol.

<Accordion title="Columns">
  | Column                    | Type        | Description                                                                                                                                                                                                         |
  | ------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index` | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account` | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_feePayer`             | `STRING`    | Account paying transaction fees for this InitObligation instruction on Solana. Base58-encoded public key address that covers network costs for creating the obligation account.                                     |
  | `in_lendingMarket`        | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                       |
  | `in_obligation`           | `STRING`    | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                |
  | `in_obligationOwner`      | `STRING`    | Solana public key of the wallet that owns the newly initialized lending obligation account. This address has permission to manage deposits, borrows, and collateral for this obligation.                            |
  | `in_ownerUserMetadata`    | `STRING`    | Account address storing user metadata associated with the obligation owner in the Kamino lending protocol. This field links the obligation to additional user-specific data tracked by the platform.                |
  | `in_remaining`            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
  | `in_rent`                 | `STRING`    | Address of the Solana Rent Sysvar account. Base58-encoded public key, constant value SysvarRent111111111111111111111111111111111.                                                                                   |
  | `in_seed1Account`         | `STRING`    | Program-derived address seed account used in obligation initialization. Typically set to the system program address (all 1s) for standard Kamino lending obligations.                                               |
  | `in_seed2Account`         | `STRING`    | Solana account address used as second seed parameter for program-derived address generation. Typically set to system program default (all 1s) as shown in sample data.                                              |
  | `in_systemProgram`        | `STRING`    | Address of the Solana System Program. Base58-encoded public key, constant value 11111111111111111111111111111111.                                                                                                   |
  | `in_id`                   | `STRING`    | Unique identifier for the position, record, or entity within the protocol. Numeric string representation.                                                                                                           |
  | `in_tag`                  | `STRING`    | Identifier tag for this obligation initialization instruction. Typically null in standard Kamino lending protocol operations.                                                                                       |
</Accordion>

<Accordion title="Sample Data">
  | in\_id | in\_tag | in\_rent                                    | block\_slot | in\_feePayer                                 | in\_remaining | in\_obligation                               | surrogate\_key                                                                                         | transaction\_id                                                                          | block\_timestamp         | in\_seed1Account                 | in\_seed2Account                 | in\_lendingMarket                            | in\_systemProgram                | instruction\_type | executing\_account                          | instruction\_index | transaction\_index | in\_obligationOwner                          | transaction\_signer                          | in\_ownerUserMetadata                        | outer\_executing\_account                    | outer\_instruction\_index |
  | ------ | ------- | ------------------------------------------- | ----------- | -------------------------------------------- | ------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------- | -------------------------------- | -------------------------------------------- | -------------------------------- | ----------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------- |
  |        |         | SysvarRent111111111111111111111111111111111 | 306668306   | 2Kip2vNnyHQZarFQKSBt12nEdRco3YfpzkeBgBfPd6VL |               | 2s6Bay8ZvXgsXjbGfs1ey24ofvG1Ki5s7wuKK3XzJuQS | 306668306-3umURuaNYVtU2MqRnCorjm43JJ1JnzWsPBs3cyeaNi3AKZbDzCmNRAAUffTfCdsPdbheHTr4aqDA8WjY74Y775Jn-3-1 | 3umURuaNYVtU2MqRnCorjm43JJ1JnzWsPBs3cyeaNi3AKZbDzCmNRAAUffTfCdsPdbheHTr4aqDA8WjY74Y775Jn | 2024-12-10T20:45:21.000Z | 11111111111111111111111111111111 | 11111111111111111111111111111111 | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | 11111111111111111111111111111111 | InitObligation    | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 1                  | 98                 | Ecu9B8ruJbRTdsuGfTVtyaewxijfVHAzXBuVi34ZgDJR | 8PWR75ppAGonv9dXStjficjXmdsuDKmDoVNcy4oYhAMs | Cj3jBiczVdSeLqwSUq2WueAVLSKLAEyJekoebritzVv4 | FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q | 3                         |
  |        |         | SysvarRent111111111111111111111111111111111 | 306665213   | HcJCoPS2RYewdHVUm4Gcum4KNEcbcBaqMEA7FR2t27bX |               | AHLNdCqDck2y19efhAAcqRFe4WjSxmM8uJyHjK1LF2WQ | 306665213-3LqPiSwUzs8e3X2gh581WFnGGmvBReCBWrQ6i3siUQaA7g3hHmteKa6deyUT9s72F3X6VDgCk3gvWufFLb9HgZLW-3-1 | 3LqPiSwUzs8e3X2gh581WFnGGmvBReCBWrQ6i3siUQaA7g3hHmteKa6deyUT9s72F3X6VDgCk3gvWufFLb9HgZLW | 2024-12-10T20:23:43.000Z | 11111111111111111111111111111111 | 11111111111111111111111111111111 | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | 11111111111111111111111111111111 | InitObligation    | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 1                  | 293                | 9URDPun8kPinrJVeaCn98L1SdEZiwDLA9xHwY32PDTWZ | 8PWR75ppAGonv9dXStjficjXmdsuDKmDoVNcy4oYhAMs | EcD43BsuDRZCkFUFaVUkdTkHNpHQFGUUjMkbedJE93S9 | FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q | 3                         |
  |        |         | SysvarRent111111111111111111111111111111111 | 306660446   | GYBCDeC5L6jH9vYEzHHTSSH39YwGaCeqXdVnBMXMYvnw |               | 7AkqeimZUM9bwQ9ktXw7U72QSXqMCSNuiVPwut5RnLLq | 306660446-5duXXDG5RnNPjuWGWyoRGCU6oW7QZ4NrACGsPb8pB7FR6hiYALFgQ5Yhgtvzj6skY4hVkrutRdqTTu1yht1YJyNF-3-1 | 5duXXDG5RnNPjuWGWyoRGCU6oW7QZ4NrACGsPb8pB7FR6hiYALFgQ5Yhgtvzj6skY4hVkrutRdqTTu1yht1YJyNF | 2024-12-10T19:49:47.000Z | 11111111111111111111111111111111 | 11111111111111111111111111111111 | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | 11111111111111111111111111111111 | InitObligation    | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 1                  | 243                | 3sNQxyL9nQUApuk2fwTcSKBvvsvdti4L65wnsEYUVfby | 8PWR75ppAGonv9dXStjficjXmdsuDKmDoVNcy4oYhAMs | FVtebdAmksMvb46sscCxrXefHZdSCP7AsZpo8uprqceb | FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q | 3                         |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_InitObligation_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_InitObligationFarmsForReserve\_instruction

Instruction-level data for initializing farm reward tracking on user obligations (debt positions) for specific reserves in Kamino Lend on Solana. Used for analyzing when users opt into liquidity mining rewards and tracking farm program participation across lending markets.

<Accordion title="Columns">
  | Column                      | Type        | Description                                                                                                                                                                                                                                                 |
  | --------------------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`           | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                                                 |
  | `block_slot`                | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                                               |
  | `transaction_id`            | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                                             |
  | `transaction_index`         | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                                                   |
  | `transaction_signer`        | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                                                       |
  | `instruction_index`         | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                                                        |
  | `outer_instruction_index`   | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.                                         |
  | `executing_account`         | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                                            |
  | `outer_executing_account`   | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                                                    |
  | `surrogate_key`             | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                                             |
  | `instruction_type`          | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                                                  |
  | `in_farmsProgram`           | `STRING`    | Address of the Kamino Farms Program contract managing reward and incentive distribution. Base58-encoded Solana public key.                                                                                                                                  |
  | `in_lendingMarket`          | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                                               |
  | `in_lendingMarketAuthority` | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                                                    |
  | `in_obligation`             | `STRING`    | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                                                        |
  | `in_obligationFarm`         | `STRING`    | Account address of the newly initialized obligation farm that tracks yield farming rewards for a user's obligation position. This account is created during this instruction and links the user's lending obligation to the reserve's farm rewards program. |
  | `in_owner`                  | `STRING`    | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                                           |
  | `in_payer`                  | `STRING`    | Address of the account that provided the funds for the repayment or payment transaction. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                                     |
  | `in_rent`                   | `STRING`    | Address of the Solana Rent Sysvar account. Base58-encoded public key, constant value SysvarRent111111111111111111111111111111111.                                                                                                                           |
  | `in_reserve`                | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                                                         |
  | `in_reserveFarmState`       | `STRING`    | Account address of the reserve's farm state tracking farming rewards and user participation. Base58-encoded Solana public key.                                                                                                                              |
  | `in_systemProgram`          | `STRING`    | Address of the Solana System Program. Base58-encoded public key, constant value 11111111111111111111111111111111.                                                                                                                                           |
  | `in_mode`                   | `STRING`    | Operational mode identifier for the transaction or instruction. Integer or string value specifying the configuration, action type, or execution variant being performed.                                                                                    |
</Accordion>

<Accordion title="Sample Data">
  | in\_mode | in\_rent                                    | in\_owner                                    | in\_payer                                    | block\_slot | in\_reserve                                  | in\_obligation                               | surrogate\_key                                                                                       | transaction\_id                                                                          | block\_timestamp         | in\_farmsProgram                             | in\_lendingMarket                            | in\_systemProgram                | instruction\_type             | executing\_account                          | in\_obligationFarm                           | instruction\_index | transaction\_index | transaction\_signer                          | in\_reserveFarmState                         | outer\_executing\_account | outer\_instruction\_index | in\_lendingMarketAuthority                   |
  | -------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ----------- | -------------------------------------------- | -------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | -------------------------------------------- | -------------------------------- | ----------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------- | -------------------------------------------- |
  | 0        | SysvarRent111111111111111111111111111111111 | 3ytGZ98UbCwa4m5gDsP9ugdDrQHUQAbyxDMX75tkoKL7 | 3ytGZ98UbCwa4m5gDsP9ugdDrQHUQAbyxDMX75tkoKL7 | 295616660   | 9TD2TSv4pENb8VwfbVYg25jvym7HN6iuAR6pFNSrKjqQ | BDKpQz9VaG81cmV4KYE1JuL4MTUxg8m4fJRAwgwjqLKt | 295616660-5FeGUoS8XyV96YDvN9p4jc4Xuqz5BqJuHjqr1jwUj4sD2Kunwjdd4GgDndmE8qMRBomadUWCec8sRu26nNw9hrg7-3 | 5FeGUoS8XyV96YDvN9p4jc4Xuqz5BqJuHjqr1jwUj4sD2Kunwjdd4GgDndmE8qMRBomadUWCec8sRu26nNw9hrg7 | 2024-10-14T18:10:01.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | ByYiZxp8QrdN9qbdtaAiePN8AAr3qvTPppNJDpf5DVJ5 | 11111111111111111111111111111111 | InitObligationFarmsForReserve | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 35FrgNvJsF1caCuso794jqzPgxawpyvHaRctth3G3kbE | 3                  | 39                 | 3ytGZ98UbCwa4m5gDsP9ugdDrQHUQAbyxDMX75tkoKL7 | 23UsLhyeuZBCRJNVFkPrmMCfXuka8hQa8S6spXwTEHcc |                           |                           | 81BgcfZuZf9bESLvw3zDkh7cZmMtDwTPgkCvYu7zx26o |
  | 0        | SysvarRent111111111111111111111111111111111 | 6vps4nyEjz39ikoRJnZmQCekuboaBLAYM5ompomY5bwB | 6vps4nyEjz39ikoRJnZmQCekuboaBLAYM5ompomY5bwB | 295605182   | 9TD2TSv4pENb8VwfbVYg25jvym7HN6iuAR6pFNSrKjqQ | ADLLZyr88fwLX14H5AZCLDGEhNer6gpi3YD5A7K8e5R5 | 295605182-2nu3wNtBhiYVv8NMvw4tFsMg7kcHRx97JCAJw6qoqs8Aq2rVaSMyM44s3y6WZ1mAzuoUn1AQ78mvydjtFVGD5sKs-3 | 2nu3wNtBhiYVv8NMvw4tFsMg7kcHRx97JCAJw6qoqs8Aq2rVaSMyM44s3y6WZ1mAzuoUn1AQ78mvydjtFVGD5sKs | 2024-10-14T16:40:02.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | ByYiZxp8QrdN9qbdtaAiePN8AAr3qvTPppNJDpf5DVJ5 | 11111111111111111111111111111111 | InitObligationFarmsForReserve | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 8vs9KND5SZpPeP9WwSevGXQ4W36KyDWa9J94XP9nx9mW | 3                  | 3                  | 6vps4nyEjz39ikoRJnZmQCekuboaBLAYM5ompomY5bwB | 23UsLhyeuZBCRJNVFkPrmMCfXuka8hQa8S6spXwTEHcc |                           |                           | 81BgcfZuZf9bESLvw3zDkh7cZmMtDwTPgkCvYu7zx26o |
  | 0        | SysvarRent111111111111111111111111111111111 | Ez6sk52T9TuS6RGGhoArp2W6SwT628XtFLQBYMotdoHo | Ez6sk52T9TuS6RGGhoArp2W6SwT628XtFLQBYMotdoHo | 295618074   | 9TD2TSv4pENb8VwfbVYg25jvym7HN6iuAR6pFNSrKjqQ | 2ddhMWyrmS39B7e52MrkMUk3m5kCNwF4sqYq7D15sMCA | 295618074-fAY4PXLfvionx4whYMUiFZUt3LK59g94NUp5bDNTDY1CDvvLeLCSG7hWtGz8SuM7h6os4JvpdpAWpMLtijmKb41-3  | fAY4PXLfvionx4whYMUiFZUt3LK59g94NUp5bDNTDY1CDvvLeLCSG7hWtGz8SuM7h6os4JvpdpAWpMLtijmKb41  | 2024-10-14T18:21:18.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | ByYiZxp8QrdN9qbdtaAiePN8AAr3qvTPppNJDpf5DVJ5 | 11111111111111111111111111111111 | InitObligationFarmsForReserve | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 9yDdqGTaPc6tkJhEhiMbmoqN5WjUvNuvyJ74AWdVN1LH | 3                  | 258                | Ez6sk52T9TuS6RGGhoArp2W6SwT628XtFLQBYMotdoHo | 23UsLhyeuZBCRJNVFkPrmMCfXuka8hQa8S6spXwTEHcc |                           |                           | 81BgcfZuZf9bESLvw3zDkh7cZmMtDwTPgkCvYu7zx26o |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_InitObligationFarmsForReserve_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_InitReferrerStateAndShortUrl\_instruction

Referral program initialization instructions from Kamino Lending protocol on Solana, capturing referrer account setup with custom short URLs and metadata. Used for tracking referral link creation and analyzing protocol growth through partnership programs.

<Accordion title="Columns">
  | Column                    | Type        | Description                                                                                                                                                                                                         |
  | ------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index` | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account` | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_referrer`             | `STRING`    | Address that referred the user to the protocol or facilitated the transaction. Hex-encoded, 0x-prefixed, 42-character string.                                                                                       |
  | `in_referrerShortUrl`     | `STRING`    | Program-derived address (PDA) for the short URL state account in the Kamino lending referral system. This account stores the mapping between the human-readable short URL string and the referrer's state account.  |
  | `in_referrerState`        | `STRING`    | Program-derived address representing the on-chain state account storing referrer data for Kamino Lend. Base58-encoded Solana account identifier created during referrer registration.                               |
  | `in_referrerUserMetadata` | `STRING`    | Account address for storing referrer user metadata in Kamino Lend's referral program. Nullable field that may not be initialized for all referral registrations.                                                    |
  | `in_remaining`            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
  | `in_rent`                 | `STRING`    | Address of the Solana Rent Sysvar account. Base58-encoded public key, constant value SysvarRent111111111111111111111111111111111.                                                                                   |
  | `in_systemProgram`        | `STRING`    | Address of the Solana System Program. Base58-encoded public key, constant value 11111111111111111111111111111111.                                                                                                   |
  | `in_shortUrl`             | `STRING`    | Short URL identifier chosen by the referrer for their Kamino lending referral link. Alphanumeric string typically under 20 characters, used as a human-readable alias for the referrer state.                       |
</Accordion>

<Accordion title="Sample Data">
  | in\_rent                                    | block\_slot | in\_referrer                                 | in\_shortUrl    | in\_remaining | surrogate\_key                                                                                       | transaction\_id                                                                          | block\_timestamp         | in\_referrerState                            | in\_systemProgram                | instruction\_type            | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | in\_referrerShortUrl                         | in\_referrerUserMetadata                     | outer\_executing\_account | outer\_instruction\_index |
  | ------------------------------------------- | ----------- | -------------------------------------------- | --------------- | ------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | -------------------------------- | ---------------------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------- |
  | SysvarRent111111111111111111111111111111111 | 236591116   | 4dhVAuzLPTbJxcSp6ax3Ju7HanipZnnaCWYMFngRanGQ | taras\_lozovoy2 |               | 236591116-2jXhzbQ2EMDs4Xn6GGncmy9vrP8YQFdHHfMznMmWUC7q91vE81joaPjLtdnqQ8PD53DHQV8nD9EzpQzXD5b3C5BQ-2 | 2jXhzbQ2EMDs4Xn6GGncmy9vrP8YQFdHHfMznMmWUC7q91vE81joaPjLtdnqQ8PD53DHQV8nD9EzpQzXD5b3C5BQ | 2023-12-18T11:00:48.000Z | AUqiA5UkN1zWq5jnGganPdeQKMNuy5DNJoPVQzEaQGKR | 11111111111111111111111111111111 | InitReferrerStateAndShortUrl | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 19                 | 4dhVAuzLPTbJxcSp6ax3Ju7HanipZnnaCWYMFngRanGQ | 39YK893nWZuDfGyoM2GJopL7maNSEFVcYURdT4PuKVaD |                                              |                           |                           |
  | SysvarRent111111111111111111111111111111111 | 246638058   | CheL7diQ3WNTUHzb72dqFAF9Dvz8ofz3q9pKqsuShJRJ | workwallet      |               | 246638058-3eiK7xMsL3arvNLyXjm8JY3MFYtm54xN6QWAt9V5t6qkHgqmV4479WdP21HMxfVYpMcKawp2AZw61fRhLQa3wwqg-2 | 3eiK7xMsL3arvNLyXjm8JY3MFYtm54xN6QWAt9V5t6qkHgqmV4479WdP21HMxfVYpMcKawp2AZw61fRhLQa3wwqg | 2024-02-07T10:45:20.000Z | 8qePC39noeK2edckL34ucWoqzj4vgJuA6P66bnLpir6e | 11111111111111111111111111111111 | InitReferrerStateAndShortUrl | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 126                | CheL7diQ3WNTUHzb72dqFAF9Dvz8ofz3q9pKqsuShJRJ | FQdE6LD66ZfgKNK6iqnK4dfazuquGLvd39MMsmhYopCh | yPJkfMwnxCxYsyqSrHTfUhLQ1tnFCJVjJNAGmpSBZe3  |                           |                           |
  | SysvarRent111111111111111111111111111111111 | 248107510   | 8tz9KYmEjhNxqagvJcn3F3vdM3soDL3F8C6tqeXQcCPp | tarasLozovoy    |               | 248107510-2YE13pBJqAaB8MScrCXKRi8G5vSzn6s1KhaPBDfotsCyYSUd8CGaJrSgoVA9A9rrZ1K4uU51sDeATvJiGp3y4Gsf-3 | 2YE13pBJqAaB8MScrCXKRi8G5vSzn6s1KhaPBDfotsCyYSUd8CGaJrSgoVA9A9rrZ1K4uU51sDeATvJiGp3y4Gsf | 2024-02-14T11:35:17.000Z | 6YogJ5fSRfv8p69PQ8aCnijW3RJaw34XYSgTMaTyMaCj | 11111111111111111111111111111111 | InitReferrerStateAndShortUrl | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 3                  | 39                 | 8tz9KYmEjhNxqagvJcn3F3vdM3soDL3F8C6tqeXQcCPp | vGCEt4jAptjyP9SGpSbM3Apo17M7pwFz9pN82i9jrUj  | BHXqU7Gpm3v3iguyY7aEWoNfuxn9Y6wLJANAmdXLTXJT |                           |                           |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_InitReferrerStateAndShortUrl_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_InitReferrerTokenState\_instruction

Referrer account initialization instructions from Kamino Lending protocol (version 1) on Solana. Used to track referral program setup events and analyze referrer onboarding patterns across lending markets.

<Accordion title="Columns">
  | Column                    | Type        | Description                                                                                                                                                                                                         |
  | ------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index` | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account` | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_lendingMarket`        | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                       |
  | `in_payer`                | `STRING`    | Address of the account that provided the funds for the repayment or payment transaction. Hex-encoded, 0x-prefixed, 42-character string.                                                                             |
  | `in_referrer`             | `STRING`    | Address that referred the user to the protocol or facilitated the transaction. Hex-encoded, 0x-prefixed, 42-character string.                                                                                       |
  | `in_referrerTokenState`   | `STRING`    | Account address of the referrer token state tracking referral rewards and participation. Base58-encoded Solana public key.                                                                                          |
  | `in_remaining`            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
  | `in_rent`                 | `STRING`    | Address of the Solana Rent Sysvar account. Base58-encoded public key, constant value SysvarRent111111111111111111111111111111111.                                                                                   |
  | `in_reserve`              | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                 |
  | `in_systemProgram`        | `STRING`    | Address of the Solana System Program. Base58-encoded public key, constant value 11111111111111111111111111111111.                                                                                                   |
</Accordion>

<Accordion title="Sample Data">
  | in\_rent                                    | in\_payer                                    | block\_slot | in\_reserve                                  | in\_referrer                                 | in\_remaining | surrogate\_key                                                                                       | transaction\_id                                                                          | block\_timestamp         | in\_lendingMarket | in\_systemProgram                | instruction\_type      | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | in\_referrerTokenState                       | outer\_executing\_account | outer\_instruction\_index |
  | ------------------------------------------- | -------------------------------------------- | ----------- | -------------------------------------------- | -------------------------------------------- | ------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | ----------------- | -------------------------------- | ---------------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------- |
  | SysvarRent111111111111111111111111111111111 | 2P5tkJVpceLPdnejvc5DBGd4RxkmtouYfNkb9KKPsPxW | 279419796   | DxXdAyU3kCjnyggvHmY5nAwg5cRbbmdyX3npfDMjjMek | DdTmCCjv7zHRD1hJv3E8bpnSEQBzdKkzB1j9ApXX5QoP |               | 279419796-4tGm2PdqFjir1Gv2zQR2W96hmsJsTBLxoLbPLvFF9K7xk1vQw4hzW33p1pZkMCCv5eNybxBdfX1o3zqp5RRmeXQB-1 | 4tGm2PdqFjir1Gv2zQR2W96hmsJsTBLxoLbPLvFF9K7xk1vQw4hzW33p1pZkMCCv5eNybxBdfX1o3zqp5RRmeXQB | 2024-07-24T14:49:17.000Z |                   | 11111111111111111111111111111111 | InitReferrerTokenState | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 1                  | 8                  | 2P5tkJVpceLPdnejvc5DBGd4RxkmtouYfNkb9KKPsPxW | 6GifSCkU1AjAJbYWMRY8nX2qbYCiRdmtiZz74Taaq8z1 |                           |                           |
  | SysvarRent111111111111111111111111111111111 | 6Uj4wUCtHKieQ7upZivYnQZnzGdfg3xEbSV5YJmsiV3e | 255960710   | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 |               | 255960710-3374yACkcWw4U3uCiYkjhhFXMfiNxP5U8hAbymVQYN2fqYyCdrrvYVkMm79uE28ABaYNyRexViueXyWDMViwqkRJ-1 | 3374yACkcWw4U3uCiYkjhhFXMfiNxP5U8hAbymVQYN2fqYyCdrrvYVkMm79uE28ABaYNyRexViueXyWDMViwqkRJ | 2024-03-23T13:52:37.000Z |                   | 11111111111111111111111111111111 | InitReferrerTokenState | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 1                  | 42                 | 6Uj4wUCtHKieQ7upZivYnQZnzGdfg3xEbSV5YJmsiV3e | 4uwAYRXi3nFGKL4fadwjJZRKStbkStsATUUgYxtN9511 |                           |                           |
  | SysvarRent111111111111111111111111111111111 | 6Uj4wUCtHKieQ7upZivYnQZnzGdfg3xEbSV5YJmsiV3e | 256977793   | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q  |               | 256977793-5adJkWbUoaoqRTQAGvp5PZ85zhcxBE4tCNKiVXCNo323LJAi49sQFt4YtjdyLDSkzugxPcdsSwC9hpm2PcNKtSRS-4 | 5adJkWbUoaoqRTQAGvp5PZ85zhcxBE4tCNKiVXCNo323LJAi49sQFt4YtjdyLDSkzugxPcdsSwC9hpm2PcNKtSRS | 2024-03-28T14:49:12.000Z |                   | 11111111111111111111111111111111 | InitReferrerTokenState | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 4                  | 27                 | 6Uj4wUCtHKieQ7upZivYnQZnzGdfg3xEbSV5YJmsiV3e | FQ7ABzkzGEjsc33DjKYFrEPLhALBuwRbB1M2Zj1oCmhW |                           |                           |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_InitReferrerTokenState_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_InitReserve\_instruction

InitReserve instruction events from Kamino Lend protocol on Solana, capturing the creation of new lending reserves with their associated liquidity and collateral token accounts. Used to track reserve initialization for deposit and borrow market analysis.

<Accordion title="Columns">
  | Column                       | Type        | Description                                                                                                                                                                                                                             |
  | ---------------------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`            | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                             |
  | `block_slot`                 | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                           |
  | `transaction_id`             | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                         |
  | `transaction_index`          | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                               |
  | `transaction_signer`         | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                                   |
  | `instruction_index`          | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                                    |
  | `outer_instruction_index`    | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.                     |
  | `executing_account`          | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                        |
  | `outer_executing_account`    | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                                |
  | `surrogate_key`              | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                         |
  | `instruction_type`           | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                              |
  | `in_collateralTokenProgram`  | `STRING`    | Address of the Solana Token Program managing collateral token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_feeReceiver`             | `STRING`    | Account that receives protocol fees generated by this lending reserve. Typically controlled by the Kamino protocol or market owner.                                                                                                     |
  | `in_lendingMarket`           | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                           |
  | `in_lendingMarketAuthority`  | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                                |
  | `in_lendingMarketOwner`      | `STRING`    | Account address that owns and has administrative control over the lending market. Base58-encoded Solana public key.                                                                                                                     |
  | `in_liquidityTokenProgram`   | `STRING`    | Address of the Solana Token Program managing liquidity token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022.  |
  | `in_rent`                    | `STRING`    | Address of the Solana Rent Sysvar account. Base58-encoded public key, constant value SysvarRent111111111111111111111111111111111.                                                                                                       |
  | `in_reserve`                 | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                                     |
  | `in_reserveCollateralMint`   | `STRING`    | Mint address of the collateral token for the reserve. Base58-encoded Solana public key.                                                                                                                                                 |
  | `in_reserveCollateralSupply` | `STRING`    | Account holding the collateral tokens issued to lenders when they deposit into this reserve. Serves as the vault for minted kTokens representing depositor claims on the underlying liquidity.                                          |
  | `in_reserveLiquidityMint`    | `STRING`    | Mint address of the liquidity token for the reserve. Base58-encoded Solana public key.                                                                                                                                                  |
  | `in_reserveLiquiditySupply`  | `STRING`    | Account address of the reserve's liquidity supply token account holding deposited tokens. Base58-encoded Solana public key.                                                                                                             |
</Accordion>

<Accordion title="Sample Data">
  | in\_rent                                    | block\_slot | in\_reserve                                  | surrogate\_key                                                                                       | in\_feeReceiver                              | transaction\_id                                                                          | block\_timestamp         | in\_lendingMarket                            | instruction\_type | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                         | in\_lendingMarketOwner                      | in\_reserveLiquidityMint                     | outer\_executing\_account | outer\_instruction\_index | in\_liquidityTokenProgram                   | in\_reserveCollateralMint                    | in\_collateralTokenProgram                  | in\_lendingMarketAuthority                   | in\_reserveLiquiditySupply                   | in\_reserveCollateralSupply                  |
  | ------------------------------------------- | ----------- | -------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ----------------- | ------------------------------------------- | ------------------ | ------------------ | ------------------------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
  | SysvarRent111111111111111111111111111111111 | 338833501   | CEeGQ7SPaYd7Cdrrmom2pGjivtAyguzNkGPJUkZKZQXE | 338833501-4A1CFBvxPdcCLBoKXm5Te41MXXpzjt5UgF7Bfixzocywrd64KbcTu1x9p8csec2fay7jvWgZTn8ocdk5dJFBWGyD-2 | CpA3ggAk7RgAPgbY4aS9rUriRVzJeporzzT8E2nnPNe1 | 4A1CFBvxPdcCLBoKXm5Te41MXXpzjt5UgF7Bfixzocywrd64KbcTu1x9p8csec2fay7jvWgZTn8ocdk5dJFBWGyD | 2025-05-09T08:50:41.000Z | 7WQeTuLsFrZsgnHW7ddFdNfhfJAViqH4mvcFZPQ5zuQ9 | InitReserve       | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 92                 | sadmBTQm5HJsyzWHEjV4YwG9CiahZKVDVqAyS4Wx1zH | sadmBTQm5HJsyzWHEjV4YwG9CiahZKVDVqAyS4Wx1zH | DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 |                           |                           | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 3pLfuKYcbB4MZUxGiAWDyYF14ibxQZxzsJfeDKYvRVHi | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 3tBSFePeZ84E4apq3vNkmyD9NN48dxEG7XbdWtPZGB7U | Go7eeKAWTLMqKtBcrNDE868jSod6t4d6at3HJdhqmXNu | 2wES5jB81oidFjMtYPkUoD1PwZaFgVBojE7RNfkkLgRR |
  | SysvarRent111111111111111111111111111111111 | 338832795   | 5sJpVXsfTUbMD2X8uNMhAYCp83GjcQ7S5NVRn4Ji7qx6 | 338832795-4oRtoRNsYQ1wBLhNjwvK79SDWWxLNj35XY8hLAkxqx27ffYenHQkpJtDUHJMKYS2VCPxNFfD6RV3cDm1y5sgMU79-2 | 9g1h7sV63AK7jK7Ye7SZYxySx6FqZdEJQRmVoCJq7H2A | 4oRtoRNsYQ1wBLhNjwvK79SDWWxLNj35XY8hLAkxqx27ffYenHQkpJtDUHJMKYS2VCPxNFfD6RV3cDm1y5sgMU79 | 2025-05-09T08:46:02.000Z | 7WQeTuLsFrZsgnHW7ddFdNfhfJAViqH4mvcFZPQ5zuQ9 | InitReserve       | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 179                | sadmBTQm5HJsyzWHEjV4YwG9CiahZKVDVqAyS4Wx1zH | sadmBTQm5HJsyzWHEjV4YwG9CiahZKVDVqAyS4Wx1zH | Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB |                           |                           | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | w5H8FmFZC5KJeJDXmmHrcmQxLRvAnisRVMWLVFzdGq6  | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 3tBSFePeZ84E4apq3vNkmyD9NN48dxEG7XbdWtPZGB7U | 5Kh2urHnyYAYTKESPcNMpS1D9FPuFUzaqyRmhcU2w9ak | 9EEYqGnDphgURjt6wWWEYKM5QFjUVrkU9YuzfQ4GYVUW |
  | SysvarRent111111111111111111111111111111111 | 338832640   | 2187ciVuR8fScuGkQYJBtgTjgXFjdKNefafxUSvHjh2T | 338832640-2YjGuvAg6wxNxw5yL5CfK6ptuQgj2vJ5GmBXdVayhURHn4giroSX6rCkAvqH9jc2EqBigactbAb6g3R5DVTsduHL-2 | CdZfpCh9H2CV92R2AnVHC7gLaCJCTrTWXCqafbrtHLcD | 2YjGuvAg6wxNxw5yL5CfK6ptuQgj2vJ5GmBXdVayhURHn4giroSX6rCkAvqH9jc2EqBigactbAb6g3R5DVTsduHL | 2025-05-09T08:45:01.000Z | 7WQeTuLsFrZsgnHW7ddFdNfhfJAViqH4mvcFZPQ5zuQ9 | InitReserve       | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 332                | sadmBTQm5HJsyzWHEjV4YwG9CiahZKVDVqAyS4Wx1zH | sadmBTQm5HJsyzWHEjV4YwG9CiahZKVDVqAyS4Wx1zH | EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v |                           |                           | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | AoQ2sULd8zWfJPiASA2SLMn2fXRvrLSdiumFbKa7ds9f | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 3tBSFePeZ84E4apq3vNkmyD9NN48dxEG7XbdWtPZGB7U | 5KneR2CdoMoWr8qmnpShRQTkhHV8gPEKAkNZBci8PhKb | ATuAJYauAuot916x32mKMZk7s32UKSpJiG8NJ81RzEG9 |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_InitReserve_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_InitUserMetadata\_instruction

User metadata initialization instructions from Kamino Lend protocol on Solana. Captures account setup events for new lending platform participants, including owner addresses, system program references, and optional referrer tracking for analyzing user onboarding.

<Accordion title="Columns">
  | Column                    | Type        | Description                                                                                                                                                                                                         |
  | ------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index` | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account` | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_feePayer`             | `STRING`    | Account responsible for paying Solana transaction fees for this InitUserMetadata instruction. Base58-encoded Solana public key of the wallet covering network costs.                                                |
  | `in_owner`                | `STRING`    | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                   |
  | `in_referrerUserMetadata` | `STRING`    | Account address for the referrer's user metadata in the Kamino Lend protocol. Null in most transactions, indicating no referrer tracking for the user initialization.                                               |
  | `in_remaining`            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
  | `in_rent`                 | `STRING`    | Address of the Solana Rent Sysvar account. Base58-encoded public key, constant value SysvarRent111111111111111111111111111111111.                                                                                   |
  | `in_systemProgram`        | `STRING`    | Address of the Solana System Program. Base58-encoded public key, constant value 11111111111111111111111111111111.                                                                                                   |
  | `in_userMetadata`         | `STRING`    | Account address for the user metadata account being initialized in the Kamino Lend protocol. Typically null in samples, as this account is created during instruction execution.                                    |
  | `in_userLookupTable`      | `STRING`    | Account address for the user lookup table used in Kamino Lend protocol. Commonly defaults to the system program address (all 1s) when no lookup table is specified.                                                 |
</Accordion>

<Accordion title="Sample Data">
  | in\_rent                                    | in\_owner                                   | block\_slot | in\_feePayer                                 | in\_remaining | surrogate\_key                                                                                       | transaction\_id                                                                          | block\_timestamp         | in\_userMetadata | in\_systemProgram                | instruction\_type | executing\_account                          | instruction\_index | transaction\_index | in\_userLookupTable              | transaction\_signer                         | in\_referrerUserMetadata | outer\_executing\_account | outer\_instruction\_index |
  | ------------------------------------------- | ------------------------------------------- | ----------- | -------------------------------------------- | ------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | ---------------- | -------------------------------- | ----------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------- | ------------------------------------------- | ------------------------ | ------------------------- | ------------------------- |
  | SysvarRent111111111111111111111111111111111 | so1Speb7M5S38jp7sRDooqARg3RVL94VVwmJSBnb6py | 229300084   | Ci3dC8V4PNxHGbndnYuPB1bHSTFwQPgQra5d19DCr9CQ |               | 229300084-2dR8pSimmmrEp4zgVhF2GQQfC139owDndhJhTg4epXfYqCXXq3FW55hcwRNJRfoDoQxi8dkujr2F6fwp4ff6xPrq-0 | 2dR8pSimmmrEp4zgVhF2GQQfC139owDndhJhTg4epXfYqCXXq3FW55hcwRNJRfoDoQxi8dkujr2F6fwp4ff6xPrq | 2023-11-11T04:04:10.000Z |                  | 11111111111111111111111111111111 | InitUserMetadata  | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 2                  | 11111111111111111111111111111111 | so1Speb7M5S38jp7sRDooqARg3RVL94VVwmJSBnb6py |                          |                           |                           |
  | SysvarRent111111111111111111111111111111111 | SusdhHZDEbSQbQEmETfFMAJpPjGicyP47LRjEoDF7D8 | 229299071   | CdGSC3uXnwaNMDHBJvbzrcKU3vXDVbUEUxtyWdrViZi8 |               | 229299071-vMieDYgxLd8Fw3vMpHWoPauDveJv3jyFxi8S8ibmz9kB2anHKLixLjkL1Yx287oxjFjB9mu1zJvGnsUaR35ALTN-0  | vMieDYgxLd8Fw3vMpHWoPauDveJv3jyFxi8S8ibmz9kB2anHKLixLjkL1Yx287oxjFjB9mu1zJvGnsUaR35ALTN  | 2023-11-11T03:56:45.000Z |                  | 11111111111111111111111111111111 | InitUserMetadata  | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 12                 | 11111111111111111111111111111111 | SusdhHZDEbSQbQEmETfFMAJpPjGicyP47LRjEoDF7D8 |                          |                           |                           |
  | SysvarRent111111111111111111111111111111111 | usdgCY3LEXS1gxmb8ccCkf3neikcYC2g1EyHwKUWMVX | 229300495   | 9sCBEBRTTtfgpWgQ6zYbDgtZXuCs7K754jzqbTCzeeME |               | 229300495-4q4u87SvY98F1pwwc2pwsgyQgaJXYTdKAP5ZazFCpfPbrMKFQKXyybc3mBmioCHae8zkdujsVEMozxuERw4uNKjM-0 | 4q4u87SvY98F1pwwc2pwsgyQgaJXYTdKAP5ZazFCpfPbrMKFQKXyybc3mBmioCHae8zkdujsVEMozxuERw4uNKjM | 2023-11-11T04:07:07.000Z |                  | 11111111111111111111111111111111 | InitUserMetadata  | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 121                | 11111111111111111111111111111111 | usdgCY3LEXS1gxmb8ccCkf3neikcYC2g1EyHwKUWMVX |                          |                           |                           |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_InitUserMetadata_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_LiquidateObligationAndRedeemReserveCollateral\_instruction

Liquidation instructions from Kamino Lend protocol on Solana where liquidators repay undercollateralized borrower obligations and immediately redeem seized collateral. Used for analyzing liquidation events, liquidator profitability, and loan-to-value (LTV) breach patterns across lending reserves.

<Accordion title="Columns">
  | Column                                    | Type          | Description                                                                                                                                                                                                                             |
  | ----------------------------------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                         | `TIMESTAMP`   | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                             |
  | `block_slot`                              | `INT64`       | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                           |
  | `transaction_id`                          | `STRING`      | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                         |
  | `transaction_index`                       | `INT64`       | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                               |
  | `transaction_signer`                      | `STRING`      | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                                   |
  | `instruction_index`                       | `INT64`       | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                                    |
  | `outer_instruction_index`                 | `INT64`       | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.                     |
  | `executing_account`                       | `STRING`      | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                        |
  | `outer_executing_account`                 | `STRING`      | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                                |
  | `surrogate_key`                           | `STRING`      | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                         |
  | `instruction_type`                        | `STRING`      | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                              |
  | `in_collateralTokenProgram`               | `STRING`      | Address of the Solana Token Program managing collateral token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_instructionSysvarAccount`             | `STRING`      | Address of the Solana Instructions Sysvar account. Contains introspection data about currently executing instructions, always `Sysvar1nstructions1111111111111111111111111`.                                                            |
  | `in_lendingMarket`                        | `STRING`      | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                           |
  | `in_lendingMarketAuthority`               | `STRING`      | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                                |
  | `in_liquidator`                           | `STRING`      | Address of the account executing the liquidation operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                                              |
  | `in_obligation`                           | `STRING`      | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                                    |
  | `in_repayLiquidityTokenProgram`           | `STRING`      | Account address of the token program managing the liquidity being repaid during the liquidation. Consistently set to the standard SPL Token program address across all transactions.                                                    |
  | `in_remaining`                            | `ARRAY<JSON>` | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                                   |
  | `in_repayReserve`                         | `STRING`      | Account address of the reserve where debt is being repaid. Base58-encoded Solana public key.                                                                                                                                            |
  | `in_repayReserveLiquidityMint`            | `STRING`      | Account address of the token mint for the liquidity being repaid in this liquidation. Base58-encoded Solana public key identifying the token standard (e.g., USDT, SOL).                                                                |
  | `in_repayReserveLiquiditySupply`          | `STRING`      | Account holding the liquidity supply for the reserve being repaid during liquidation. Solana address of the token account where repayment tokens are sourced from.                                                                      |
  | `in_userDestinationCollateral`            | `STRING`      | Account address of the user's token account receiving collateral tokens from the operation. Base58-encoded Solana public key.                                                                                                           |
  | `in_userDestinationLiquidity`             | `STRING`      | Account address of the token account receiving borrowed or redeemed liquidity from the lending protocol operation. Base58-encoded Solana public key.                                                                                    |
  | `in_userSourceLiquidity`                  | `STRING`      | Account address of the user's source token account providing liquidity for the operation. Base58-encoded Solana public key.                                                                                                             |
  | `in_withdrawLiquidityTokenProgram`        | `STRING`      | Token program account managing the withdrawal of redeemed liquidity tokens after liquidation. Always set to the standard Solana Token Program in sample data.                                                                           |
  | `in_withdrawReserve`                      | `STRING`      | Account address of the reserve from which collateral is being withdrawn. Base58-encoded Solana public key.                                                                                                                              |
  | `in_withdrawReserveCollateralMint`        | `STRING`      | Account address of the collateral token mint for the reserve being withdrawn from during liquidation. Base58-encoded Solana public key identifying the token type received as collateral.                                               |
  | `in_withdrawReserveCollateralSupply`      | `STRING`      | Token account holding the collateral supply for the withdrawal reserve being liquidated. Receives collateral tokens redeemed during the liquidation process.                                                                            |
  | `in_withdrawReserveLiquidityFeeReceiver`  | `STRING`      | Account that receives protocol fees from the withdrawn liquidity reserve during the liquidation process. This is the fee destination for the reserve being withdrawn as collateral.                                                     |
  | `in_withdrawReserveLiquidityMint`         | `STRING`      | Token mint address of the liquidity asset being withdrawn from the reserve as collateral redemption. Consistently shows the Solana native token (SOL) mint address across all sample transactions.                                      |
  | `in_withdrawReserveLiquiditySupply`       | `STRING`      | Account holding the liquid token supply for the reserve being withdrawn from during liquidation. This is the source account from which redeemed collateral is drawn.                                                                    |
  | `in_liquidityAmount`                      | `STRING`      | Amount of liquidity added to or removed from a concentrated liquidity position. Numeric string representation of liquidity units in the position's tick range.                                                                          |
  | `in_maxAllowedLtvOverridePercent`         | `STRING`      | Maximum loan-to-value (LTV) ratio override percentage allowed for this liquidation, expressed as a whole number. Typically set to 0 to use default protocol LTV limits.                                                                 |
  | `in_minAcceptableReceivedLiquidityAmount` | `STRING`      | Minimum amount of liquidity tokens the liquidator will accept to receive from redeeming collateral during liquidation. Serves as slippage protection, with '0' indicating no minimum requirement.                                       |
</Accordion>

<Accordion title="Sample Data">
  | block\_slot | in\_remaining | in\_liquidator                               | in\_obligation                               | surrogate\_key                                                                                        | transaction\_id                                                                          | block\_timestamp         | in\_repayReserve                             | in\_lendingMarket                            | instruction\_type                             | executing\_account                          | instruction\_index | transaction\_index | in\_liquidityAmount | in\_withdrawReserve                         | transaction\_signer                          | in\_userSourceLiquidity                      | outer\_executing\_account | outer\_instruction\_index | in\_collateralTokenProgram                  | in\_lendingMarketAuthority                   | in\_instructionSysvarAccount                | in\_userDestinationLiquidity                 | in\_repayReserveLiquidityMint                | in\_userDestinationCollateral                | in\_repayLiquidityTokenProgram              | in\_repayReserveLiquiditySupply              | in\_maxAllowedLtvOverridePercent | in\_withdrawReserveLiquidityMint            | in\_withdrawLiquidityTokenProgram           | in\_withdrawReserveCollateralMint            | in\_withdrawReserveLiquiditySupply           | in\_withdrawReserveCollateralSupply          | in\_withdrawReserveLiquidityFeeReceiver      | in\_minAcceptableReceivedLiquidityAmount |
  | ----------- | ------------- | -------------------------------------------- | -------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | -------------------------------------------- | --------------------------------------------- | ------------------------------------------- | ------------------ | ------------------ | ------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------- | ------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ---------------------------------------- |
  | 281367441   | \[]           | 3pL4JtDnzjyHn1DuAvT8pZUvRnigw8Kgd2mKs72xb1pN | 6sQxgYvHZYw7EJrgCPwKiPUZ5BuJPN1vJQaLa3TrWDAH | 281367441-78dr5s8UXHkV5BRYfg43KKtg5H91ERUkbGByqZy7WfpcDMsZxM9KadriMcG1SGoBMHw86d9xLhgTyj9AkR8urBB-10  | 78dr5s8UXHkV5BRYfg43KKtg5H91ERUkbGByqZy7WfpcDMsZxM9KadriMcG1SGoBMHw86d9xLhgTyj9AkR8urBB  | 2024-08-03T18:36:07.000Z | H3t6qZ1JkguCNTi9uzVKqQ7dvt2cum4XiXWom6Gn5e5S | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | LiquidateObligationAndRedeemReserveCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 10                 | 84                 | 32289755            | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q | 3pL4JtDnzjyHn1DuAvT8pZUvRnigw8Kgd2mKs72xb1pN | AMprNgPFWoiCbAETx5QHpdSCyh21cRYKcpbaZyqJA4iA |                           |                           | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | Sysvar1nstructions1111111111111111111111111 | 12Mms6CZt9eQpsxdLKnGrC8LAHggdNiy4XmyWn6a93Yk | Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB | Gj5nv3RMFzhu5yoXeajqeDJ9yEcx2Br6EFKbb6Z5Ai3b | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2Eff8Udy2G2gzNcf2619AnTx3xM4renEv4QrHKjS1o9N | 0                                | So11111111111111111111111111111111111111112 | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2UywZrUdyqs5vDchy7fKQJKau2RVyuzBev2XKGPDSiX1 | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | 8NXMyRD91p3nof61BTkJvrfpGTASHygz1cUvc3HvwyGS | 3JNof8s453bwG5UqiXBLJc77NRQXezYYEBbk3fqnoKph | 0                                        |
  | 281363518   | \[]           | 3pL4JtDnzjyHn1DuAvT8pZUvRnigw8Kgd2mKs72xb1pN | 8vjt8HDswrs9HbRuZKwMRN82VdDSz62ac3MG1K8PepD9 | 281363518-3RwsLr85yuHHD2guDLwyrdXHdNvZaCK27DJo9Jzs2DhHWGvbq1WyQxEkhtPhvF7MA3xVexJKXZapzrqiUPvtsGpf-8  | 3RwsLr85yuHHD2guDLwyrdXHdNvZaCK27DJo9Jzs2DhHWGvbq1WyQxEkhtPhvF7MA3xVexJKXZapzrqiUPvtsGpf | 2024-08-03T18:07:48.000Z | H3t6qZ1JkguCNTi9uzVKqQ7dvt2cum4XiXWom6Gn5e5S | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | LiquidateObligationAndRedeemReserveCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 8                  | 51                 | 15675               | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q | 3pL4JtDnzjyHn1DuAvT8pZUvRnigw8Kgd2mKs72xb1pN | AMprNgPFWoiCbAETx5QHpdSCyh21cRYKcpbaZyqJA4iA |                           |                           | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | Sysvar1nstructions1111111111111111111111111 | 12Mms6CZt9eQpsxdLKnGrC8LAHggdNiy4XmyWn6a93Yk | Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB | Gj5nv3RMFzhu5yoXeajqeDJ9yEcx2Br6EFKbb6Z5Ai3b | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2Eff8Udy2G2gzNcf2619AnTx3xM4renEv4QrHKjS1o9N | 0                                | So11111111111111111111111111111111111111112 | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2UywZrUdyqs5vDchy7fKQJKau2RVyuzBev2XKGPDSiX1 | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | 8NXMyRD91p3nof61BTkJvrfpGTASHygz1cUvc3HvwyGS | 3JNof8s453bwG5UqiXBLJc77NRQXezYYEBbk3fqnoKph | 0                                        |
  | 281346914   | \[]           | 3pL4JtDnzjyHn1DuAvT8pZUvRnigw8Kgd2mKs72xb1pN | CkQmjtbgtShC1sQeT2TTAY35zAeBmT6WVHiXcEDbA8KS | 281346914-67Xp2mbAARRNguAP7DveFCxH5W7o1fL2cwNmrHNZQLccyE2TyEh1nCFtNt3vjkSUJWQUUZdbf6oWaJZDgxUzyoTv-12 | 67Xp2mbAARRNguAP7DveFCxH5W7o1fL2cwNmrHNZQLccyE2TyEh1nCFtNt3vjkSUJWQUUZdbf6oWaJZDgxUzyoTv | 2024-08-03T16:08:23.000Z | H3t6qZ1JkguCNTi9uzVKqQ7dvt2cum4XiXWom6Gn5e5S | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | LiquidateObligationAndRedeemReserveCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 12                 | 29                 | 8876029             | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q | 3pL4JtDnzjyHn1DuAvT8pZUvRnigw8Kgd2mKs72xb1pN | AMprNgPFWoiCbAETx5QHpdSCyh21cRYKcpbaZyqJA4iA |                           |                           | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | Sysvar1nstructions1111111111111111111111111 | 12Mms6CZt9eQpsxdLKnGrC8LAHggdNiy4XmyWn6a93Yk | Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB | Gj5nv3RMFzhu5yoXeajqeDJ9yEcx2Br6EFKbb6Z5Ai3b | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2Eff8Udy2G2gzNcf2619AnTx3xM4renEv4QrHKjS1o9N | 0                                | So11111111111111111111111111111111111111112 | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2UywZrUdyqs5vDchy7fKQJKau2RVyuzBev2XKGPDSiX1 | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | 8NXMyRD91p3nof61BTkJvrfpGTASHygz1cUvc3HvwyGS | 3JNof8s453bwG5UqiXBLJc77NRQXezYYEBbk3fqnoKph | 0                                        |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_LiquidateObligationAndRedeemReserveCollateral_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_LiquidateObligationAndRedeemReserveCollateralV2\_instruction

Liquidation instruction records from Kamino Lend protocol on Solana where underwater borrowing positions are closed by repaying debt and seizing collateral. Used for tracking liquidation events, liquidator activity, and analyzing lending protocol health metrics.

<Accordion title="Columns">
  | Column                                    | Type          | Description                                                                                                                                                                                                                             |
  | ----------------------------------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                         | `TIMESTAMP`   | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                             |
  | `block_slot`                              | `INT64`       | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                           |
  | `transaction_id`                          | `STRING`      | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                         |
  | `transaction_index`                       | `INT64`       | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                               |
  | `transaction_signer`                      | `STRING`      | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                                   |
  | `instruction_index`                       | `INT64`       | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                                    |
  | `outer_instruction_index`                 | `INT64`       | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.                     |
  | `executing_account`                       | `STRING`      | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                        |
  | `outer_executing_account`                 | `STRING`      | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                                |
  | `surrogate_key`                           | `STRING`      | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                         |
  | `instruction_type`                        | `STRING`      | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                              |
  | `in_collateralTokenProgram`               | `STRING`      | Address of the Solana Token Program managing collateral token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_farmsProgram`                         | `STRING`      | Address of the Kamino Farms Program contract managing reward and incentive distribution. Base58-encoded Solana public key.                                                                                                              |
  | `in_instructionSysvarAccount`             | `STRING`      | Address of the Solana Instructions Sysvar account. Contains introspection data about currently executing instructions, always `Sysvar1nstructions1111111111111111111111111`.                                                            |
  | `in_lendingMarket`                        | `STRING`      | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                           |
  | `in_lendingMarketAuthority`               | `STRING`      | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                                |
  | `in_liquidator`                           | `STRING`      | Address of the account executing the liquidation operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                                              |
  | `in_obligation`                           | `STRING`      | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                                    |
  | `in_obligationFarmUserState`              | `STRING`      | Account address of the user's farm state tracking their farming rewards and participation for the obligation. Base58-encoded Solana public key.                                                                                         |
  | `in_remaining`                            | `ARRAY<JSON>` | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                                   |
  | `in_repayLiquidityTokenProgram`           | `STRING`      | Solana program ID for the token standard of the repayment asset in the liquidation. Typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL tokens or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022 standard.        |
  | `in_repayReserve`                         | `STRING`      | Account address of the reserve where debt is being repaid. Base58-encoded Solana public key.                                                                                                                                            |
  | `in_repayReserveLiquidityMint`            | `STRING`      | Account address of the liquidity token mint for the reserve being repaid in the liquidation. Corresponds to the token borrowed by the liquidated obligation, such as USDC or SOL.                                                       |
  | `in_repayReserveLiquiditySupply`          | `STRING`      | Token account holding the liquidity supply for the reserve being used to repay the liquidated debt. This account receives the repaid tokens from the liquidator during the liquidation process.                                         |
  | `in_reserveFarmState`                     | `STRING`      | Account address of the reserve's farm state tracking farming rewards and user participation. Base58-encoded Solana public key.                                                                                                          |
  | `in_userDestinationCollateral`            | `STRING`      | Account address of the user's token account receiving collateral tokens from the operation. Base58-encoded Solana public key.                                                                                                           |
  | `in_userDestinationLiquidity`             | `STRING`      | Account address of the token account receiving borrowed or redeemed liquidity from the lending protocol operation. Base58-encoded Solana public key.                                                                                    |
  | `in_userSourceLiquidity`                  | `STRING`      | Account address of the user's source token account providing liquidity for the operation. Base58-encoded Solana public key.                                                                                                             |
  | `in_withdrawLiquidityTokenProgram`        | `STRING`      | Token program address for processing the withdrawal of collateral liquidity during liquidation. Typically points to SPL Token or Token-2022 program on Solana.                                                                          |
  | `in_withdrawReserve`                      | `STRING`      | Account address of the reserve from which collateral is being withdrawn. Base58-encoded Solana public key.                                                                                                                              |
  | `in_withdrawReserveCollateralMint`        | `STRING`      | Account address of the collateral token mint for the reserve being withdrawn from in this liquidation. This is the SPL token mint that represents the collateral shares issued by the lending pool.                                     |
  | `in_withdrawReserveCollateralSupply`      | `STRING`      | Account holding the total supply of collateral tokens for the reserve being withdrawn from during liquidation. This account's balance decreases as collateral tokens are redeemed for the underlying liquidity asset.                   |
  | `in_withdrawReserveLiquidityFeeReceiver`  | `STRING`      | Account receiving liquidity fees from the withdrawn reserve during this liquidation operation. Represents the fee collector for the lending protocol's reserve being withdrawn as collateral.                                           |
  | `in_withdrawReserveLiquidityMint`         | `STRING`      | Token mint address of the liquidity being withdrawn from the reserve as collateral redemption. Consistently shows Solana native token (So11111111111111111111111111111111111111112) or stablecoin addresses across liquidation events.  |
  | `in_withdrawReserveLiquiditySupply`       | `STRING`      | Account holding the liquidity supply for the reserve from which collateral is being withdrawn during liquidation. This is the token account that stores the actual tokens backing the reserve's liquidity pool.                         |
  | `in_liquidityAmount`                      | `STRING`      | Amount of liquidity added to or removed from a concentrated liquidity position. Numeric string representation of liquidity units in the position's tick range.                                                                          |
  | `in_maxAllowedLtvOverridePercent`         | `STRING`      | Maximum loan-to-value ratio override percentage allowed for this liquidation, expressed as an integer. Typically set to 0, indicating no override from the default LTV parameters.                                                      |
  | `in_minAcceptableReceivedLiquidityAmount` | `STRING`      | Minimum amount of liquidity tokens the liquidator is willing to receive from redeeming the collateral. Serves as slippage protection; transaction fails if redemption yields less than this threshold.                                  |
</Accordion>

<Accordion title="Sample Data">
  | block\_slot | in\_remaining                                                                                        | in\_liquidator                               | in\_obligation                               | surrogate\_key                                                                                       | transaction\_id                                                                          | block\_timestamp         | in\_farmsProgram                             | in\_repayReserve                             | in\_lendingMarket                            | instruction\_type                               | executing\_account                          | instruction\_index | transaction\_index | in\_liquidityAmount | in\_withdrawReserve                         | transaction\_signer                          | in\_reserveFarmState                         | in\_userSourceLiquidity                      | outer\_executing\_account | outer\_instruction\_index | in\_collateralTokenProgram                  | in\_lendingMarketAuthority                   | in\_obligationFarmUserState                  | in\_instructionSysvarAccount                | in\_userDestinationLiquidity                 | in\_repayReserveLiquidityMint                | in\_userDestinationCollateral                | in\_repayLiquidityTokenProgram              | in\_repayReserveLiquiditySupply              | in\_maxAllowedLtvOverridePercent | in\_withdrawReserveLiquidityMint            | in\_withdrawLiquidityTokenProgram           | in\_withdrawReserveCollateralMint            | in\_withdrawReserveLiquiditySupply           | in\_withdrawReserveCollateralSupply          | in\_withdrawReserveLiquidityFeeReceiver      | in\_minAcceptableReceivedLiquidityAmount |
  | ----------- | ---------------------------------------------------------------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ----------------------------------------------- | ------------------------------------------- | ------------------ | ------------------ | ------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------- | ------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ---------------------------------------- |
  | 354643915   | \[""5VuJ8AonsviHFa4qShJt7mwk5dPt3DEisD3sCiP5RwFV"",""FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr""] | 88888888yyzweAKv6q3UUwJYm5uBimr1iSFq2LQpvhXE | B7xQTpEBpUGNJrRE98B2z9ukboK2yWYJ9Z9mGr34razB | 354643915-3jPQJ3vtxgHpeUDnBDGZsNoxGv1MRLrPKU5LYbCg4x8g8PEuXJDyYLo1sBsr27xqDtA53HMe2eqSNuJX5eMw8qmY-7 | 3jPQJ3vtxgHpeUDnBDGZsNoxGv1MRLrPKU5LYbCg4x8g8PEuXJDyYLo1sBsr27xqDtA53HMe2eqSNuJX5eMw8qmY | 2025-07-20T22:13:19.000Z | BRds3KV8MXdvwQk4VXWckqjmRvU12SmmEeHLSWpgUJ3n | BHUi32TrEsfN2U821G4FprKrR4hTeK4LCWtA3BFetuqA | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | LiquidateObligationAndRedeemReserveCollateralV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 7                  | 335                | 984177              | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q | 88888888yyzweAKv6q3UUwJYm5uBimr1iSFq2LQpvhXE | 955xWFhSDcDiUgUr4sBRtCpTLiMd4H5uZLAmgtP3R3sX | 89Q7dbaS56U2YNAjbX6ZCvVgyBaw5W1uHYxcyg66bt6u |                           |                           | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | nHGnUE6gYSUwcEnTdev4SpK87eStLKvhDzqze3gghd5  | Sysvar1nstructions1111111111111111111111111 | EMJzB23jSnzZ8TDQaHT3WQwHfcRdzcP3ws1CbqhRNDdF | USDSwr9ApdHk5bvJKMjzff41FfuX8bSxdKcR81vTwcA  | C7USxjxUyfwVidpfDVLx4zfhdmnhhDXfp5w4b7FKgeDB | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 4aE6ow1YNDm9MRNdk8HRzFFzvs9FXBgEttWSMrH6hupD | 0                                | So11111111111111111111111111111111111111112 | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2UywZrUdyqs5vDchy7fKQJKau2RVyuzBev2XKGPDSiX1 | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | 8NXMyRD91p3nof61BTkJvrfpGTASHygz1cUvc3HvwyGS | 3JNof8s453bwG5UqiXBLJc77NRQXezYYEBbk3fqnoKph | 0                                        |
  | 354643901   | \[""KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"",""FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr""]  | 88888888yyzweAKv6q3UUwJYm5uBimr1iSFq2LQpvhXE | kqD47urSNZFNPXheBkQ4drrnhFESfWiim2EpyC3HeGg  | 354643901-2hCQNNxrQrJa2sRZDL78SCvJmsmy9D3pxC9tLH8GbQbfcjtSX1eMjXppAykX7tNGoMLaDZHr5qmnhUwuSmyXhv5A-7 | 2hCQNNxrQrJa2sRZDL78SCvJmsmy9D3pxC9tLH8GbQbfcjtSX1eMjXppAykX7tNGoMLaDZHr5qmnhUwuSmyXhv5A | 2025-07-20T22:13:14.000Z | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD  | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | LiquidateObligationAndRedeemReserveCollateralV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 7                  | 60                 | 41995556            | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q | 88888888yyzweAKv6q3UUwJYm5uBimr1iSFq2LQpvhXE | 955xWFhSDcDiUgUr4sBRtCpTLiMd4H5uZLAmgtP3R3sX | FYxaqbysFQmebPMnNvWt4fxX9VykfnoVckZiUqS9RicG |                           |                           | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | GNRWDUKiZW5apPuUg1j91vwCq3uYr6erJ5bnqyP8b5Lb | Sysvar1nstructions1111111111111111111111111 | EMJzB23jSnzZ8TDQaHT3WQwHfcRdzcP3ws1CbqhRNDdF | EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v | C7USxjxUyfwVidpfDVLx4zfhdmnhhDXfp5w4b7FKgeDB | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | Bgq7trRgVMeq33yt235zM2onQ4bRDBsY5EWiTetF4qw6 | 0                                | So11111111111111111111111111111111111111112 | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2UywZrUdyqs5vDchy7fKQJKau2RVyuzBev2XKGPDSiX1 | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | 8NXMyRD91p3nof61BTkJvrfpGTASHygz1cUvc3HvwyGS | 3JNof8s453bwG5UqiXBLJc77NRQXezYYEBbk3fqnoKph | 0                                        |
  | 354643915   | \[""KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"",""FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr""]  | 88888888yyzweAKv6q3UUwJYm5uBimr1iSFq2LQpvhXE | 2uEMnx5ftrfiabPWdW9988SXJSq8yvuvG9wkaWcT3y2H | 354643915-zbowroY7imDyZN9pHzseFpfXxzEmnLHGiSrStHL6Sy4TmMg3Smt8XLdhJwKNvDr4k87mGa82DMxNsitj2gLJAQU-7  | zbowroY7imDyZN9pHzseFpfXxzEmnLHGiSrStHL6Sy4TmMg3Smt8XLdhJwKNvDr4k87mGa82DMxNsitj2gLJAQU  | 2025-07-20T22:13:19.000Z | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD  | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | LiquidateObligationAndRedeemReserveCollateralV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 7                  | 226                | 62374139            | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q | 88888888yyzweAKv6q3UUwJYm5uBimr1iSFq2LQpvhXE | 955xWFhSDcDiUgUr4sBRtCpTLiMd4H5uZLAmgtP3R3sX | FYxaqbysFQmebPMnNvWt4fxX9VykfnoVckZiUqS9RicG |                           |                           | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | EUTkUGfpoRjP9AXi4NnMcC8Wy7ZALi1vtq153XLZseAj | Sysvar1nstructions1111111111111111111111111 | EMJzB23jSnzZ8TDQaHT3WQwHfcRdzcP3ws1CbqhRNDdF | EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v | C7USxjxUyfwVidpfDVLx4zfhdmnhhDXfp5w4b7FKgeDB | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | Bgq7trRgVMeq33yt235zM2onQ4bRDBsY5EWiTetF4qw6 | 0                                | So11111111111111111111111111111111111111112 | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2UywZrUdyqs5vDchy7fKQJKau2RVyuzBev2XKGPDSiX1 | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | 8NXMyRD91p3nof61BTkJvrfpGTASHygz1cUvc3HvwyGS | 3JNof8s453bwG5UqiXBLJc77NRQXezYYEBbk3fqnoKph | 0                                        |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_LiquidateObligationAndRedeemReserveCollateralV2_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_RedeemFees\_instruction

RedeemFees instruction events from Kamino Lend protocol on Solana, capturing fee withdrawal operations from lending market reserves to designated fee receiver accounts. Used for tracking protocol revenue collection and reserve-level fee generation across different token markets.

<Accordion title="Columns">
  | Column                           | Type        | Description                                                                                                                                                                                                                     |
  | -------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                     |
  | `block_slot`                     | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                   |
  | `transaction_id`                 | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                 |
  | `transaction_index`              | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                       |
  | `transaction_signer`             | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                           |
  | `instruction_index`              | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                            |
  | `outer_instruction_index`        | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.             |
  | `executing_account`              | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                |
  | `outer_executing_account`        | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                        |
  | `surrogate_key`                  | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                 |
  | `instruction_type`               | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                      |
  | `in_lendingMarket`               | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                   |
  | `in_lendingMarketAuthority`      | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                        |
  | `in_remaining`                   | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                           |
  | `in_reserve`                     | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                             |
  | `in_reserveLiquidityFeeReceiver` | `STRING`    | Account address that receives liquidity fees accumulated by the reserve. Typically a protocol-controlled treasury or fee collection account on Solana.                                                                          |
  | `in_reserveLiquidityMint`        | `STRING`    | Mint address of the liquidity token for the reserve. Base58-encoded Solana public key.                                                                                                                                          |
  | `in_reserveSupplyLiquidity`      | `STRING`    | Account address holding the liquidity supply for the reserve in the Kamino lending market. This is the token account where deposited assets are stored before being lent out.                                                   |
  | `in_tokenProgram`                | `STRING`    | Address of the Solana Token Program invoked for token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
</Accordion>

<Accordion title="Sample Data">
  | block\_slot | in\_reserve                                  | in\_remaining | surrogate\_key                                                                                       | transaction\_id                                                                          | block\_timestamp         | in\_tokenProgram                            | in\_lendingMarket                            | instruction\_type | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | in\_reserveLiquidityMint                     | outer\_executing\_account | outer\_instruction\_index | in\_lendingMarketAuthority                   | in\_reserveSupplyLiquidity                   | in\_reserveLiquidityFeeReceiver              |
  | ----------- | -------------------------------------------- | ------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | ------------------------------------------- | -------------------------------------------- | ----------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
  | 312059578   | CoFdsnQeCUyJefhKK6GQaAPT9PEx8Xcs2jejtp9jgn38 |               | 312059578-3oWaQN9Sv6jpF6Xsdo4jhdpkEe3NQfZXBvWCbhCfZWuDfiGJhQMhM24hicGkzug6dSddTfLErBFhRey6vQib2Vz2-3 | 3oWaQN9Sv6jpF6Xsdo4jhdpkEe3NQfZXBvWCbhCfZWuDfiGJhQMhM24hicGkzug6dSddTfLErBFhRey6vQib2Vz2 | 2025-01-05T15:42:44.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | ByYiZxp8QrdN9qbdtaAiePN8AAr3qvTPppNJDpf5DVJ5 | RedeemFees        | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 3                  | 205                | ELgAxEgaGCBxNcfLMqNSbBaYDWmHeirf6k439zrM2wmx | DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 |                           |                           | 81BgcfZuZf9bESLvw3zDkh7cZmMtDwTPgkCvYu7zx26o | 41pHLFbF8yXwSToXr7eMPT2bF2KGS4ti2x7pFNvT9GFk | 39ocRfiS3Vd9udRF2inopvvcJQ4kt469YpFsvsDv3j5P |
  | 312058794   | GvPEtF7MsZceLbrrjprfcKN9quJ7EW221c4H9TVuWQUo |               | 312058794-4Bv7iyeKpdbgxDS37enKUsionkDTQymbtnQsfdbdfhvfccK7mMiuhCbAA8GaKNV7VLhXEvbeVrwMZYLC18tePLTM-3 | 4Bv7iyeKpdbgxDS37enKUsionkDTQymbtnQsfdbdfhvfccK7mMiuhCbAA8GaKNV7VLhXEvbeVrwMZYLC18tePLTM | 2025-01-05T15:37:24.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | ByYiZxp8QrdN9qbdtaAiePN8AAr3qvTPppNJDpf5DVJ5 | RedeemFees        | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 3                  | 186                | ELgAxEgaGCBxNcfLMqNSbBaYDWmHeirf6k439zrM2wmx | EKpQGSJtjMFqKZ9KQanSqYXRcF8fBopzLHYxdM65zcjm |                           |                           | 81BgcfZuZf9bESLvw3zDkh7cZmMtDwTPgkCvYu7zx26o | EHDnHqX6PtnSdPfsnnr1oWtmQbenDwqZAKUo5QAq9Ro3 | 7cvL7n7vijnMsy7wK2AENi1NqaaCPrrnwXr8b6gcCgpP |
  | 312058758   | Dd7KhG2zJbrEDCq1rJJWg9mcDSfrdt3ExtzcA12zy1f9 |               | 312058758-5DdZuLykgoYq9z3mZFmWP9CszKSsz7RJFh35rqbqv56T46FpTPH9HBPksH7pVFmVYotHQ1koWsXRuw6XPLpMPxF-3  | 5DdZuLykgoYq9z3mZFmWP9CszKSsz7RJFh35rqbqv56T46FpTPH9HBPksH7pVFmVYotHQ1koWsXRuw6XPLpMPxF  | 2025-01-05T15:37:10.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | ByYiZxp8QrdN9qbdtaAiePN8AAr3qvTPppNJDpf5DVJ5 | RedeemFees        | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 3                  | 316                | ELgAxEgaGCBxNcfLMqNSbBaYDWmHeirf6k439zrM2wmx | 85VBFQZC9TZkfaptBWjvUw7YbZjy52A6mjtPGjstQAmQ |                           |                           | 81BgcfZuZf9bESLvw3zDkh7cZmMtDwTPgkCvYu7zx26o | 5kaD4tza8YKwtPEwvh8HsXcaZ3v86GgJAs7yH8ibH6fk | G2qENu45VEYj1YPfknkSmmEPECYXr9QPmrp3m6HwAsg3 |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_RedeemFees_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_RedeemReserveCollateral\_instruction

Collateral redemption instructions from Kamino Lend protocol on Solana, converting deposited collateral tokens back to underlying liquidity tokens. Used to analyze withdrawal patterns, collateral utilization, and lending position management across Kamino markets.

<Accordion title="Columns">
  | Column                        | Type        | Description                                                                                                                                                                                                                             |
  | ----------------------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`             | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                             |
  | `block_slot`                  | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                           |
  | `transaction_id`              | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                         |
  | `transaction_index`           | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                               |
  | `transaction_signer`          | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                                   |
  | `instruction_index`           | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                                    |
  | `outer_instruction_index`     | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.                     |
  | `executing_account`           | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                        |
  | `outer_executing_account`     | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                                |
  | `surrogate_key`               | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                         |
  | `instruction_type`            | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                              |
  | `in_collateralTokenProgram`   | `STRING`    | Address of the Solana Token Program managing collateral token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_instructionSysvarAccount` | `STRING`    | Address of the Solana Instructions Sysvar account. Contains introspection data about currently executing instructions, always `Sysvar1nstructions1111111111111111111111111`.                                                            |
  | `in_lendingMarket`            | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                           |
  | `in_lendingMarketAuthority`   | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                                |
  | `in_liquidityTokenProgram`    | `STRING`    | Address of the Solana Token Program managing liquidity token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022.  |
  | `in_owner`                    | `STRING`    | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                       |
  | `in_remaining`                | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                                   |
  | `in_reserve`                  | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                                     |
  | `in_reserveCollateralMint`    | `STRING`    | Mint address of the collateral token for the reserve. Base58-encoded Solana public key.                                                                                                                                                 |
  | `in_reserveLiquidityMint`     | `STRING`    | Mint address of the liquidity token for the reserve. Base58-encoded Solana public key.                                                                                                                                                  |
  | `in_reserveLiquiditySupply`   | `STRING`    | Account address of the reserve's liquidity supply token account holding deposited tokens. Base58-encoded Solana public key.                                                                                                             |
  | `in_userDestinationLiquidity` | `STRING`    | Account address of the token account receiving borrowed or redeemed liquidity from the lending protocol operation. Base58-encoded Solana public key.                                                                                    |
  | `in_userSourceCollateral`     | `STRING`    | User's token account holding the collateral tokens being redeemed from the Kamino lending reserve. This account will be debited by the amount specified in `in_collateralAmount`.                                                       |
  | `in_collateralAmount`         | `STRING`    | Amount of collateral tokens involved in the operation. Decimal-encoded string representing the quantity in the token's base units.                                                                                                      |
</Accordion>

<Accordion title="Sample Data">
  | in\_owner                                    | block\_slot | in\_reserve                                 | in\_remaining | surrogate\_key                                                                                         | transaction\_id                                                                          | block\_timestamp         | in\_lendingMarket                            | instruction\_type       | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | in\_collateralAmount | in\_reserveLiquidityMint                    | in\_userSourceCollateral                     | outer\_executing\_account                   | outer\_instruction\_index | in\_liquidityTokenProgram                   | in\_reserveCollateralMint                    | in\_collateralTokenProgram                  | in\_lendingMarketAuthority                   | in\_reserveLiquiditySupply                   | in\_instructionSysvarAccount                | in\_userDestinationLiquidity                 |
  | -------------------------------------------- | ----------- | ------------------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ----------------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------------------------- | ------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- |
  | 85HgKzFUAktpT2wVBKPwJwGpchZcSxNYrrasc7camHo7 | 320378026   | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q |               | 320378026-3D7frxA2AfTNjX9Lw99PVwZJf76ge9SLMbKGbUkKg3v3GV1BssCKC88ehmSZjAJrahaSvreXMuyQzaVTfSW4vQgb-3-2 | 3D7frxA2AfTNjX9Lw99PVwZJf76ge9SLMbKGbUkKg3v3GV1BssCKC88ehmSZjAJrahaSvreXMuyQzaVTfSW4vQgb | 2025-02-13T12:16:25.000Z | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | RedeemReserveCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 223                | 5RSRhPta8WFpyCo5de5FuXYQNCRYqG4kmwWGq9DXyYEh | 94035560             | So11111111111111111111111111111111111111112 | Cb4v2fArQiUBguPWeEecswEewqCKRwCbdtwpL4zMbD3y | vVoLTRjQmtFpiYoegx285Ze4gsLJ8ZxgFKVcuvmG1a8 | 3                         | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2UywZrUdyqs5vDchy7fKQJKau2RVyuzBev2XKGPDSiX1 | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | Sysvar1nstructions1111111111111111111111111 | 2mcPQDDZYDPiKumujMUnSajQFbj7WiLT4S3j2KuB9u1c |
  | 85HgKzFUAktpT2wVBKPwJwGpchZcSxNYrrasc7camHo7 | 320317632   | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q |               | 320317632-3qaS7f2G3vfvHUehab88Prg1XkTQQQJpAASkiszNpSgRJUaMyYsmxBaYmzyem8Y8q5ayUvBqcpLBz9i4kUhb5H4R-3-2 | 3qaS7f2G3vfvHUehab88Prg1XkTQQQJpAASkiszNpSgRJUaMyYsmxBaYmzyem8Y8q5ayUvBqcpLBz9i4kUhb5H4R | 2025-02-13T05:37:42.000Z | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | RedeemReserveCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 57                 | J3ZciMHiQ5sUdikDfbiTRWjY29cq1wRnreLZgyTWhN7w | 185289957            | So11111111111111111111111111111111111111112 | Cb4v2fArQiUBguPWeEecswEewqCKRwCbdtwpL4zMbD3y | vVoLTRjQmtFpiYoegx285Ze4gsLJ8ZxgFKVcuvmG1a8 | 3                         | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2UywZrUdyqs5vDchy7fKQJKau2RVyuzBev2XKGPDSiX1 | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | Sysvar1nstructions1111111111111111111111111 | 2mcPQDDZYDPiKumujMUnSajQFbj7WiLT4S3j2KuB9u1c |
  | 85HgKzFUAktpT2wVBKPwJwGpchZcSxNYrrasc7camHo7 | 320468215   | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q |               | 320468215-4oCyKpa8Qe7hirCBx3tAtUFKigpeemhdNzA8DnHjcrH6zBJKBDb7aYpZzJV5gXx2MYCukDELUXPBcX1P2oz8onBp-3-2 | 4oCyKpa8Qe7hirCBx3tAtUFKigpeemhdNzA8DnHjcrH6zBJKBDb7aYpZzJV5gXx2MYCukDELUXPBcX1P2oz8onBp | 2025-02-13T22:12:54.000Z | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | RedeemReserveCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 320                | 5RSRhPta8WFpyCo5de5FuXYQNCRYqG4kmwWGq9DXyYEh | 37328174             | So11111111111111111111111111111111111111112 | Cb4v2fArQiUBguPWeEecswEewqCKRwCbdtwpL4zMbD3y | vVoLTRjQmtFpiYoegx285Ze4gsLJ8ZxgFKVcuvmG1a8 | 3                         | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2UywZrUdyqs5vDchy7fKQJKau2RVyuzBev2XKGPDSiX1 | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | Sysvar1nstructions1111111111111111111111111 | 2mcPQDDZYDPiKumujMUnSajQFbj7WiLT4S3j2KuB9u1c |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_RedeemReserveCollateral_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_RefreshObligation\_instruction

RefreshObligation instruction calls from Kamino Lend protocol on Solana that update obligation account states for lending positions. Used to analyze when borrowers' collateral and debt positions are recalculated within specific lending markets.

<Accordion title="Columns">
  | Column                    | Type        | Description                                                                                                                                                                                                         |
  | ------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index` | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account` | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_lendingMarket`        | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                       |
  | `in_obligation`           | `STRING`    | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                |
  | `in_remaining`            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
</Accordion>

<Accordion title="Sample Data">
  | block\_slot | in\_remaining | in\_obligation                               | surrogate\_key                                                                                        | transaction\_id                                                                          | block\_timestamp         | in\_lendingMarket                            | instruction\_type | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | outer\_executing\_account | outer\_instruction\_index |
  | ----------- | ------------- | -------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ----------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | ------------------------- | ------------------------- |
  | 216955090   |               | G4Gzb46eLP34jxLLXNdFXhn6qNLNESdZ7BWifqG16FKG | 216955090-5ZAqxYqqNkQ2tJ39BZfzYoY4ydU1ZujZNBFQQLLVqjN8u8wnHgaQ2tK64JTghaqMFEwCH7YV2Z9denLnmnhNJYo3-6  | 5ZAqxYqqNkQ2tJ39BZfzYoY4ydU1ZujZNBFQQLLVqjN8u8wnHgaQ2tK64JTghaqMFEwCH7YV2Z9denLnmnhNJYo3 | 2023-09-11T16:37:41.000Z | 9pMFoVgsG2cNiUCSBEE69iWFN7c1bz9gu9TtPeXkAMTs | RefreshObligation | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 6                  | 5                  | CheL7diQ3WNTUHzb72dqFAF9Dvz8ofz3q9pKqsuShJRJ |                           |                           |
  | 216955090   |               | G4Gzb46eLP34jxLLXNdFXhn6qNLNESdZ7BWifqG16FKG | 216955090-5ZAqxYqqNkQ2tJ39BZfzYoY4ydU1ZujZNBFQQLLVqjN8u8wnHgaQ2tK64JTghaqMFEwCH7YV2Z9denLnmnhNJYo3-10 | 5ZAqxYqqNkQ2tJ39BZfzYoY4ydU1ZujZNBFQQLLVqjN8u8wnHgaQ2tK64JTghaqMFEwCH7YV2Z9denLnmnhNJYo3 | 2023-09-11T16:37:41.000Z | 9pMFoVgsG2cNiUCSBEE69iWFN7c1bz9gu9TtPeXkAMTs | RefreshObligation | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 10                 | 5                  | CheL7diQ3WNTUHzb72dqFAF9Dvz8ofz3q9pKqsuShJRJ |                           |                           |
  | 191042126   |               | 5QvxCCLUnmxgoAF8kuUsyPjKd6RV2XPGivsqq773TzjK | 191042126-4AynQLrRfrGPTt3KjM4gMqBeuiXdpT1oXLWKEY9Cx45jrzVZJiQeLQGsgqDRtMbjWyjMp7Q9dQgYP83m8TTnEZLi-5  | 4AynQLrRfrGPTt3KjM4gMqBeuiXdpT1oXLWKEY9Cx45jrzVZJiQeLQGsgqDRtMbjWyjMp7Q9dQgYP83m8TTnEZLi | 2023-04-28T23:07:40.000Z | 9pMFoVgsG2cNiUCSBEE69iWFN7c1bz9gu9TtPeXkAMTs | RefreshObligation | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 5                  | 99                 | 79nBgvQX8EdGxJbWmnVArrihTCZwSdsqLoyUzUHRJxuw |                           |                           |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_RefreshObligation_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_RefreshObligationFarmsForReserve\_instruction

Kamino Lend protocol instruction logs for refreshing farm reward state associated with lending market reserves on Solana. Used to track yield farming incentive updates for individual user obligations and reserve positions.

<Accordion title="Columns">
  | Column                       | Type        | Description                                                                                                                                                                                                         |
  | ---------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`            | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`                 | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`             | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`          | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`         | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`          | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index`    | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`          | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account`    | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`              | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`           | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_crank`                   | `STRING`    | Account address of the crank operator that triggered this farm refresh instruction. Base58-encoded Solana public key, often matching the transaction\_signer for automated crank operations.                        |
  | `in_farmsProgram`            | `STRING`    | Address of the Kamino Farms Program contract managing reward and incentive distribution. Base58-encoded Solana public key.                                                                                          |
  | `in_lendingMarket`           | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                       |
  | `in_lendingMarketAuthority`  | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                            |
  | `in_obligation`              | `STRING`    | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                |
  | `in_obligationFarmUserState` | `STRING`    | Account address of the user's farm state tracking their farming rewards and participation for the obligation. Base58-encoded Solana public key.                                                                     |
  | `in_remaining`               | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
  | `in_rent`                    | `STRING`    | Address of the Solana Rent Sysvar account. Base58-encoded public key, constant value SysvarRent111111111111111111111111111111111.                                                                                   |
  | `in_reserve`                 | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                 |
  | `in_reserveFarmState`        | `STRING`    | Account address of the reserve's farm state tracking farming rewards and user participation. Base58-encoded Solana public key.                                                                                      |
  | `in_systemProgram`           | `STRING`    | Address of the Solana System Program. Base58-encoded public key, constant value 11111111111111111111111111111111.                                                                                                   |
  | `in_mode`                    | `STRING`    | Operational mode identifier for the transaction or instruction. Integer or string value specifying the configuration, action type, or execution variant being performed.                                            |
</Accordion>

<Accordion title="Sample Data">
  | in\_mode | in\_rent                                    | in\_crank                                    | block\_slot | in\_reserve                                  | in\_remaining | in\_obligation                               | surrogate\_key                                                                                       | transaction\_id                                                                          | block\_timestamp         | in\_farmsProgram                             | in\_lendingMarket                            | in\_systemProgram                           | instruction\_type                | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | in\_reserveFarmState                         | outer\_executing\_account | outer\_instruction\_index | in\_lendingMarketAuthority                   | in\_obligationFarmUserState                  |
  | -------- | ------------------------------------------- | -------------------------------------------- | ----------- | -------------------------------------------- | ------------- | -------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------- | -------------------------------------------- | -------------------------------------------- |
  | 0        | SysvarRent111111111111111111111111111111111 | A9kk3ALFGiHguYU54b8R5aARUjzd978JzhtbxpVn8TU1 | 236321039   | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 |               | 7wPZSdywPFYiMdaacvPrCLbzDFE3NiuuzXePNLWjfhXi | 236321039-2vRnMsWZzLWfxq6sqXfaSLY7wKXa38R1gqwFnxbXsTf5ea1iQ8T94L4evJrpXxi5E7M7d9AirezhssjKnuEDCLUf-5 | 2vRnMsWZzLWfxq6sqXfaSLY7wKXa38R1gqwFnxbXsTf5ea1iQ8T94L4evJrpXxi5E7M7d9AirezhssjKnuEDCLUf | 2023-12-17T00:41:46.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | RefreshObligationFarmsForReserve | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 5                  | 130                | A9kk3ALFGiHguYU54b8R5aARUjzd978JzhtbxpVn8TU1 | JAvnB9AKtgPsTEoKmn24Bq64UMoYcrtWtq42HHBdsPkh |                           |                           | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | 12Sv3tQVGf6VxU8npNPDFnQxGgXVZhWQJzDykVWxE8Ng |
  | 0        | SysvarRent111111111111111111111111111111111 | A9kk3ALFGiHguYU54b8R5aARUjzd978JzhtbxpVn8TU1 | 236321039   | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 |               | 7wPZSdywPFYiMdaacvPrCLbzDFE3NiuuzXePNLWjfhXi | 236321039-2vRnMsWZzLWfxq6sqXfaSLY7wKXa38R1gqwFnxbXsTf5ea1iQ8T94L4evJrpXxi5E7M7d9AirezhssjKnuEDCLUf-7 | 2vRnMsWZzLWfxq6sqXfaSLY7wKXa38R1gqwFnxbXsTf5ea1iQ8T94L4evJrpXxi5E7M7d9AirezhssjKnuEDCLUf | 2023-12-17T00:41:46.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | RefreshObligationFarmsForReserve | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 7                  | 130                | A9kk3ALFGiHguYU54b8R5aARUjzd978JzhtbxpVn8TU1 | JAvnB9AKtgPsTEoKmn24Bq64UMoYcrtWtq42HHBdsPkh |                           |                           | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | 12Sv3tQVGf6VxU8npNPDFnQxGgXVZhWQJzDykVWxE8Ng |
  | 0        | SysvarRent111111111111111111111111111111111 | 8fJzZexejGDaRoW2eVur3ma1DSi56jRxdyq4WiqkunE9 | 236366467   | H9vmCVd77N1HZa36eBn3UnftYmg4vQzPfm1RxabHAMER |               | 5st4iVXCLwpUa4Cd1Hwv3vayhdUqBMHx9XqXT2E9vtWf | 236366467-22R3Lw1L2nryC4wtDsf73Hg5iECL3JQ7U1CbeZ56tWetHgJBc9x3WFCGEmBJtWyE97shnWrvDzJ8G8PocWpEdncw-6 | 22R3Lw1L2nryC4wtDsf73Hg5iECL3JQ7U1CbeZ56tWetHgJBc9x3WFCGEmBJtWyE97shnWrvDzJ8G8PocWpEdncw | 2023-12-17T06:31:08.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | RefreshObligationFarmsForReserve | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 6                  | 11                 | 8fJzZexejGDaRoW2eVur3ma1DSi56jRxdyq4WiqkunE9 | 3NurSUwLF5dsVBFYSGPEBSQFo1AdFo8bHA3GK46qcmLD |                           |                           | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | 12hkn1PuTCwu5UoWBhYGUiF2pP6GQN6RRzkgBAnthgoR |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_RefreshObligationFarmsForReserve_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_RefreshReserve\_instruction

RefreshReserve instruction calls from Kamino Lend protocol on Solana, which update oracle price feeds (Pyth, Switchboard) for lending reserves in the protocol's markets. Used for tracking reserve price update frequency and oracle source usage across Kamino lending markets.

<Accordion title="Columns">
  | Column                      | Type        | Description                                                                                                                                                                                                         |
  | --------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`           | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`                | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`            | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`         | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`        | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`         | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index`   | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`         | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account`   | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`             | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`          | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_lendingMarket`          | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                       |
  | `in_pythOracle`             | `STRING`    | Account address of the Pyth Network oracle providing price data for this reserve refresh operation. Base58-encoded Solana public key, may be a placeholder value when Pyth is not the active price source.          |
  | `in_remaining`              | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
  | `in_reserve`                | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                 |
  | `in_scopePrices`            | `STRING`    | Account address providing aggregated price data from Scope oracle for reserve valuation. Remains constant across multiple refresh operations within the same lending market.                                        |
  | `in_switchboardPriceOracle` | `STRING`    | Solana account address of the Switchboard price oracle used to refresh reserve pricing data. Base58-encoded public key that provides spot price feeds for the lending reserve.                                      |
  | `in_switchboardTwapOracle`  | `STRING`    | Account address for the Switchboard time-weighted average price (TWAP) oracle providing price data for the reserve. Base58-encoded Solana public key used to fetch averaged price feeds over time.                  |
</Accordion>

<Accordion title="Sample Data">
  | block\_slot | in\_reserve                                  | in\_remaining | in\_pythOracle                              | surrogate\_key                                                                                       | in\_scopePrices                              | transaction\_id                                                                          | block\_timestamp         | in\_lendingMarket                            | instruction\_type | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | outer\_executing\_account | outer\_instruction\_index | in\_switchboardTwapOracle                   | in\_switchboardPriceOracle                  |
  | ----------- | -------------------------------------------- | ------------- | ------------------------------------------- | ---------------------------------------------------------------------------------------------------- | -------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ----------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | ------------------------- | ------------------------- | ------------------------------------------- | ------------------------------------------- |
  | 310625888   | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 |               | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 310625888-59AMSDRczNLyGVtoaWZzHwNeXxff9LdMvc9GHcAP12aPX6PQNX59nBofTHXv3yPJ7g993KpewzFJSfPXVetSdMkr-3 | 3NJYftD5sjVfxSnUdZ1wVML8f3aC6mp1CXCL6L7TnU8C | 59AMSDRczNLyGVtoaWZzHwNeXxff9LdMvc9GHcAP12aPX6PQNX59nBofTHXv3yPJ7g993KpewzFJSfPXVetSdMkr | 2024-12-29T20:12:52.000Z | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | RefreshReserve    | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 3                  | 144                | 12bkThtRvHSecK9BuhwyvVqY7QRe4P3ALfnb6Vcw1YUY |                           |                           | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD |
  | 310625888   | Ht9NoB1udjpRqws1sCw1j2dL7MeTDHYCDdDFkbc1Arst |               | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 310625888-59AMSDRczNLyGVtoaWZzHwNeXxff9LdMvc9GHcAP12aPX6PQNX59nBofTHXv3yPJ7g993KpewzFJSfPXVetSdMkr-4 | 3NJYftD5sjVfxSnUdZ1wVML8f3aC6mp1CXCL6L7TnU8C | 59AMSDRczNLyGVtoaWZzHwNeXxff9LdMvc9GHcAP12aPX6PQNX59nBofTHXv3yPJ7g993KpewzFJSfPXVetSdMkr | 2024-12-29T20:12:52.000Z | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | RefreshReserve    | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 4                  | 144                | 12bkThtRvHSecK9BuhwyvVqY7QRe4P3ALfnb6Vcw1YUY |                           |                           | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD |
  | 310546973   | Ga4rZytCpq1unD4DbEJ5bkHeUz9g3oh9AAFEi6vSauXp |               | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 310546973-2iNAwbTXf9rRBnmcCxFc9PnpzDytfud5mtGzGVHys2faaqJ5DNHrrs9aENX8zxmjUu29Rbr8quXGBKbugL6iqvmi-2 | 3NJYftD5sjVfxSnUdZ1wVML8f3aC6mp1CXCL6L7TnU8C | 2iNAwbTXf9rRBnmcCxFc9PnpzDytfud5mtGzGVHys2faaqJ5DNHrrs9aENX8zxmjUu29Rbr8quXGBKbugL6iqvmi | 2024-12-29T11:09:39.000Z | DxXdAyU3kCjnyggvHmY5nAwg5cRbbmdyX3npfDMjjMek | RefreshReserve    | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 313                | 13XJVJ6ZfgUN5LAkietJVVRmx4cmsW4a976pHUsJfmet |                           |                           | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_RefreshReserve_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_RefreshReservesBatch\_instruction

RefreshReservesBatch instruction calls from Kamino Lend protocol on Solana that update lending reserve states in batch operations. Used for tracking reserve refresh events and oracle price update patterns across the lending platform.

<Accordion title="Columns">
  | Column                    | Type        | Description                                                                                                                                                                                                             |
  | ------------------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                             |
  | `block_slot`              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                           |
  | `transaction_id`          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                         |
  | `transaction_index`       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                               |
  | `transaction_signer`      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                   |
  | `instruction_index`       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                    |
  | `outer_instruction_index` | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.     |
  | `executing_account`       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                        |
  | `outer_executing_account` | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                |
  | `surrogate_key`           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                         |
  | `instruction_type`        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                              |
  | `in_remaining`            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                   |
  | `in_skipPriceUpdates`     | `STRING`    | Boolean flag indicating whether price oracle updates should be skipped during the reserve refresh operation. Consistently set to 'true' in sample data, suggesting price updates are typically bypassed for efficiency. |
</Accordion>

<Accordion title="Sample Data">
  | block\_slot | in\_remaining | surrogate\_key                                                                                         | transaction\_id                                                                          | block\_timestamp         | instruction\_type    | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | in\_skipPriceUpdates | outer\_executing\_account                   | outer\_instruction\_index |
  | ----------- | ------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------- | ------------------------------------------- | ------------------------- |
  | 321557970   |               | 321557970-4fwabeo71Ec87247VW2d9HninYRvFcx4Y81WzjyituUCq3soRRoSqnDgX21J471DXSZEVTT4ND6S3D34yGWScoja-1-5 | 4fwabeo71Ec87247VW2d9HninYRvFcx4Y81WzjyituUCq3soRRoSqnDgX21J471DXSZEVTT4ND6S3D34yGWScoja | 2025-02-18T22:13:10.000Z | RefreshReservesBatch | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 5                  | 9                  | BabJ4KTDUDqaBRWLFza3Ek3zEcjXaPDmeRGRwusQyLPS | true                 | kvauTFR8qm1dhniz6pYuBZkuene3Hfrs1VQhVRgCNrr | 1                         |
  | 321557970   |               | 321557970-4fwabeo71Ec87247VW2d9HninYRvFcx4Y81WzjyituUCq3soRRoSqnDgX21J471DXSZEVTT4ND6S3D34yGWScoja-1-0 | 4fwabeo71Ec87247VW2d9HninYRvFcx4Y81WzjyituUCq3soRRoSqnDgX21J471DXSZEVTT4ND6S3D34yGWScoja | 2025-02-18T22:13:10.000Z | RefreshReservesBatch | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 9                  | BabJ4KTDUDqaBRWLFza3Ek3zEcjXaPDmeRGRwusQyLPS | true                 | kvauTFR8qm1dhniz6pYuBZkuene3Hfrs1VQhVRgCNrr | 1                         |
  | 321557972   |               | 321557972-2riL6tZLrzZT2kGGdAbYQfzc19ks4WDdekLFBezKntnqdFfhsh14VCm9ZZAyoeSnL7ZeZQX723oquRgH9b1yRER5-1-0 | 2riL6tZLrzZT2kGGdAbYQfzc19ks4WDdekLFBezKntnqdFfhsh14VCm9ZZAyoeSnL7ZeZQX723oquRgH9b1yRER5 | 2025-02-18T22:13:11.000Z | RefreshReservesBatch | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 143                | BabJ4KTDUDqaBRWLFza3Ek3zEcjXaPDmeRGRwusQyLPS | true                 | kvauTFR8qm1dhniz6pYuBZkuene3Hfrs1VQhVRgCNrr | 1                         |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_RefreshReservesBatch_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_RepayAndWithdrawAndRedeem\_instruction

Kamino Lend instruction records for combined repay-withdraw-redeem operations on Solana. Used to analyze leveraged position closures where users simultaneously repay borrowed assets and withdraw collateral in a single transaction.

<Accordion title="Columns">
  | Column                                    | Type          | Description                                                                                                                                                                                                                             |
  | ----------------------------------------- | ------------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                         | `TIMESTAMP`   | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                             |
  | `block_slot`                              | `INT64`       | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                           |
  | `transaction_id`                          | `STRING`      | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                         |
  | `transaction_index`                       | `INT64`       | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                               |
  | `transaction_signer`                      | `STRING`      | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                                   |
  | `instruction_index`                       | `INT64`       | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                                    |
  | `outer_instruction_index`                 | `INT64`       | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.                     |
  | `executing_account`                       | `STRING`      | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                        |
  | `outer_executing_account`                 | `STRING`      | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                                |
  | `surrogate_key`                           | `STRING`      | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                         |
  | `instruction_type`                        | `STRING`      | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                              |
  | `in_collateralTokenProgram`               | `STRING`      | Address of the Solana Token Program managing collateral token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_farmsProgram`                         | `STRING`      | Address of the Kamino Farms Program contract managing reward and incentive distribution. Base58-encoded Solana public key.                                                                                                              |
  | `in_instructionSysvarAccount`             | `STRING`      | Address of the Solana Instructions Sysvar account. Contains introspection data about currently executing instructions, always `Sysvar1nstructions1111111111111111111111111`.                                                            |
  | `in_lendingMarket`                        | `STRING`      | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                           |
  | `in_lendingMarketAuthority`               | `STRING`      | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                                |
  | `in_liquidityTokenProgram`                | `STRING`      | Address of the Solana Token Program managing liquidity token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022.  |
  | `in_obligation`                           | `STRING`      | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                                    |
  | `in_obligationFarmUserState`              | `STRING`      | Account address of the user's farm state tracking their farming rewards and participation for the obligation. Base58-encoded Solana public key.                                                                                         |
  | `in_owner`                                | `STRING`      | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                       |
  | `in_placeholderUserDestinationCollateral` | `STRING`      | Placeholder account address reserved for future collateral destination functionality in the Kamino lending protocol. Base58-encoded Solana public key.                                                                                  |
  | `in_remaining`                            | `ARRAY<JSON>` | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                                   |
  | `in_repayReserve`                         | `STRING`      | Account address of the reserve where debt is being repaid. Base58-encoded Solana public key.                                                                                                                                            |
  | `in_reserveCollateralMint`                | `STRING`      | Mint address of the collateral token for the reserve. Base58-encoded Solana public key.                                                                                                                                                 |
  | `in_reserveDestinationLiquidity`          | `STRING`      | Account address of the token account receiving liquidity for the reserve. Base58-encoded Solana public key.                                                                                                                             |
  | `in_reserveFarmState`                     | `STRING`      | Account address of the reserve's farm state tracking farming rewards and user participation. Base58-encoded Solana public key.                                                                                                          |
  | `in_reserveLiquidityMint`                 | `STRING`      | Mint address of the liquidity token for the reserve. Base58-encoded Solana public key.                                                                                                                                                  |
  | `in_reserveLiquiditySupply`               | `STRING`      | Account address of the reserve's liquidity supply token account holding deposited tokens. Base58-encoded Solana public key.                                                                                                             |
  | `in_reserveSourceCollateral`              | `STRING`      | Account address of the reserve's collateral token account serving as the source for withdrawn collateral. Base58-encoded Solana public key.                                                                                             |
  | `in_tokenProgram`                         | `STRING`      | Address of the Solana Token Program invoked for token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022.         |
  | `in_userDestinationLiquidity`             | `STRING`      | Account address of the token account receiving borrowed or redeemed liquidity from the lending protocol operation. Base58-encoded Solana public key.                                                                                    |
  | `in_userSourceLiquidity`                  | `STRING`      | Account address of the user's source token account providing liquidity for the operation. Base58-encoded Solana public key.                                                                                                             |
  | `in_withdrawReserve`                      | `STRING`      | Account address of the reserve from which collateral is being withdrawn. Base58-encoded Solana public key.                                                                                                                              |
  | `in_repayAmount`                          | `STRING`      | Amount of debt repaid in the transaction. Denominated in the smallest unit of the underlying token.                                                                                                                                     |
  | `in_withdrawCollateralAmount`             | `STRING`      | Amount of collateral tokens to withdraw from the lending reserve, denominated in the reserve's native collateral token units. Null when no withdrawal occurs in the combined repay-withdraw-redeem operation.                           |
</Accordion>

<Accordion title="Sample Data">
  | in\_owner                                    | block\_slot | in\_remaining                                                                                                                                                                                                                                                                                                                                                                                                                                                                                            | in\_obligation                               | surrogate\_key                                                                                       | in\_repayAmount | transaction\_id                                                                          | block\_timestamp         | in\_farmsProgram                            | in\_repayReserve                             | in\_tokenProgram                            | in\_lendingMarket                            | instruction\_type         | executing\_account                          | instruction\_index | transaction\_index | in\_withdrawReserve                          | transaction\_signer                          | in\_reserveFarmState                        | in\_userSourceLiquidity                      | in\_reserveLiquidityMint                     | outer\_executing\_account | outer\_instruction\_index | in\_liquidityTokenProgram                    | in\_reserveCollateralMint                    | in\_collateralTokenProgram                   | in\_lendingMarketAuthority                   | in\_reserveLiquiditySupply                   | in\_obligationFarmUserState                  | in\_reserveSourceCollateral                  | in\_instructionSysvarAccount                | in\_userDestinationLiquidity                 | in\_withdrawCollateralAmount | in\_reserveDestinationLiquidity              | in\_placeholderUserDestinationCollateral     |
  | -------------------------------------------- | ----------- | -------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------- | ---------------------------------------------------------------------------------------------------- | --------------- | ---------------------------------------------------------------------------------------- | ------------------------ | ------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | ---------------------------- | -------------------------------------------- | -------------------------------------------- |
  | 2cpKeXTEsQ52QtdQAT6pwiFXTPzWPPnwPzHq54gXDAvr | 328032668   | \[""TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"",""Sysvar1nstructions1111111111111111111111111"",""EvitMCC63RMuCzXSbd7wbq3iPSUNBLmtzw8JejtmWrpE"",""JAvnB9AKtgPsTEoKmn24Bq64UMoYcrtWtq42HHBdsPkh"",""KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"",""KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"",""FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr"",""D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59"",""H3t6qZ1JkguCNTi9uzVKqQ7dvt2cum4XiXWom6Gn5e5S""]                                                  | 8ACp1mS5Zf6TLAHu6jdjoHAkQecUmPEAEdq9mxTXrYBg | 328032668-4agRuAGMdousyFAHNjDhdsv6WGBA566jkGZZzWdeh9ken3zqUM4YngWCCW1nqACKcJmWbSNWU4AP5L4FrXZ3sfDB-8 | 784812445       | 4agRuAGMdousyFAHNjDhdsv6WGBA566jkGZZzWdeh9ken3zqUM4YngWCCW1nqACKcJmWbSNWU4AP5L4FrXZ3sfDB | 2025-03-20T16:01:55.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | H3t6qZ1JkguCNTi9uzVKqQ7dvt2cum4XiXWom6Gn5e5S | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | RepayAndWithdrawAndRedeem | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 8                  | 122                | 8ACp1mS5Zf6TLAHu6jdjoHAkQecUmPEAEdq9mxTXrYBg | 2cpKeXTEsQ52QtdQAT6pwiFXTPzWPPnwPzHq54gXDAvr | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 7Jrcq2k8ZYoBJtpApHdrS8DvadDcApDTzq3EPuEPutow | Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB |                           |                           | Bgq7trRgVMeq33yt235zM2onQ4bRDBsY5EWiTetF4qw6 | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | B8V6WVjPxW1UGwVDfxH2d2r8SyT4cqn7dQRK6XneVa7D | 2cpKeXTEsQ52QtdQAT6pwiFXTPzWPPnwPzHq54gXDAvr | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 | 3fuJLsCVSH2PNYt7qeWwNr1UY1rEhnS1othUDKkUk9Ki | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | Sysvar1nstructions1111111111111111111111111 | EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v | 698426263                    | 2Eff8Udy2G2gzNcf2619AnTx3xM4renEv4QrHKjS1o9N | 3DzjXRfxRm6iejfyyMynR4tScddaanrePJ1NJU2XnPPL |
  | AWUM3mpNooqda7i2dzdEHJz7Z2LaDu59WnWhf7AfvajT | 347606783   | \[""TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"",""Sysvar1nstructions1111111111111111111111111"",""2o7msC5392kYmZmzGB2pM7HxeR18yJUrxtEbyA2kuirr"",""69NUHbnKp2ZNRCJXnEPzMBEfeShAt6gTuLKLyd55bFT7"",""7kp2JYLU3Eh1Tx13rhepeGAPDFtHtJZnQSKwD7KzVmTk"",""F119TwFVqbt9jZApFheUe8KYyXxMYUspxNNndE8CBFxK"",""FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr"",""CEeGQ7SPaYd7Cdrrmom2pGjivtAyguzNkGPJUkZKZQXE"",""5sJpVXsfTUbMD2X8uNMhAYCp83GjcQ7S5NVRn4Ji7qx6""]                                                | EAFwQV2XzZe74ugufqbfWStAxXrPR8K1BdcrvRHD5Wg1 | 347606783-2p1ZER8wqZ5owuDybMKL6UqPg7R4r3er9BJTGMcGjBh9TN16ExYfbcJgVvxRpV6UdJTw9ZqorBjXhDLeMm7zkFTe-8 | 300000000       | 2p1ZER8wqZ5owuDybMKL6UqPg7R4r3er9BJTGMcGjBh9TN16ExYfbcJgVvxRpV6UdJTw9ZqorBjXhDLeMm7zkFTe | 2025-06-18T13:03:44.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 5sJpVXsfTUbMD2X8uNMhAYCp83GjcQ7S5NVRn4Ji7qx6 | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 7WQeTuLsFrZsgnHW7ddFdNfhfJAViqH4mvcFZPQ5zuQ9 | RepayAndWithdrawAndRedeem | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 8                  | 144                | EAFwQV2XzZe74ugufqbfWStAxXrPR8K1BdcrvRHD5Wg1 | AWUM3mpNooqda7i2dzdEHJz7Z2LaDu59WnWhf7AfvajT | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | A3aQYEC1maho3VbdhGqV6aKNJXsx1gA2p6y75KeRAAzX | Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB |                           |                           | Go7eeKAWTLMqKtBcrNDE868jSod6t4d6at3HJdhqmXNu | 3tBSFePeZ84E4apq3vNkmyD9NN48dxEG7XbdWtPZGB7U | 3pLfuKYcbB4MZUxGiAWDyYF14ibxQZxzsJfeDKYvRVHi | AWUM3mpNooqda7i2dzdEHJz7Z2LaDu59WnWhf7AfvajT | CEeGQ7SPaYd7Cdrrmom2pGjivtAyguzNkGPJUkZKZQXE | C7KvwNvhtoGZxqAYKnEcKP3FakRGTDaZb8cRvnHG1Mfu | 7WQeTuLsFrZsgnHW7ddFdNfhfJAViqH4mvcFZPQ5zuQ9 | Sysvar1nstructions1111111111111111111111111 | DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 | 2220243223892                | 5Kh2urHnyYAYTKESPcNMpS1D9FPuFUzaqyRmhcU2w9ak | 2wES5jB81oidFjMtYPkUoD1PwZaFgVBojE7RNfkkLgRR |
  | 8AHx2rhgu3NyQqz522QC8ZvEbjZVHvMEm917cW5hmekr | 356786961   | \[""TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA"",""Sysvar1nstructions1111111111111111111111111"",""KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"",""KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"",""8ZXU2a7mgGo4g4cuHKGCWkSCMqQf137ouTYBHr1KXnEd"",""4yTq236RpFJ63hJzXBnLz6HcDBvip1ZkufMgrxpAjNaW"",""FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr"",""293UFbK4shi6ddaWp8rJ6ASSpstegKrztXfrR4a278KJ"",""F22tnLsbv66vEU2GZRc7coaqZsr8UcBbyp9V2kqWAiWK"",""FCiu3ZDsyMQXEeLsa3k2P9NnaPtbX8w2RCG9aKL2dnJP""] | 6itR8MKDYV5HV8xMK2u5DGGJ62Ne6HBt8SsB2SeoqjoT | 356786961-4qpVAwQ5dpiJ8d5gSSCRtDk8QnNoVqwibnFtGeQrRBbXHAiUkZSVd25tcdZBuyfF5A26eoHsxBwJnB1AcQdv9PtB-9 | 10000000000     | 4qpVAwQ5dpiJ8d5gSSCRtDk8QnNoVqwibnFtGeQrRBbXHAiUkZSVd25tcdZBuyfF5A26eoHsxBwJnB1AcQdv9PtB | 2025-07-30T19:05:47.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | FCiu3ZDsyMQXEeLsa3k2P9NnaPtbX8w2RCG9aKL2dnJP | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 4UwtBqa8DDtcWV6nWFregeMVkGdfWfiYeFxoHaR2hm9c | RepayAndWithdrawAndRedeem | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 9                  | 387                | 6itR8MKDYV5HV8xMK2u5DGGJ62Ne6HBt8SsB2SeoqjoT | 8AHx2rhgu3NyQqz522QC8ZvEbjZVHvMEm917cW5hmekr | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 3hhFtayxDk8dQVd4MdBBY7xLYfZ3Qnr8MyGnUUk3AFwH | Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB |                           |                           | 6sGuMEz4jU4ZisH4SCbTS2zXJW6bRJHtyqo8ASqNSo1P | 7T4L1WWEpymhzzGnrwYxLTmfuyxq8wTi81KrRMYBHVRq | 8pmBgYhpcAHJUVuPVqF9NnJwwxM1cDbgoDwr4cXyYBWp | 8AHx2rhgu3NyQqz522QC8ZvEbjZVHvMEm917cW5hmekr | 293UFbK4shi6ddaWp8rJ6ASSpstegKrztXfrR4a278KJ | 85FVwyxorXF5xEfmg5qwTKXSgUQZxhVUR2F8QQbZnQqN | 4UwtBqa8DDtcWV6nWFregeMVkGdfWfiYeFxoHaR2hm9c | Sysvar1nstructions1111111111111111111111111 | 9BB6NFEcjBCtnNLFko2FqVQBq8HHM13kCyYcdQbgpump | 9891376261                   | HB1bquJou7hp6Aj2jeZYRUkqJ6zFvYKkkqB4K8teyxh4 | JAKNtaydbPShoJKK4JMdBrHGgf7U36VTNkckq2251pCP |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_RepayAndWithdrawAndRedeem_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_RepayObligationLiquidity\_instruction

Loan repayment instructions from Kamino Lend protocol on Solana, capturing RepayObligationLiquidity events with repayment amounts, reserve identifiers, and obligation accounts. Used to track debt reduction activity and borrower repayment behavior across lending markets.

<Accordion title="Columns">
  | Column                           | Type          | Description                                                                                                                                                                                                                     |
  | -------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                | `TIMESTAMP`   | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                     |
  | `block_slot`                     | `INT64`       | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                   |
  | `transaction_id`                 | `STRING`      | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                 |
  | `transaction_index`              | `INT64`       | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                       |
  | `transaction_signer`             | `STRING`      | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                           |
  | `instruction_index`              | `INT64`       | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                            |
  | `outer_instruction_index`        | `INT64`       | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.             |
  | `executing_account`              | `STRING`      | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                |
  | `outer_executing_account`        | `STRING`      | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                        |
  | `surrogate_key`                  | `STRING`      | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                 |
  | `instruction_type`               | `STRING`      | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                      |
  | `in_instructionSysvarAccount`    | `STRING`      | Address of the Solana Instructions Sysvar account. Contains introspection data about currently executing instructions, always `Sysvar1nstructions1111111111111111111111111`.                                                    |
  | `in_lendingMarket`               | `STRING`      | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                   |
  | `in_obligation`                  | `STRING`      | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                            |
  | `in_owner`                       | `STRING`      | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                               |
  | `in_remaining`                   | `ARRAY<JSON>` | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                           |
  | `in_repayReserve`                | `STRING`      | Account address of the reserve where debt is being repaid. Base58-encoded Solana public key.                                                                                                                                    |
  | `in_reserveDestinationLiquidity` | `STRING`      | Account address of the token account receiving liquidity for the reserve. Base58-encoded Solana public key.                                                                                                                     |
  | `in_reserveLiquidityMint`        | `STRING`      | Mint address of the liquidity token for the reserve. Base58-encoded Solana public key.                                                                                                                                          |
  | `in_tokenProgram`                | `STRING`      | Address of the Solana Token Program invoked for token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_userSourceLiquidity`         | `STRING`      | Account address of the user's source token account providing liquidity for the operation. Base58-encoded Solana public key.                                                                                                     |
  | `in_liquidityAmount`             | `STRING`      | Amount of liquidity added to or removed from a concentrated liquidity position. Numeric string representation of liquidity units in the position's tick range.                                                                  |
</Accordion>

<Accordion title="Sample Data">
  | in\_owner                                    | block\_slot | in\_remaining | in\_obligation                               | surrogate\_key                                                                                       | transaction\_id                                                                          | block\_timestamp         | in\_repayReserve                             | in\_tokenProgram                            | in\_lendingMarket                            | instruction\_type        | executing\_account                          | instruction\_index | transaction\_index | in\_liquidityAmount  | transaction\_signer                          | in\_userSourceLiquidity | in\_reserveLiquidityMint                     | outer\_executing\_account | outer\_instruction\_index | in\_instructionSysvarAccount                | in\_reserveDestinationLiquidity              |
  | -------------------------------------------- | ----------- | ------------- | -------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------ | ------------------------------------------- | ------------------ | ------------------ | -------------------- | -------------------------------------------- | ----------------------- | -------------------------------------------- | ------------------------- | ------------------------- | ------------------------------------------- | -------------------------------------------- |
  | 4ppMfheMaiVtYArXerinPLWJhNW7QG6h16vJGCGa5maa | 203324607   | \[]           | 318kdVHGa3V78BetStTmUqx8ambnjpcaWxffUVVV4Ft3 | 203324607-Qt7TQ2GfxVBz2AMCfp4WAZD9L4y17qwhXbqvcg2KpuXKdpZAjTXvuJUiAsxGdYE85vtDAVnVpd2TRmcWbnFYn4f-9  | Qt7TQ2GfxVBz2AMCfp4WAZD9L4y17qwhXbqvcg2KpuXKdpZAjTXvuJUiAsxGdYE85vtDAVnVpd2TRmcWbnFYn4f  | 2023-07-04T08:29:29.000Z | DpfbLJSarjwZyQ2QxFt3TuJErpQfktj2qXqb4uyvN211 | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9pMFoVgsG2cNiUCSBEE69iWFN7c1bz9gu9TtPeXkAMTs | RepayObligationLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 9                  | 27                 | 18446744073709551615 | 4ppMfheMaiVtYArXerinPLWJhNW7QG6h16vJGCGa5maa |                         | BYqEwkkH3LYVJMqMS8x31ukTbPd3uu5LJPVFyXzphAQk |                           |                           | Sysvar1nstructions1111111111111111111111111 | 9LWxagbGbhDtktVEBvvBM1bdz1g17J1ThtAPPsF9MFyn |
  | 4ppMfheMaiVtYArXerinPLWJhNW7QG6h16vJGCGa5maa | 203324580   | \[]           | 318kdVHGa3V78BetStTmUqx8ambnjpcaWxffUVVV4Ft3 | 203324580-j5ho855GCmRaEPDFjepudbMsDhBo51mZNKfbBvQLmVkASJCy3DuqPkyrAWCrSpPsbuGGbLsYFcrzCeim7uTm1j9-8  | j5ho855GCmRaEPDFjepudbMsDhBo51mZNKfbBvQLmVkASJCy3DuqPkyrAWCrSpPsbuGGbLsYFcrzCeim7uTm1j9  | 2023-07-04T08:29:16.000Z | 9pX8uCeeGnGYYTEVdVfreqBa9RfhtRWHcez3sU6uinYr | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9pMFoVgsG2cNiUCSBEE69iWFN7c1bz9gu9TtPeXkAMTs | RepayObligationLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 8                  | 8                  | 185345               | 4ppMfheMaiVtYArXerinPLWJhNW7QG6h16vJGCGa5maa |                         | Gg3rVTjYEMnZZULSq3xLXvy4yKaMwQrZLZjNZRVbvwbQ |                           |                           | Sysvar1nstructions1111111111111111111111111 | Au9ygJMVB4QCqUcCH2wuyShA1QK8JB2byhJg8V8PFgVu |
  | HNQkqbmeiCyhwXRZfpWLhnpQtgvvvAJvCqg5sxBREviP | 261181021   | \[]           | FEWAcW8EHSXDPYoJXyYLeK5rUbREgCQtYasFdDD5cDo  | 261181021-2duTBkUsq1fDr2sqj6UtmAMkYDXmJxBDHPyQQMdwtdZoLDVXSV9mLdBKZGnSenMgd7WM2oRAtrCVsDwx5Yr2GUoA-5 | 2duTBkUsq1fDr2sqj6UtmAMkYDXmJxBDHPyQQMdwtdZoLDVXSV9mLdBKZGnSenMgd7WM2oRAtrCVsDwx5Yr2GUoA | 2024-04-20T05:53:11.000Z | 3AKyRviT87dt9jP3RHpfFjxmSVNbR68Wx7UejnUyaSFH | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | ByYiZxp8QrdN9qbdtaAiePN8AAr3qvTPppNJDpf5DVJ5 | RepayObligationLiquidity | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 5                  | 19                 | 18446744073709551615 | HNQkqbmeiCyhwXRZfpWLhnpQtgvvvAJvCqg5sxBREviP |                         | 5Ec11D4iZt5cRGp8ASzMykaXGYG8evjvaAX7iAKa1PMg |                           |                           | Sysvar1nstructions1111111111111111111111111 | 9aj6NZaFPfQ9CsM2rFod5p7JehXnMqK3nKRiiZAHZXp7 |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_RepayObligationLiquidity_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_RepayObligationLiquidityV2\_instruction

Debt repayment instruction records from Kamino Finance lending protocol on Solana, tracking obligation repayments with liquidity amounts, reserve details, and farm state information. Used for analyzing borrower repayment patterns and protocol liquidity flows.

<Accordion title="Columns">
  | Column                           | Type          | Description                                                                                                                                                                                                                     |
  | -------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                | `TIMESTAMP`   | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                     |
  | `block_slot`                     | `INT64`       | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                   |
  | `transaction_id`                 | `STRING`      | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                 |
  | `transaction_index`              | `INT64`       | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                       |
  | `transaction_signer`             | `STRING`      | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                           |
  | `instruction_index`              | `INT64`       | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                            |
  | `outer_instruction_index`        | `INT64`       | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.             |
  | `executing_account`              | `STRING`      | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                |
  | `outer_executing_account`        | `STRING`      | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                        |
  | `surrogate_key`                  | `STRING`      | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                 |
  | `instruction_type`               | `STRING`      | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                      |
  | `in_farmsProgram`                | `STRING`      | Address of the Kamino Farms Program contract managing reward and incentive distribution. Base58-encoded Solana public key.                                                                                                      |
  | `in_instructionSysvarAccount`    | `STRING`      | Address of the Solana Instructions Sysvar account. Contains introspection data about currently executing instructions, always `Sysvar1nstructions1111111111111111111111111`.                                                    |
  | `in_lendingMarket`               | `STRING`      | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                   |
  | `in_lendingMarketAuthority`      | `STRING`      | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                        |
  | `in_obligation`                  | `STRING`      | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                            |
  | `in_obligationFarmUserState`     | `STRING`      | Account address of the user's farm state tracking their farming rewards and participation for the obligation. Base58-encoded Solana public key.                                                                                 |
  | `in_owner`                       | `STRING`      | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                               |
  | `in_remaining`                   | `ARRAY<JSON>` | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                           |
  | `in_repayReserve`                | `STRING`      | Account address of the reserve where debt is being repaid. Base58-encoded Solana public key.                                                                                                                                    |
  | `in_reserveDestinationLiquidity` | `STRING`      | Account address of the token account receiving liquidity for the reserve. Base58-encoded Solana public key.                                                                                                                     |
  | `in_reserveFarmState`            | `STRING`      | Account address of the reserve's farm state tracking farming rewards and user participation. Base58-encoded Solana public key.                                                                                                  |
  | `in_reserveLiquidityMint`        | `STRING`      | Mint address of the liquidity token for the reserve. Base58-encoded Solana public key.                                                                                                                                          |
  | `in_tokenProgram`                | `STRING`      | Address of the Solana Token Program invoked for token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_userSourceLiquidity`         | `STRING`      | Account address of the user's source token account providing liquidity for the operation. Base58-encoded Solana public key.                                                                                                     |
  | `in_liquidityAmount`             | `STRING`      | Amount of liquidity added to or removed from a concentrated liquidity position. Numeric string representation of liquidity units in the position's tick range.                                                                  |
</Accordion>

<Accordion title="Sample Data">
  | in\_owner                                    | block\_slot | in\_remaining                                      | in\_obligation                               | surrogate\_key                                                                                       | transaction\_id                                                                          | block\_timestamp         | in\_farmsProgram                             | in\_repayReserve                             | in\_tokenProgram                            | in\_lendingMarket                            | instruction\_type          | executing\_account                          | instruction\_index | transaction\_index | in\_liquidityAmount | transaction\_signer                          | in\_reserveFarmState                        | in\_userSourceLiquidity                      | in\_reserveLiquidityMint                     | outer\_executing\_account | outer\_instruction\_index | in\_lendingMarketAuthority                   | in\_obligationFarmUserState                 | in\_instructionSysvarAccount                | in\_reserveDestinationLiquidity              |
  | -------------------------------------------- | ----------- | -------------------------------------------------- | -------------------------------------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------- | ------------------------------------------- | ------------------ | ------------------ | ------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------- | -------------------------------------------- | ------------------------------------------- | ------------------------------------------- | -------------------------------------------- |
  | HC7M4Enm1yy3Yjzqi3fLnsfDQpUhqXd9pUchzhwT9K5k | 326842310   | \[]                                                | E9NcgZ5eBaVpCXyjwCWhTHHyaBWXqAHqfBr7kvdmRSay | 326842310-5inC5ngA2TWmvCzyxS8HWa5vGLZR55QrBPdfzvadUar4dbfn9nxVaeEPUhp81v1oBQQbWVXPDKudVjW3Y76Q7AB2-6 | 5inC5ngA2TWmvCzyxS8HWa5vGLZR55QrBPdfzvadUar4dbfn9nxVaeEPUhp81v1oBQQbWVXPDKudVjW3Y76Q7AB2 | 2025-03-15T04:02:15.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | 2erD9GTGcaQbLsVSQweg3HvMpfKxScmz95raWv8H4iPN | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | BJnbcRHqvppTyGesLzWASGKnmnF1wq9jZu6ExrjT7wvF | RepayObligationLiquidityV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 6                  | 45                 | 4872560368          | HC7M4Enm1yy3Yjzqi3fLnsfDQpUhqXd9pUchzhwT9K5k | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | A69qiS2q1LQLDino6foDXyESi9J1K8DhGrXJD3J4pDB  | DEkqHyPN7GMRJ5cArtQFAWefqbZb33Hyf6s5iCwjEonT |                           |                           | GuWEkEJb5bh8Ai2gaYmZWMTUq8MrFeoaDZ89BrQfB1FZ | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | Sysvar1nstructions1111111111111111111111111 | BcqeM19i3njWEVPmQse2NAZGnTsTVdfuNYXWfmujoLff |
  | SZdHh5SypuX62a5R8UsXSAomWL3DAAi3EcjZH4SRkmS  | 326934174   | \[]                                                | UToA7RcMtSUdCe8JkmxAf9r37FZrHZ13RAYmtxWUTCD  | 326934174-3ry5fF1U7tY5Skgw1GfWmHKHS2D1J1ukyLJJxiTWxQ5k7wns1FQF89KPwHwnSAxV9qWwL97eSfv9TDbq3W9Qr6cG-6 | 3ry5fF1U7tY5Skgw1GfWmHKHS2D1J1ukyLJJxiTWxQ5k7wns1FQF89KPwHwnSAxV9qWwL97eSfv9TDbq3W9Qr6cG | 2025-03-15T14:11:32.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | 2UFz8kwraHybFyKhGQRwAsE5NtNpAhWs2X5grGoS7hnQ | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | RepayObligationLiquidityV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 6                  | 20                 | 20792595            | SZdHh5SypuX62a5R8UsXSAomWL3DAAi3EcjZH4SRkmS  | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 9fTVPpTHW6bGYvuQpsU4WcB9XJdqFcF4ujJQbC5Aoqge | picobAEvs6w7QEknPce34wAE4gknZA9v5tTonnmHYdX  |                           |                           | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | Sysvar1nstructions1111111111111111111111111 | Gm8VfrmSViEaVjgzQonvV53EK834hcHXRE8DpfxjJe2b |
  | 6URSRuHMFLbMHupeSA8z3Di3decbJ5RXeuXUi9cK6iRP | 326991290   | \[""d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q""] | 6pU3Lk5NJHedSr7LC3Tr5eXS38rp8UH51S6s6LefY2g1 | 326991290-4Hh48XWKV5kknQxkbM5VrCCtzoKvGrkxF5U8utXXC6J3Dc1f74RUwWPb68yGkHt2MB3maR1EisXRpz3NaKBfrwhU-9 | 4Hh48XWKV5kknQxkbM5VrCCtzoKvGrkxF5U8utXXC6J3Dc1f74RUwWPb68yGkHt2MB3maR1EisXRpz3NaKBfrwhU | 2025-03-15T20:31:05.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | H3t6qZ1JkguCNTi9uzVKqQ7dvt2cum4XiXWom6Gn5e5S | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | RepayObligationLiquidityV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 9                  | 138                | 146550000           | 6URSRuHMFLbMHupeSA8z3Di3decbJ5RXeuXUi9cK6iRP | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 35cbRLiVFNRMB9u7kQTmiPDQAXxa5baY54orEgctQc4X | Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB |                           |                           | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | Sysvar1nstructions1111111111111111111111111 | 2Eff8Udy2G2gzNcf2619AnTx3xM4renEv4QrHKjS1o9N |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_RepayObligationLiquidityV2_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_RequestElevationGroup\_instruction

Instruction-level records of elevation group requests in Kamino Lend protocol on Solana, capturing user obligations upgrading to different collateral/risk tiers. Links owners to their lending obligations and elevation group assignments for analyzing borrower behavior and protocol risk segmentation.

<Accordion title="Columns">
  | Column                    | Type        | Description                                                                                                                                                                                                                   |
  | ------------------------- | ----------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                   |
  | `block_slot`              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                 |
  | `transaction_id`          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                               |
  | `transaction_index`       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                     |
  | `transaction_signer`      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                         |
  | `instruction_index`       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                          |
  | `outer_instruction_index` | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.           |
  | `executing_account`       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                              |
  | `outer_executing_account` | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                      |
  | `surrogate_key`           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                               |
  | `instruction_type`        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                    |
  | `in_lendingMarket`        | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                 |
  | `in_obligation`           | `STRING`    | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                          |
  | `in_owner`                | `STRING`    | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                             |
  | `in_remaining`            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                         |
  | `in_elevationGroup`       | `STRING`    | Numeric identifier representing the elevation group tier being requested for a lending obligation in Kamino. Sample values show tier 1 and tier 2, indicating different privilege or risk levels within the lending protocol. |
</Accordion>

<Accordion title="Sample Data">
  | in\_owner                                    | block\_slot | in\_remaining | in\_obligation                               | surrogate\_key                                                                                        | transaction\_id                                                                          | block\_timestamp         | in\_lendingMarket                            | instruction\_type     | executing\_account                          | in\_elevationGroup | instruction\_index | transaction\_index | transaction\_signer                          | outer\_executing\_account | outer\_instruction\_index |
  | -------------------------------------------- | ----------- | ------------- | -------------------------------------------- | ----------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | --------------------- | ------------------------------------------- | ------------------ | ------------------ | ------------------ | -------------------------------------------- | ------------------------- | ------------------------- |
  | HyRR3WVMBKBhvwMWcFgnHNw6aHEqefHd6Br6FcFwRB6h | 252542806   |               | 8BooKxAbeR4acmvGEdjdY7X1UtZMXyYqEAYLzE6Rv15z | 252542806-3LXw1JwSmxPc6XwHsz2EKXcMQrT6oh9bJ1cuTqWiUZmogoYUSv4iTJLBtZSoB94vRwCqoFSRawTsFKMefjCp5H4p-11 | 3LXw1JwSmxPc6XwHsz2EKXcMQrT6oh9bJ1cuTqWiUZmogoYUSv4iTJLBtZSoB94vRwCqoFSRawTsFKMefjCp5H4p | 2024-03-06T22:33:31.000Z | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | RequestElevationGroup | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 1                  | 11                 | 1                  | HyRR3WVMBKBhvwMWcFgnHNw6aHEqefHd6Br6FcFwRB6h |                           |                           |
  | 4bUE55G7tcSN2xYJENrXd4qu8SPyw21utmJYvREcL8LR | 252507460   |               | BaZdDZNAPnLNrJzZ7dHfzWALH6LvwExN23m3Rzi7FAx6 | 252507460-4eAiDRESdGK9isadktVQ51EezMSxkaiGg4eX42FMJBKAxhntTHTxBQQqyW42C7abMy2ez6Cog2c6NPvbi1X9i5nR-12 | 4eAiDRESdGK9isadktVQ51EezMSxkaiGg4eX42FMJBKAxhntTHTxBQQqyW42C7abMy2ez6Cog2c6NPvbi1X9i5nR | 2024-03-06T18:31:34.000Z | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | RequestElevationGroup | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 1                  | 12                 | 97                 | 4bUE55G7tcSN2xYJENrXd4qu8SPyw21utmJYvREcL8LR |                           |                           |
  | 4Mx3bZoB41YZQfqtEiXKcccVcYm6m1TbxnQ8U8dZeYq3 | 252497461   |               | 85JuXuuRwKb6ShVp2XULctReGuPDByyNpyChxyXysY4Q | 252497461-78hpNjmqG3hHmJk5xqubKRUV3Zz8zLGYotVYKCixFPCkKy6aCGKNx9wBK1cHUEtARE8BjqiWwcRemp8WiEULCJQ-12  | 78hpNjmqG3hHmJk5xqubKRUV3Zz8zLGYotVYKCixFPCkKy6aCGKNx9wBK1cHUEtARE8BjqiWwcRemp8WiEULCJQ  | 2024-03-06T17:23:44.000Z | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | RequestElevationGroup | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 1                  | 12                 | 17                 | 4Mx3bZoB41YZQfqtEiXKcccVcYm6m1TbxnQ8U8dZeYq3 |                           |                           |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_RequestElevationGroup_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_UpdateGlobalConfig\_instruction

UpdateGlobalConfig instruction events from Kamino Lend protocol on Solana, capturing administrative changes to global configuration settings like fee collectors and pending admins. Used for tracking protocol governance actions and parameter modifications by multisig administrators.

<Accordion title="Columns">
  | Column                    | Type        | Description                                                                                                                                                                                                         |
  | ------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index` | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account` | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_globalAdmin`          | `STRING`    | Solana account address of the global administrator authorized to execute configuration changes on the Kamino lending protocol. Base58-encoded public key that controls protocol-wide administrative permissions.    |
  | `in_globalConfig`         | `STRING`    | Account address of the Kamino Lend global configuration. Base58-encoded Solana public key.                                                                                                                          |
  | `in_remaining`            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
  | `in_mode`                 | `STRING`    | Operational mode identifier for the transaction or instruction. Integer or string value specifying the configuration, action type, or execution variant being performed.                                            |
  | `in_value`                | `STRING`    | Amount of tokens transferred, minted, or burned in the operation. Numeric string representation preserving precision for large integer values.                                                                      |
</Accordion>

<Accordion title="Sample Data">
  | in\_mode     | in\_value | block\_slot | in\_remaining | surrogate\_key                                                                                         | in\_globalAdmin                              | transaction\_id                                                                          | block\_timestamp         | in\_globalConfig                             | instruction\_type  | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | outer\_executing\_account                   | outer\_instruction\_index |
  | ------------ | --------- | ----------- | ------------- | ------------------------------------------------------------------------------------------------------ | -------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ------------------ | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | ------------------------------------------- | ------------------------- |
  | FeeCollector |           | 344805532   |               | 344805532-33uNZcNxt8DFdciWKFWwWgq5AKev9jfouukfYVpdGgjxh83De4nnX9azn3keDzRqngoHMkCUv559C4KpnEjH7oaZ-3-1 | GzFgdRJXmawPhGeBsyRCDLx4jAKPsvbUqoqitzppkzkW | 33uNZcNxt8DFdciWKFWwWgq5AKev9jfouukfYVpdGgjxh83De4nnX9azn3keDzRqngoHMkCUv559C4KpnEjH7oaZ | 2025-06-05T15:11:12.000Z | BEe6HXZf6cByeb8iCxukjB8k74kJN3cVbBAGi49Hfi6W | UpdateGlobalConfig | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 1                  | 178                | 5ggs2vd1csz74YMCzxesmcUEd3ycYFKAW6kfyttVYwBv | SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf | 3                         |
  | PendingAdmin |           | 344805532   |               | 344805532-33uNZcNxt8DFdciWKFWwWgq5AKev9jfouukfYVpdGgjxh83De4nnX9azn3keDzRqngoHMkCUv559C4KpnEjH7oaZ-3-0 | GzFgdRJXmawPhGeBsyRCDLx4jAKPsvbUqoqitzppkzkW | 33uNZcNxt8DFdciWKFWwWgq5AKev9jfouukfYVpdGgjxh83De4nnX9azn3keDzRqngoHMkCUv559C4KpnEjH7oaZ | 2025-06-05T15:11:12.000Z | BEe6HXZf6cByeb8iCxukjB8k74kJN3cVbBAGi49Hfi6W | UpdateGlobalConfig | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 178                | 5ggs2vd1csz74YMCzxesmcUEd3ycYFKAW6kfyttVYwBv | SQDS4ep65T869zMMBKyuUq6aD6EgTu8psMjkvj52pCf | 3                         |
  | FeeCollector |           | 369165811   |               | 369165811-TnEit1Wscv8TmmzX5G3D8gfu2LNbC2CcaAXoeQ1Rb3UAsDbRbb6DABf19A8qCg5LWVd6TTpAJp1H6mg2hC6qhKi-2-0  | A9rQoX1sictAQkyXxaZA8nz674xutHwoqpK2mwLyexCZ | TnEit1Wscv8TmmzX5G3D8gfu2LNbC2CcaAXoeQ1Rb3UAsDbRbb6DABf19A8qCg5LWVd6TTpAJp1H6mg2hC6qhKi  | 2025-09-25T12:17:39.000Z | BEe6HXZf6cByeb8iCxukjB8k74kJN3cVbBAGi49Hfi6W | UpdateGlobalConfig | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 18                 | 2RJJ1ZZpeQLm6HEQ1HtcrGJUzQa8hKQgjgDf7ANz9Rd5 | SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu | 2                         |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_UpdateGlobalConfig_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_UpdateGlobalConfigAdmin\_instruction

Administrative configuration change events from Kamino Lend protocol on Solana tracking global config admin updates. Records instruction-level details including pending admin address changes and transaction signers for protocol governance monitoring.

<Accordion title="Columns">
  | Column                    | Type        | Description                                                                                                                                                                                                         |
  | ------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index` | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account` | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_globalConfig`         | `STRING`    | Account address of the Kamino Lend global configuration. Base58-encoded Solana public key.                                                                                                                          |
  | `in_pendingAdmin`         | `STRING`    | Account address of the new administrator pending approval for the Kamino Lend global configuration. Base58-encoded Solana public key identifying the account that will assume admin privileges upon confirmation.   |
  | `in_remaining`            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
</Accordion>

<Accordion title="Sample Data">
  | block\_slot | in\_remaining | surrogate\_key                                                                                         | transaction\_id                                                                          | block\_timestamp         | in\_globalConfig                             | in\_pendingAdmin                             | instruction\_type       | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | outer\_executing\_account                   | outer\_instruction\_index |
  | ----------- | ------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | -------------------------------------------- | ----------------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | ------------------------------------------- | ------------------------- |
  | 344836086   |               | 344836086-5Z9FF7HEkJue97hsbvCHr6atWiKeY9tFyh9aGPgPbP6qC8QSkVjfSDK3ArVqyvFf3ndoiDUc6QN1amjG9BXt2afk-2-0 | 5Z9FF7HEkJue97hsbvCHr6atWiKeY9tFyh9aGPgPbP6qC8QSkVjfSDK3ArVqyvFf3ndoiDUc6QN1amjG9BXt2afk | 2025-06-05T18:31:05.000Z | BEe6HXZf6cByeb8iCxukjB8k74kJN3cVbBAGi49Hfi6W | A9rQoX1sictAQkyXxaZA8nz674xutHwoqpK2mwLyexCZ | UpdateGlobalConfigAdmin | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 445                | 5ggs2vd1csz74YMCzxesmcUEd3ycYFKAW6kfyttVYwBv | SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu | 2                         |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_UpdateGlobalConfigAdmin_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_UpdateLendingMarket\_instruction

Instruction-level records of lending market parameter updates from Kamino Lend protocol on Solana, capturing market owner operations that modify configurations like interest rates and collateral factors. Used for analyzing protocol governance actions and risk parameter changes across different lending markets.

<Accordion title="Columns">
  | Column                    | Type        | Description                                                                                                                                                                                                         |
  | ------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index` | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account` | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_lendingMarket`        | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                       |
  | `in_lendingMarketOwner`   | `STRING`    | Account address that owns and has administrative control over the lending market. Base58-encoded Solana public key.                                                                                                 |
  | `in_remaining`            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
  | `in_mode`                 | `STRING`    | Operational mode identifier for the transaction or instruction. Integer or string value specifying the configuration, action type, or execution variant being performed.                                            |
  | `in_value`                | `STRING`    | Amount of tokens transferred, minted, or burned in the operation. Numeric string representation preserving precision for large integer values.                                                                      |
</Accordion>

<Accordion title="Sample Data">
  | in\_mode | in\_value | block\_slot | in\_remaining | surrogate\_key                                                                                       | transaction\_id                                                                          | block\_timestamp         | in\_lendingMarket                            | instruction\_type   | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | in\_lendingMarketOwner                       | outer\_executing\_account | outer\_instruction\_index |
  | -------- | --------- | ----------- | ------------- | ---------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ------------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------- |
  | 0        |           | 338447830   |               | 338447830-3s46MkV7BdLz4wkJaxmtdHCFXkreBX4zkm1JSv3D7X2ytpswkmc2fgvzhLTuJfz4RJY8kVznLqu3AZoJvA4wMM1Y-0 | 3s46MkV7BdLz4wkJaxmtdHCFXkreBX4zkm1JSv3D7X2ytpswkmc2fgvzhLTuJfz4RJY8kVznLqu3AZoJvA4wMM1Y | 2025-05-07T14:27:10.000Z | C7h9YnjPrDvNhe2cWWDhCu4CZEB1XTTH4RzjmsHuengV | UpdateLendingMarket | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 346                | FU76ac2Hm2mo4hoyckhAKDrbKTFwxyDPHnrrERfMXusE | FU76ac2Hm2mo4hoyckhAKDrbKTFwxyDPHnrrERfMXusE |                           |                           |
  | 19       |           | 338437504   |               | 338437504-fkmX3nPNnA6mvd2SPKqcMPHLwfz9UDdGyUJJqow3kmGJ6KBcv5PZJFH7sPham66NGxZW3dPmvk3Eoegei8Muyao-2  | fkmX3nPNnA6mvd2SPKqcMPHLwfz9UDdGyUJJqow3kmGJ6KBcv5PZJFH7sPham66NGxZW3dPmvk3Eoegei8Muyao  | 2025-05-07T13:19:17.000Z | CuSNbDHVEXGfptpnbDRW5VxTRhGsz7BrudK95cJhH8uV | UpdateLendingMarket | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 44                 | FU76ac2Hm2mo4hoyckhAKDrbKTFwxyDPHnrrERfMXusE | FU76ac2Hm2mo4hoyckhAKDrbKTFwxyDPHnrrERfMXusE |                           |                           |
  | 19       |           | 338437861   |               | 338437861-5u1b2mPgFskdtAZL8qzZcbLpHm9qgu3p87xcZkHmKLqC2swRHQLKgkcmooaxsx3CtgUchNe8W6J7hSikfP74ib2t-2 | 5u1b2mPgFskdtAZL8qzZcbLpHm9qgu3p87xcZkHmKLqC2swRHQLKgkcmooaxsx3CtgUchNe8W6J7hSikfP74ib2t | 2025-05-07T13:21:39.000Z | CLaP7aQkFWHJnfp6YRjCsX9h74b6neV2gpLeZf5HgiWH | UpdateLendingMarket | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 153                | FU76ac2Hm2mo4hoyckhAKDrbKTFwxyDPHnrrERfMXusE | FU76ac2Hm2mo4hoyckhAKDrbKTFwxyDPHnrrERfMXusE |                           |                           |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_UpdateLendingMarket_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_UpdateLendingMarketOwner\_instruction

Ownership transfer events for Kamino lending markets on Solana, capturing when lending market control is transferred to a new owner address. Used for tracking governance changes and administrative control of lending pools.

<Accordion title="Columns">
  | Column                        | Type        | Description                                                                                                                                                                                                         |
  | ----------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`             | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`                  | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`              | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`           | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`          | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`           | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index`     | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`           | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account`     | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`               | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`            | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_lendingMarket`            | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                       |
  | `in_lendingMarketOwnerCached` | `STRING`    | Solana account address of the cached owner for the Kamino lending market being updated. Base58-encoded string representing the previous owner before the ownership transfer.                                        |
  | `in_remaining`                | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
</Accordion>

<Accordion title="Sample Data">
  | block\_slot | in\_remaining | surrogate\_key                                                                                         | transaction\_id                                                                          | block\_timestamp         | in\_lendingMarket                            | instruction\_type        | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | outer\_executing\_account                   | outer\_instruction\_index | in\_lendingMarketOwnerCached                 |
  | ----------- | ------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ------------------------ | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | ------------------------------------------- | ------------------------- | -------------------------------------------- |
  | 349139893   |               | 349139893-2ZcysRJt9TN7sHfhsaBuBe2JSWeMaTC3NeQpb6ZCp27shL6zcpLV25KvnwUsoYiXyyyUfUGJRwxNouQ5oZcizbSy-2-0 | 2ZcysRJt9TN7sHfhsaBuBe2JSWeMaTC3NeQpb6ZCp27shL6zcpLV25KvnwUsoYiXyyyUfUGJRwxNouQ5oZcizbSy | 2025-06-25T16:17:15.000Z | 52FSGeeokLpgvgAMdqxyt5Hoc2TbUYj5b8yxrEdZ37Vf | UpdateLendingMarketOwner | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 24                 | DFheUjWj6BL9CuF8gAYfF6TgrbrruTTCc3vE6Ajn1gyK | SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu | 2                         | A9rQoX1sictAQkyXxaZA8nz674xutHwoqpK2mwLyexCZ |
  | 299453026   |               | 299453026-rdj1vBnHCHwyAkQWePvckJ7uTtvKfJ2GiYkRWZeg5ptXuQ44YrWpYcgkJJ8anaYEmKA7UM9bFs8PGgoHBEr2svg-2-0  | rdj1vBnHCHwyAkQWePvckJ7uTtvKfJ2GiYkRWZeg5ptXuQ44YrWpYcgkJJ8anaYEmKA7UM9bFs8PGgoHBEr2svg  | 2024-11-04T11:42:24.000Z | H6rHXmXoCQvq8Ue81MqNh7ow5ysPa1dSozwW3PU1dDH6 | UpdateLendingMarketOwner | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 187                | 2RJJ1ZZpeQLm6HEQ1HtcrGJUzQa8hKQgjgDf7ANz9Rd5 | SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu | 2                         | A9rQoX1sictAQkyXxaZA8nz674xutHwoqpK2mwLyexCZ |
  | 346556333   |               | 346556333-3tnwtBHpB39yg7qFfakvwTjDM6L8yJZJZs6fkw8ktEcbPPBC4yFP7kD4E9roimPDzR4nr9zaHQayw2o9tELZnSXH-2-0 | 3tnwtBHpB39yg7qFfakvwTjDM6L8yJZJZs6fkw8ktEcbPPBC4yFP7kD4E9roimPDzR4nr9zaHQayw2o9tELZnSXH | 2025-06-13T16:13:44.000Z | 3koBPZPPV4Ag4DPWCyTdAVGxzxABWw9vEZ9vX8sjbbM2 | UpdateLendingMarketOwner | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 63                 | 2RJJ1ZZpeQLm6HEQ1HtcrGJUzQa8hKQgjgDf7ANz9Rd5 | SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu | 2                         | A9rQoX1sictAQkyXxaZA8nz674xutHwoqpK2mwLyexCZ |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_UpdateLendingMarketOwner_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_UpdateReserveConfig\_instruction

Reserve configuration update instructions from Kamino Lend protocol on Solana. Used to analyze parameter changes like interest rates, utilization thresholds, and risk settings across lending markets.

<Accordion title="Columns">
  | Column                             | Type        | Description                                                                                                                                                                                                         |
  | ---------------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                  | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                         |
  | `block_slot`                       | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                       |
  | `transaction_id`                   | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                     |
  | `transaction_index`                | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                           |
  | `transaction_signer`               | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                               |
  | `instruction_index`                | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                |
  | `outer_instruction_index`          | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction. |
  | `executing_account`                | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                    |
  | `outer_executing_account`          | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                            |
  | `surrogate_key`                    | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                     |
  | `instruction_type`                 | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                          |
  | `in_lendingMarket`                 | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                       |
  | `in_remaining`                     | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                               |
  | `in_reserve`                       | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                 |
  | `in_signer`                        | `STRING`    | Account that authorized the instruction execution. Base58-encoded Solana public key.                                                                                                                                |
  | `in_mode`                          | `STRING`    | Operational mode identifier for the transaction or instruction. Integer or string value specifying the configuration, action type, or execution variant being performed.                                            |
  | `in_skipConfigIntegrityValidation` | `STRING`    | Flag indicating whether to bypass configuration validation checks when updating reserve parameters. Always false in sample data, ensuring parameter changes undergo integrity validation.                           |
  | `in_value`                         | `STRING`    | Amount of tokens transferred, minted, or burned in the operation. Numeric string representation preserving precision for large integer values.                                                                      |
</Accordion>

<Accordion title="Sample Data">
  | in\_mode                      | in\_value | in\_signer                                   | block\_slot | in\_reserve                                  | in\_remaining | surrogate\_key                                                                                         | transaction\_id                                                                          | block\_timestamp         | in\_lendingMarket                            | instruction\_type   | executing\_account                          | instruction\_index | transaction\_index | transaction\_signer                          | outer\_executing\_account                   | outer\_instruction\_index | in\_skipConfigIntegrityValidation |
  | ----------------------------- | --------- | -------------------------------------------- | ----------- | -------------------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ------------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | ------------------------------------------- | ------------------------- | --------------------------------- |
  | UpdateTokenInfoLowerHeuristic |           | A9rQoX1sictAQkyXxaZA8nz674xutHwoqpK2mwLyexCZ | 301562395   | 9TD2TSv4pENb8VwfbVYg25jvym7HN6iuAR6pFNSrKjqQ |               | 301562395-3S14KuPtdoExtRYCgdFXCnC2uG1tC5rW4S2itccLhWcbmVVTKti6ZqM1syArimyGwb1kPe9AD8hzp66xtqVx5dDh-2-0 | 3S14KuPtdoExtRYCgdFXCnC2uG1tC5rW4S2itccLhWcbmVVTKti6ZqM1syArimyGwb1kPe9AD8hzp66xtqVx5dDh | 2024-11-15T14:31:55.000Z | ByYiZxp8QrdN9qbdtaAiePN8AAr3qvTPppNJDpf5DVJ5 | UpdateReserveConfig | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 15                 | 2RJJ1ZZpeQLm6HEQ1HtcrGJUzQa8hKQgjgDf7ANz9Rd5 | SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu | 2                         | false                             |
  | UpdateEntireReserveConfig     |           | A9rQoX1sictAQkyXxaZA8nz674xutHwoqpK2mwLyexCZ | 301527502   | Ga4rZytCpq1unD4DbEJ5bkHeUz9g3oh9AAFEi6vSauXp |               | 301527502-6Ct32VbpgRu4LxEarEXM1FUSj2sP7NroU5j1edZhMPByWqVuWkzP6nLYtesZxxuPs8Yiht3zPLYqjNtz7PNCPrE-2-0  | 6Ct32VbpgRu4LxEarEXM1FUSj2sP7NroU5j1edZhMPByWqVuWkzP6nLYtesZxxuPs8Yiht3zPLYqjNtz7PNCPrE  | 2024-11-15T10:17:00.000Z | DxXdAyU3kCjnyggvHmY5nAwg5cRbbmdyX3npfDMjjMek | UpdateReserveConfig | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 60                 | 2RJJ1ZZpeQLm6HEQ1HtcrGJUzQa8hKQgjgDf7ANz9Rd5 | SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu | 2                         | false                             |
  | UpdateAutodeleverageEnabled   |           | A9rQoX1sictAQkyXxaZA8nz674xutHwoqpK2mwLyexCZ | 301527502   | Ga4rZytCpq1unD4DbEJ5bkHeUz9g3oh9AAFEi6vSauXp |               | 301527502-6Ct32VbpgRu4LxEarEXM1FUSj2sP7NroU5j1edZhMPByWqVuWkzP6nLYtesZxxuPs8Yiht3zPLYqjNtz7PNCPrE-2-1  | 6Ct32VbpgRu4LxEarEXM1FUSj2sP7NroU5j1edZhMPByWqVuWkzP6nLYtesZxxuPs8Yiht3zPLYqjNtz7PNCPrE  | 2024-11-15T10:17:00.000Z | DxXdAyU3kCjnyggvHmY5nAwg5cRbbmdyX3npfDMjjMek | UpdateReserveConfig | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 1                  | 60                 | 2RJJ1ZZpeQLm6HEQ1HtcrGJUzQa8hKQgjgDf7ANz9Rd5 | SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu | 2                         | false                             |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_UpdateReserveConfig_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_WithdrawObligationCollateral\_instruction

Collateral withdrawal instruction records from Kamino Lend protocol on Solana, capturing users removing collateral tokens from their lending obligations. Useful for analyzing deleveraging activity and collateral management across lending markets.

<Accordion title="Columns">
  | Column                         | Type        | Description                                                                                                                                                                                                                     |
  | ------------------------------ | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`              | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                     |
  | `block_slot`                   | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                   |
  | `transaction_id`               | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                 |
  | `transaction_index`            | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                       |
  | `transaction_signer`           | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                           |
  | `instruction_index`            | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                            |
  | `outer_instruction_index`      | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.             |
  | `executing_account`            | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                |
  | `outer_executing_account`      | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                        |
  | `surrogate_key`                | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                 |
  | `instruction_type`             | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                      |
  | `in_instructionSysvarAccount`  | `STRING`    | Address of the Solana Instructions Sysvar account. Contains introspection data about currently executing instructions, always `Sysvar1nstructions1111111111111111111111111`.                                                    |
  | `in_lendingMarket`             | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                   |
  | `in_lendingMarketAuthority`    | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                        |
  | `in_obligation`                | `STRING`    | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                            |
  | `in_owner`                     | `STRING`    | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                               |
  | `in_remaining`                 | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                           |
  | `in_reserveSourceCollateral`   | `STRING`    | Account address of the reserve's collateral token account serving as the source for withdrawn collateral. Base58-encoded Solana public key.                                                                                     |
  | `in_tokenProgram`              | `STRING`    | Address of the Solana Token Program invoked for token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_userDestinationCollateral` | `STRING`    | Account address of the user's token account receiving collateral tokens from the operation. Base58-encoded Solana public key.                                                                                                   |
  | `in_withdrawReserve`           | `STRING`    | Account address of the reserve from which collateral is being withdrawn. Base58-encoded Solana public key.                                                                                                                      |
  | `in_collateralAmount`          | `STRING`    | Amount of collateral tokens involved in the operation. Decimal-encoded string representing the quantity in the token's base units.                                                                                              |
</Accordion>

<Accordion title="Sample Data">
  | in\_owner                                    | block\_slot | in\_remaining | in\_obligation                               | surrogate\_key                                                                                          | transaction\_id                                                                          | block\_timestamp         | in\_tokenProgram                            | in\_lendingMarket                            | instruction\_type            | executing\_account                          | instruction\_index | transaction\_index | in\_withdrawReserve                          | transaction\_signer                          | in\_collateralAmount | outer\_executing\_account                   | outer\_instruction\_index | in\_lendingMarketAuthority                   | in\_reserveSourceCollateral                  | in\_instructionSysvarAccount                | in\_userDestinationCollateral                |
  | -------------------------------------------- | ----------- | ------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------- | ---------------------------------------------------------------------------------------- | ------------------------ | ------------------------------------------- | -------------------------------------------- | ---------------------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------------------------------- | -------------------- | ------------------------------------------- | ------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- |
  | FKXrRSwG2ugEt1waao9P6UbnCZyNiBwHDj8m4nLfdteq | 297037547   |               | 5wo6tyWLtmTAp7XzGzC4JnKVgyTukNLYgoQtkpxeET1d | 297037547-2zrKtEpzyUuBfHTSgzCjjB8MyZmuMxo7U3n4pnjnV3x4MJV44sZwcHuMde1bvmuAtzWeHmwmukpNd7TDgDJFzkzm-10-2 | 2zrKtEpzyUuBfHTSgzCjjB8MyZmuMxo7U3n4pnjnV3x4MJV44sZwcHuMde1bvmuAtzWeHmwmukpNd7TDgDJFzkzm | 2024-10-22T10:48:10.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | DxXdAyU3kCjnyggvHmY5nAwg5cRbbmdyX3npfDMjjMek | WithdrawObligationCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 2                  | 81                 | Ga4rZytCpq1unD4DbEJ5bkHeUz9g3oh9AAFEi6vSauXp | 71hhezkHQ2dhmPySsHVCCkLggfWzPFEBdfEjbn4NCXMG | 919643238            | SANDsy8SBzwUE8Zio2mrYZYqL52Phr2WQb9DDKuXMVK | 10                        | B9spsrMK6pJicYtukaZzDyzsUQLgc3jbx5gHVwdDxb6y | 6WnymZBTAekuHf9DgsaDKJ397oEZ3qMApNMHg9qjqhgm | Sysvar1nstructions1111111111111111111111111 | 21Hvtp5nwgmRCj4TetFDVNpi3Mwgh6aZZ5aunFVLWmKJ |
  | GeXibGhHiCPvtJKCGEKWHnHvGnk1tT3VfzYz8s5G3v4y | 297038695   |               | DwPPT9UBwS6AzWjNSf7CALUtP1LVvPfHYRo1q6ccXF3e | 297038695-59QhMJfqsE6fKgdCuY1BX8rWuWyH5RL19yVSbdFUGzogZpFh1GsMHbU1y9ux2v3fbYiycK9M6DeTYGqbB8Jv8zrT-9-4  | 59QhMJfqsE6fKgdCuY1BX8rWuWyH5RL19yVSbdFUGzogZpFh1GsMHbU1y9ux2v3fbYiycK9M6DeTYGqbB8Jv8zrT | 2024-10-22T10:57:00.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | WithdrawObligationCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 4                  | 49                 | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 | F526ZxNo3jWn7SWJMFTzy2C969m9y8jPZp2fTLKfmjUM | 442694784            | SANDsy8SBzwUE8Zio2mrYZYqL52Phr2WQb9DDKuXMVK | 9                         | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | 3DzjXRfxRm6iejfyyMynR4tScddaanrePJ1NJU2XnPPL | Sysvar1nstructions1111111111111111111111111 | ExnMarMRVUffHgkf26zJdyiPDW4iJw4fSm5zXfdWd5KD |
  | GeXibGhHiCPvtJKCGEKWHnHvGnk1tT3VfzYz8s5G3v4y | 297055268   |               | DwPPT9UBwS6AzWjNSf7CALUtP1LVvPfHYRo1q6ccXF3e | 297055268-2vdtGMmymAteEu7GaNkstP81KH1G2Rrr1ig5RhXcf6NwAESGqyPXqMR6CvuVfz28bJQA2omk9jBZjDbKAdzhmiSZ-9-4  | 2vdtGMmymAteEu7GaNkstP81KH1G2Rrr1ig5RhXcf6NwAESGqyPXqMR6CvuVfz28bJQA2omk9jBZjDbKAdzhmiSZ | 2024-10-22T13:06:47.000Z | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | WithdrawObligationCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 4                  | 127                | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 | FpoyioVTsKum1VZ5GFu4Lfdw4PTUrizgMN26EU3ikKiH | 1822162              | SANDsy8SBzwUE8Zio2mrYZYqL52Phr2WQb9DDKuXMVK | 9                         | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | 3DzjXRfxRm6iejfyyMynR4tScddaanrePJ1NJU2XnPPL | Sysvar1nstructions1111111111111111111111111 | ExnMarMRVUffHgkf26zJdyiPDW4iJw4fSm5zXfdWd5KD |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_WithdrawObligationCollateral_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_WithdrawObligationCollateralAndRedeemReserveCollateral\_instruction

Kamino Lend collateral withdrawal and redemption instruction records on Solana, capturing when users withdraw collateral from lending obligations and redeem reserve collateral tokens. Used for tracking lending protocol withdrawals, collateral movements, and obligation management across Kamino's DeFi lending markets.

<Accordion title="Columns">
  | Column                                    | Type        | Description                                                                                                                                                                                                                             |
  | ----------------------------------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                             |
  | `block_slot`                              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                           |
  | `transaction_id`                          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                         |
  | `transaction_index`                       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                               |
  | `transaction_signer`                      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                                   |
  | `instruction_index`                       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                                    |
  | `outer_instruction_index`                 | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.                     |
  | `executing_account`                       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                        |
  | `outer_executing_account`                 | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                                |
  | `surrogate_key`                           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                         |
  | `instruction_type`                        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                              |
  | `in_collateralTokenProgram`               | `STRING`    | Address of the Solana Token Program managing collateral token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_instructionSysvarAccount`             | `STRING`    | Address of the Solana Instructions Sysvar account. Contains introspection data about currently executing instructions, always `Sysvar1nstructions1111111111111111111111111`.                                                            |
  | `in_lendingMarket`                        | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                           |
  | `in_lendingMarketAuthority`               | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                                |
  | `in_liquidityTokenProgram`                | `STRING`    | Address of the Solana Token Program managing liquidity token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022.  |
  | `in_obligation`                           | `STRING`    | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                                    |
  | `in_owner`                                | `STRING`    | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                       |
  | `in_placeholderUserDestinationCollateral` | `STRING`    | Placeholder account address reserved for future collateral destination functionality in the Kamino lending protocol. Base58-encoded Solana public key.                                                                                  |
  | `in_remaining`                            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                                   |
  | `in_reserveCollateralMint`                | `STRING`    | Mint address of the collateral token for the reserve. Base58-encoded Solana public key.                                                                                                                                                 |
  | `in_reserveLiquidityMint`                 | `STRING`    | Mint address of the liquidity token for the reserve. Base58-encoded Solana public key.                                                                                                                                                  |
  | `in_reserveLiquiditySupply`               | `STRING`    | Account address of the reserve's liquidity supply token account holding deposited tokens. Base58-encoded Solana public key.                                                                                                             |
  | `in_reserveSourceCollateral`              | `STRING`    | Account address of the reserve's collateral token account serving as the source for withdrawn collateral. Base58-encoded Solana public key.                                                                                             |
  | `in_userDestinationLiquidity`             | `STRING`    | Account address of the token account receiving borrowed or redeemed liquidity from the lending protocol operation. Base58-encoded Solana public key.                                                                                    |
  | `in_withdrawReserve`                      | `STRING`    | Account address of the reserve from which collateral is being withdrawn. Base58-encoded Solana public key.                                                                                                                              |
  | `in_collateralAmount`                     | `STRING`    | Amount of collateral tokens involved in the operation. Decimal-encoded string representing the quantity in the token's base units.                                                                                                      |
</Accordion>

<Accordion title="Sample Data">
  | in\_owner                                    | block\_slot | in\_remaining | in\_obligation                               | surrogate\_key                                                                                         | transaction\_id                                                                          | block\_timestamp         | in\_lendingMarket                            | instruction\_type                                      | executing\_account                          | instruction\_index | transaction\_index | in\_withdrawReserve                          | transaction\_signer                          | in\_collateralAmount | in\_reserveLiquidityMint                     | outer\_executing\_account                    | outer\_instruction\_index | in\_liquidityTokenProgram                   | in\_reserveCollateralMint                    | in\_collateralTokenProgram                  | in\_lendingMarketAuthority                   | in\_reserveLiquiditySupply                   | in\_reserveSourceCollateral                  | in\_instructionSysvarAccount                | in\_userDestinationLiquidity                 | in\_placeholderUserDestinationCollateral     |
  | -------------------------------------------- | ----------- | ------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ------------------------------------------------------ | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------------------------------- | -------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
  | AkXq1GYFWfwbVEdNHXyMN2mwuYHXCGtD7XgmtWzdonft | 328437545   |               | 4Y8X3SKcU8CGwCAjs1pWzBrdo6dxDPebDmxAGDmrPcsp | 328437545-nWG4V2RCr4eQTkynpTZcgE72skygQsPgpDkYodHFisS2xU8od3ZgtPQkABTdV8a5FLNbcT6kzK8KKwoHXsjWzTw-10   | nWG4V2RCr4eQTkynpTZcgE72skygQsPgpDkYodHFisS2xU8od3ZgtPQkABTdV8a5FLNbcT6kzK8KKwoHXsjWzTw  | 2025-03-22T12:56:54.000Z | H6rHXmXoCQvq8Ue81MqNh7ow5ysPa1dSozwW3PU1dDH6 | WithdrawObligationCollateralAndRedeemReserveCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 10                 | 103                | 9TdUdZpnXoLQbqt5guR8fVdZZDgcQsLkUV2nr3SGRSJ8 | AkXq1GYFWfwbVEdNHXyMN2mwuYHXCGtD7XgmtWzdonft | 18446744073709551615 | ezSoL6fY1PVdJcJsUpe5CM3xkfmy3zoVCABybm5WtiC  |                                              |                           | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2XGBz71xGFunL38qVSnZ4F2Con7bwxMR4qrDnMjmnZSG | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | Dx8iy2o46sK1DzWbEcznqSKeLbLVeu7otkibA3WohGAj | E6gJVXNvHk7297HM5GndqAqVSBtYLNdiEt1ya1R5usYS | Fexz6GXsv5APztw39vPsijz4ghaKpBMwn2fuoysHszRF | Sysvar1nstructions1111111111111111111111111 | eu3Tbw4yoKx8P3AyeyvqenXSQij2cvqsstSQJmAz6sP  | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD  |
  | EUKN4zxhvpYkoAca21Sgx5eCVGByAWQ9sK9dwkyei5eQ | 328510481   |               | C5s8yCZUXGXStv3b6oBQCcEhVAoFi2ZXxLktgd3ygDP  | 328510481-vajpfoy6E41tJeqw3KR3eVV1YsGBZGGLL6E53jvva1eEBeTRGw3dP7n5MSE9ijaTVycusAXUDYNVgLQuRSpzDJ7-8-5  | vajpfoy6E41tJeqw3KR3eVV1YsGBZGGLL6E53jvva1eEBeTRGw3dP7n5MSE9ijaTVycusAXUDYNVgLQuRSpzDJ7  | 2025-03-22T21:02:44.000Z | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | WithdrawObligationCollateralAndRedeemReserveCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 5                  | 230                | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 | 8PWR75ppAGonv9dXStjficjXmdsuDKmDoVNcy4oYhAMs | 18446744073709551615 | EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v | FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q | 8                         | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | B8V6WVjPxW1UGwVDfxH2d2r8SyT4cqn7dQRK6XneVa7D | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | Bgq7trRgVMeq33yt235zM2onQ4bRDBsY5EWiTetF4qw6 | 3DzjXRfxRm6iejfyyMynR4tScddaanrePJ1NJU2XnPPL | Sysvar1nstructions1111111111111111111111111 | DT2eJHMMSghYXPXoYEdzVphgfHQ7BQMofqCZaFtCMgAE | 2Bdqe39C3EtEmWk34MXngxeqALxSYKcEA1vxrT47ELdq |
  | GfNHMXQANBBSAAz95F8LFBQ9kfZFFNHt6afVbxDa2wAb | 328494515   |               | C3dbbEwfAQQhYsLcXUYVNbVornHVRTao8izxBjAW2zqn | 328494515-58L9g3NZXmg1NPGSnJCZayu1PVh4a174YfTdEtCri7YN5DETJ7ijD7jwVwQ1ppnw1mcDEth7Xbu1mP747o1x7W5k-8-5 | 58L9g3NZXmg1NPGSnJCZayu1PVh4a174YfTdEtCri7YN5DETJ7ijD7jwVwQ1ppnw1mcDEth7Xbu1mP747o1x7W5k | 2025-03-22T19:16:19.000Z | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | WithdrawObligationCollateralAndRedeemReserveCollateral | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 5                  | 134                | D6q6wuQSrifJKZYpR1M8R4YawnLDtDsMmWM1NbBmgJ59 | 8PWR75ppAGonv9dXStjficjXmdsuDKmDoVNcy4oYhAMs | 18446744073709551615 | EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v | FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q | 8                         | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | B8V6WVjPxW1UGwVDfxH2d2r8SyT4cqn7dQRK6XneVa7D | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | Bgq7trRgVMeq33yt235zM2onQ4bRDBsY5EWiTetF4qw6 | 3DzjXRfxRm6iejfyyMynR4tScddaanrePJ1NJU2XnPPL | Sysvar1nstructions1111111111111111111111111 | EoxYohrotXZ7wdjoire2FLLdwky1ssNBeJq98qrqyAGr | 2obLQYumNYT6Saux3TBvDtkyeQnHKfdxbjgDQDUEDyx4 |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_WithdrawObligationCollateralAndRedeemReserveCollateral_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_WithdrawObligationCollateralAndRedeemReserveCollateralV2\_instruction

Kamino Lend withdrawal instruction events on Solana where users redeem collateral tokens from lending obligations and convert them to underlying liquidity tokens. Tracks SOL-collateralized position exits with farm state updates and token program interactions for analyzing lending protocol outflows.

<Accordion title="Columns">
  | Column                                    | Type        | Description                                                                                                                                                                                                                             |
  | ----------------------------------------- | ----------- | --------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`                         | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                             |
  | `block_slot`                              | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                           |
  | `transaction_id`                          | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                         |
  | `transaction_index`                       | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                               |
  | `transaction_signer`                      | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                                   |
  | `instruction_index`                       | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                                    |
  | `outer_instruction_index`                 | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.                     |
  | `executing_account`                       | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                        |
  | `outer_executing_account`                 | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                                |
  | `surrogate_key`                           | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                         |
  | `instruction_type`                        | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                              |
  | `in_collateralTokenProgram`               | `STRING`    | Address of the Solana Token Program managing collateral token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_farmsProgram`                         | `STRING`    | Address of the Kamino Farms Program contract managing reward and incentive distribution. Base58-encoded Solana public key.                                                                                                              |
  | `in_instructionSysvarAccount`             | `STRING`    | Address of the Solana Instructions Sysvar account. Contains introspection data about currently executing instructions, always `Sysvar1nstructions1111111111111111111111111`.                                                            |
  | `in_lendingMarket`                        | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                           |
  | `in_lendingMarketAuthority`               | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                                |
  | `in_liquidityTokenProgram`                | `STRING`    | Address of the Solana Token Program managing liquidity token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022.  |
  | `in_obligation`                           | `STRING`    | Account address of the obligation being managed in the lending protocol operation. Base58-encoded Solana public key.                                                                                                                    |
  | `in_obligationFarmUserState`              | `STRING`    | Account address of the user's farm state tracking their farming rewards and participation for the obligation. Base58-encoded Solana public key.                                                                                         |
  | `in_owner`                                | `STRING`    | Address that owns or controls the shares or position being deposited or withdrawn. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                       |
  | `in_placeholderUserDestinationCollateral` | `STRING`    | Placeholder account address reserved for future collateral destination functionality in the Kamino lending protocol. Base58-encoded Solana public key.                                                                                  |
  | `in_remaining`                            | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                                   |
  | `in_reserveCollateralMint`                | `STRING`    | Mint address of the collateral token for the reserve. Base58-encoded Solana public key.                                                                                                                                                 |
  | `in_reserveFarmState`                     | `STRING`    | Account address of the reserve's farm state tracking farming rewards and user participation. Base58-encoded Solana public key.                                                                                                          |
  | `in_reserveLiquidityMint`                 | `STRING`    | Mint address of the liquidity token for the reserve. Base58-encoded Solana public key.                                                                                                                                                  |
  | `in_reserveLiquiditySupply`               | `STRING`    | Account address of the reserve's liquidity supply token account holding deposited tokens. Base58-encoded Solana public key.                                                                                                             |
  | `in_reserveSourceCollateral`              | `STRING`    | Account address of the reserve's collateral token account serving as the source for withdrawn collateral. Base58-encoded Solana public key.                                                                                             |
  | `in_userDestinationLiquidity`             | `STRING`    | Account address of the token account receiving borrowed or redeemed liquidity from the lending protocol operation. Base58-encoded Solana public key.                                                                                    |
  | `in_withdrawReserve`                      | `STRING`    | Account address of the reserve from which collateral is being withdrawn. Base58-encoded Solana public key.                                                                                                                              |
  | `in_collateralAmount`                     | `STRING`    | Amount of collateral tokens involved in the operation. Decimal-encoded string representing the quantity in the token's base units.                                                                                                      |
</Accordion>

<Accordion title="Sample Data">
  | in\_owner                                    | block\_slot | in\_remaining | in\_obligation                               | surrogate\_key                                                                                         | transaction\_id                                                                          | block\_timestamp         | in\_farmsProgram                             | in\_lendingMarket                            | instruction\_type                                        | executing\_account                          | instruction\_index | transaction\_index | in\_withdrawReserve                         | transaction\_signer                          | in\_collateralAmount | in\_reserveFarmState                         | in\_reserveLiquidityMint                    | outer\_executing\_account                    | outer\_instruction\_index | in\_liquidityTokenProgram                   | in\_reserveCollateralMint                    | in\_collateralTokenProgram                  | in\_lendingMarketAuthority                   | in\_reserveLiquiditySupply                   | in\_obligationFarmUserState                  | in\_reserveSourceCollateral                  | in\_instructionSysvarAccount                | in\_userDestinationLiquidity                 | in\_placeholderUserDestinationCollateral     |
  | -------------------------------------------- | ----------- | ------------- | -------------------------------------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | -------------------------------------------- | -------------------------------------------------------- | ------------------------------------------- | ------------------ | ------------------ | ------------------------------------------- | -------------------------------------------- | -------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | -------------------------------------------- |
  | G4Uhy1QLTAoo2dnyGfFMC69XcnqWARismTWK3gwbkK1p | 337821895   |               | 9xTMdiS8CxXGUGkDpSxnbAjdZPo5Lkju9UAm2nJMXqYm | 337821895-eXpCgcy9t1BWRzQnVtVDQcYeGEPyY6qJUatsmJAZvsNmnYGWWjrwa9mewLQJkQPnZWRjDk4gUNpnguRjTexXCyG-8-5  | eXpCgcy9t1BWRzQnVtVDQcYeGEPyY6qJUatsmJAZvsNmnYGWWjrwa9mewLQJkQPnZWRjDk4gUNpnguRjTexXCyG  | 2025-05-04T17:50:14.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | WithdrawObligationCollateralAndRedeemReserveCollateralV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 5                  | 53                 | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q | 8PWR75ppAGonv9dXStjficjXmdsuDKmDoVNcy4oYhAMs | 18446744073709551615 | 955xWFhSDcDiUgUr4sBRtCpTLiMd4H5uZLAmgtP3R3sX | So11111111111111111111111111111111111111112 | FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q | 8                         | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2UywZrUdyqs5vDchy7fKQJKau2RVyuzBev2XKGPDSiX1 | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | 2LH2vjDtWQL2fj8XqTsBET5Ugsipsaw4ByNmZ72oN1zy | 8NXMyRD91p3nof61BTkJvrfpGTASHygz1cUvc3HvwyGS | Sysvar1nstructions1111111111111111111111111 | 7py7BxTPC3j73tt9fQioHKbwoKqfqFEqTp6aFQwMiLv5 | 2F8YAzibvxphVxb7kxeiR4go5o7yojSWxSGuN94DsAeb |
  | CMQM9c2tu9SyDUhDfRa82VQd3vxjAT4fHKtULCU42sqA | 337822685   |               | 2FT1S4wzYys5M6CpZz2hqpmwL7JUkWWszqr84epMByqX | 337822685-2NCY8Xsx7HtkpHYC9jxKRXsBRYFcMaraWWjS6KG7j8AA5EkmeLHHx6gRALHGLa3XxRbsHEN8C7sBhciZedFueDmH-7-5 | 2NCY8Xsx7HtkpHYC9jxKRXsBRYFcMaraWWjS6KG7j8AA5EkmeLHHx6gRALHGLa3XxRbsHEN8C7sBhciZedFueDmH | 2025-05-04T17:55:28.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | WithdrawObligationCollateralAndRedeemReserveCollateralV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 5                  | 128                | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q | 8PWR75ppAGonv9dXStjficjXmdsuDKmDoVNcy4oYhAMs | 18446744073709551615 | 955xWFhSDcDiUgUr4sBRtCpTLiMd4H5uZLAmgtP3R3sX | So11111111111111111111111111111111111111112 | FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q | 7                         | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2UywZrUdyqs5vDchy7fKQJKau2RVyuzBev2XKGPDSiX1 | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | hwG3VUi3SvZhtQTvyk4Sor1Xohskx7TRVEbKEz1ivUb  | 8NXMyRD91p3nof61BTkJvrfpGTASHygz1cUvc3HvwyGS | Sysvar1nstructions1111111111111111111111111 | 85jNRDanfCN8cCnahoP3JF3RAhVE7EN6xPqhvRRzFssV | 8NHKR4MbQVsx4oYtrXgAx6MLai4roDBMX8Vwuotzxhur |
  | 7YtRapm5EFBsrh2Vt6EpGNChDJx1hcdLwYEcZWvTRcbo | 337819602   |               | AXVdu3d9nS5LcPrrGN52GvvNK3PBYNQp1Uz8PLKGs45Y | 337819602-BVASt38iZsCusbon8dwBCFmH1k4X7CjCoUa6TnvAk2MEFHJdQbkDiSnd3AKUijhUxiFrBZLZ3tMwAN7WCif9321-7-5  | BVASt38iZsCusbon8dwBCFmH1k4X7CjCoUa6TnvAk2MEFHJdQbkDiSnd3AKUijhUxiFrBZLZ3tMwAN7WCif9321  | 2025-05-04T17:35:13.000Z | FarmsPZpWu9i7Kky8tPN37rs2TpmMrAZrC7S7vJa91Hr | 7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF | WithdrawObligationCollateralAndRedeemReserveCollateralV2 | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 5                  | 93                 | d4A2prbA2whesmvHaL88BH6Ewn5N4bTSU2Ze8P6Bc4Q | 8PWR75ppAGonv9dXStjficjXmdsuDKmDoVNcy4oYhAMs | 18446744073709551615 | 955xWFhSDcDiUgUr4sBRtCpTLiMd4H5uZLAmgtP3R3sX | So11111111111111111111111111111111111111112 | FL3X2pRsQ9zHENpZSKDRREtccwJuei8yg9fwDu9UN69Q | 7                         | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 2UywZrUdyqs5vDchy7fKQJKau2RVyuzBev2XKGPDSiX1 | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | 9DrvZvyWh1HuAoZxvYWMvkf2XCzryCpGgHqrMjyDWpmo | GafNuUXj9rxGLn4y79dPu6MHSuPWeJR6UtTWuexpGh3U | F64mkMmj9mJbyefgVDU1Hur6QAXn5tJZrTUqrXzHJ6oa | 8NXMyRD91p3nof61BTkJvrfpGTASHygz1cUvc3HvwyGS | Sysvar1nstructions1111111111111111111111111 | 56o7wWozpUBhUGYJ6g2AerPJjKexj8cXHmfYmmqZyWnY | Akeh7bLDW6ENtdM8spjX4W18Ls1pRKc2NwEQb7gSuSPy |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_WithdrawObligationCollateralAndRedeemReserveCollateralV2_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***

### KaminoLend\_WithdrawProtocolFee\_instruction

Protocol fee withdrawal instructions from Kamino Lend v1 on Solana, recording transfers from reserve fee vaults to collector accounts. Used for tracking protocol revenue extraction and fee accumulation across lending markets.

<Accordion title="Columns">
  | Column                      | Type        | Description                                                                                                                                                                                                                     |
  | --------------------------- | ----------- | ------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
  | `block_timestamp`           | `TIMESTAMP` | Timestamp when the block was produced. UTC timezone, millisecond precision.                                                                                                                                                     |
  | `block_slot`                | `INT64`     | Slot number of the block containing the transaction. Sequential integer representing block position in the Solana blockchain.                                                                                                   |
  | `transaction_id`            | `STRING`    | Unique identifier for the transaction. Base58-encoded string for Solana transactions, hex-encoded string for Flow transactions.                                                                                                 |
  | `transaction_index`         | `INT64`     | Position of the transaction within its containing block. Zero-indexed integer representing the sequential order of transaction execution.                                                                                       |
  | `transaction_signer`        | `STRING`    | Account that signed and authorized the transaction. Base58-encoded Solana public key.                                                                                                                                           |
  | `instruction_index`         | `INT64`     | Position of the instruction within the transaction. Zero-indexed integer representing the sequential order of instruction execution.                                                                                            |
  | `outer_instruction_index`   | `INT64`     | Position of the parent instruction that invoked the current instruction through a Cross-Program Invocation. Zero-indexed integer representing the sequential order of the outer instruction within the transaction.             |
  | `executing_account`         | `STRING`    | Program address that executed the instruction. Base58-encoded Solana public key.                                                                                                                                                |
  | `outer_executing_account`   | `STRING`    | Program address that invoked the current instruction when execution occurs as a nested Cross-Program Invocation (CPI). Base58-encoded Solana public key.                                                                        |
  | `surrogate_key`             | `STRING`    | Composite identifier for the instruction or event. Concatenation of block\_slot, transaction\_id, and instruction\_index, separated by hyphens.                                                                                 |
  | `instruction_type`          | `STRING`    | Type of instruction or operation being executed. Categorizes the specific action performed within the program or protocol.                                                                                                      |
  | `in_feeCollectorAta`        | `STRING`    | Associated token account (ATA) address that receives the withdrawn protocol fees for the specified reserve's liquidity mint. Base58-encoded Solana account identifier unique to each reserve-fee collector pair.                |
  | `in_feeVault`               | `STRING`    | Solana account address of the vault holding accumulated protocol fees for this reserve. Base58-encoded Solana public key where withdrawn fees are stored before collection.                                                     |
  | `in_globalConfig`           | `STRING`    | Account address of the Kamino Lend global configuration. Base58-encoded Solana public key.                                                                                                                                      |
  | `in_lendingMarket`          | `STRING`    | Address of the Kamino lending market contract managing the pool or reserve. Base58-encoded Solana public key.                                                                                                                   |
  | `in_lendingMarketAuthority` | `STRING`    | Authority address of the Kamino lending market contract with signing privileges for market operations. Base58-encoded Solana public key.                                                                                        |
  | `in_remaining`              | `STRING`    | Remaining amount after the operation. Decimal-encoded string representing token quantity or order size left unfilled.                                                                                                           |
  | `in_reserve`                | `STRING`    | Contract address of the reserve asset in the lending pool operation. Hex-encoded, 0x-prefixed, 42-character string.                                                                                                             |
  | `in_reserveLiquidityMint`   | `STRING`    | Mint address of the liquidity token for the reserve. Base58-encoded Solana public key.                                                                                                                                          |
  | `in_tokenProgram`           | `STRING`    | Address of the Solana Token Program invoked for token operations. Base58-encoded public key, typically TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA for SPL Token or TokenzQdBNbLqP5VEhdkAS6EPFLC1PHnBqCXEpPxuEb for Token-2022. |
  | `in_amount`                 | `STRING`    | Input amount for the swap, transaction, or operation. Numeric string representation of token quantity in smallest denomination.                                                                                                 |
</Accordion>

<Accordion title="Sample Data">
  | in\_amount           | block\_slot | in\_reserve                                  | in\_feeVault                                 | in\_remaining | surrogate\_key                                                                                         | transaction\_id                                                                          | block\_timestamp         | in\_globalConfig                             | in\_tokenProgram                            | in\_lendingMarket                            | instruction\_type   | executing\_account                          | instruction\_index | transaction\_index | in\_feeCollectorAta                          | transaction\_signer                          | in\_reserveLiquidityMint                     | outer\_executing\_account                   | outer\_instruction\_index | in\_lendingMarketAuthority                   |
  | -------------------- | ----------- | -------------------------------------------- | -------------------------------------------- | ------------- | ------------------------------------------------------------------------------------------------------ | ---------------------------------------------------------------------------------------- | ------------------------ | -------------------------------------------- | ------------------------------------------- | -------------------------------------------- | ------------------- | ------------------------------------------- | ------------------ | ------------------ | -------------------------------------------- | -------------------------------------------- | -------------------------------------------- | ------------------------------------------- | ------------------------- | -------------------------------------------- |
  | 18446744073709551615 | 325879770   | 3xSpNvuHAfyzpWxUg2kJkVHWhrBcGLL7RxkZyzecQZkw | Fib3TGPxZCHkFLKBvkmtFSiRnTXTsmtTcaJYgXk5sJTd |               | 325879770-2cLXqR6sh97kpHpoqnYeCR6tuskD1i9CX61WVhb2RP17j19MF1HKBsDuk7h1fkmqmyWFP6z3KDXpB5H3o17mpwMC-2-0 | 2cLXqR6sh97kpHpoqnYeCR6tuskD1i9CX61WVhb2RP17j19MF1HKBsDuk7h1fkmqmyWFP6z3KDXpB5H3o17mpwMC | 2025-03-10T17:55:08.000Z | A9rQoX1sictAQkyXxaZA8nz674xutHwoqpK2mwLyexCZ | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | ByYiZxp8QrdN9qbdtaAiePN8AAr3qvTPppNJDpf5DVJ5 | WithdrawProtocolFee | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 394                | 3CdwYfGDK4GzeFw43pZ9uq6je5Jb25ArDPRoZjRXXc6f | 7tH1k4PsMu3sNUYJxD5ezxhAmYYXyVVZz5c3dbaxcvUV | 7GCihgDB8fe6KNjn2MYtkzZcRjQy3t9GHdC8uHYmW2hr | SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu | 2                         | 81BgcfZuZf9bESLvw3zDkh7cZmMtDwTPgkCvYu7zx26o |
  | 18446744073709551615 | 325879775   | CoFdsnQeCUyJefhKK6GQaAPT9PEx8Xcs2jejtp9jgn38 | 39ocRfiS3Vd9udRF2inopvvcJQ4kt469YpFsvsDv3j5P |               | 325879775-sB9RK8v9Dv6y65QPrsRb1vMEAXHPzDSNi7gVTnRkMfg69n5jEb9DhVjg7qtD3SVPdiAMN8Xe9GNdLS2uny5ebNo-2-0  | sB9RK8v9Dv6y65QPrsRb1vMEAXHPzDSNi7gVTnRkMfg69n5jEb9DhVjg7qtD3SVPdiAMN8Xe9GNdLS2uny5ebNo  | 2025-03-10T17:55:10.000Z | A9rQoX1sictAQkyXxaZA8nz674xutHwoqpK2mwLyexCZ | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | ByYiZxp8QrdN9qbdtaAiePN8AAr3qvTPppNJDpf5DVJ5 | WithdrawProtocolFee | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 158                | HMmrfx57agv7hmk7cR5j49UBh9AXMgrdEw5GrD3o1qki | 7tH1k4PsMu3sNUYJxD5ezxhAmYYXyVVZz5c3dbaxcvUV | DezXAZ8z7PnrnRJjz3wXBoRgixCa6xjnB7YaB1pPB263 | SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu | 2                         | 81BgcfZuZf9bESLvw3zDkh7cZmMtDwTPgkCvYu7zx26o |
  | 18446744073709551615 | 325879785   | 3AKyRviT87dt9jP3RHpfFjxmSVNbR68Wx7UejnUyaSFH | 8E9KASABPpy81FBFKCSuqVzoZBXpZ2CuVZyXdwu4wmzn |               | 325879785-5YGLcyPZbSskEGraF43FwqnUyZF87qgnRN9Jxj4oNEymdFkXw3415FPRA1GejdAYDK2imJGYrfXnSbNEkj9TPb1o-2-0 | 5YGLcyPZbSskEGraF43FwqnUyZF87qgnRN9Jxj4oNEymdFkXw3415FPRA1GejdAYDK2imJGYrfXnSbNEkj9TPb1o | 2025-03-10T17:55:14.000Z | A9rQoX1sictAQkyXxaZA8nz674xutHwoqpK2mwLyexCZ | TokenkegQfeZyiNwAJbNbGKPFXCWuBvf9Ss623VQ5DA | ByYiZxp8QrdN9qbdtaAiePN8AAr3qvTPppNJDpf5DVJ5 | WithdrawProtocolFee | KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD | 0                  | 125                | BKV54R19pEdBZFQudRgPYSNYzWqAfGsiUa2pfjT8Dmjr | 7tH1k4PsMu3sNUYJxD5ezxhAmYYXyVVZz5c3dbaxcvUV | JUPyiwrYJFskUPiHa7hkeR8VUtAeFoSYbKedZNsDvCN  | SMPLecH534NA9acpos4G6x7uf3LWbCAwZQE9e8ZekMu | 2                         | 81BgcfZuZf9bESLvw3zDkh7cZmMtDwTPgkCvYu7zx26o |
</Accordion>

<Accordion title="Example Query">
  **Query with partition filter**

  ```sql theme={null}
  SELECT *
  FROM `tt-contracts.kamino_v1_solana.KaminoLend_WithdrawProtocolFee_instruction`
  WHERE block_timestamp >= DATE_SUB(CURRENT_DATE(), INTERVAL 7 DAY)
  LIMIT 100
  ```
</Accordion>

***
