curl --request POST \
--url https://api.kamino.finance/v3/kamino-market/{pubkey}/transactions \
--header 'Content-Type: application/json' \
--data '
{
"instruction": "depositReserveLiquidityAndObligationCollateralV2"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({instruction: 'depositReserveLiquidityAndObligationCollateralV2'})
};
fetch('https://api.kamino.finance/v3/kamino-market/{pubkey}/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/v3/kamino-market/{pubkey}/transactions"
payload = { "instruction": "depositReserveLiquidityAndObligationCollateralV2" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)false{
"obligationTransactions": [
{
"ixs": [
"<unknown>"
],
"timestamp": "2023-11-07T05:31:56Z",
"signature": "<string>",
"obligation": "<string>",
"wallet": "<string>",
"rawJson": "<string>"
}
],
"withdrawQueueTransactions": [
{
"ixs": [
"<unknown>"
],
"timestamp": "2023-11-07T05:31:56Z",
"signature": "<string>",
"wallet": "<string>",
"reserve": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"withdrawTicket": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"rawJson": "<string>"
}
],
"paginationToken": "<string>"
}{
"error": "Invalid query request",
"details": [
{
"code": "invalid_union",
"errors": [
[
{
"code": "custom",
"path": [],
"message": "Invalid date string"
}
],
[
{
"expected": "number",
"code": "invalid_type",
"path": [],
"message": "Invalid input: expected number, received string"
}
]
],
"path": [
"start"
],
"message": "Invalid input"
}
]
}{
"error": "Not authorized for this request. Please include the basic auth headers."
}{
"error": "An internal error occurred"
}Get bulk market transactions (v3)
Get bulk Kamino Lend transactions for a given market, filtered by instruction name and date range. Returns obligation transactions and withdraw-queue transactions as sibling arrays; exactly one is populated per request depending on the ix name. Private (authorized) API access only, please add a basic auth header to your request.
curl --request POST \
--url https://api.kamino.finance/v3/kamino-market/{pubkey}/transactions \
--header 'Content-Type: application/json' \
--data '
{
"instruction": "depositReserveLiquidityAndObligationCollateralV2"
}
'const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({instruction: 'depositReserveLiquidityAndObligationCollateralV2'})
};
fetch('https://api.kamino.finance/v3/kamino-market/{pubkey}/transactions', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));import requests
url = "https://api.kamino.finance/v3/kamino-market/{pubkey}/transactions"
payload = { "instruction": "depositReserveLiquidityAndObligationCollateralV2" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)false{
"obligationTransactions": [
{
"ixs": [
"<unknown>"
],
"timestamp": "2023-11-07T05:31:56Z",
"signature": "<string>",
"obligation": "<string>",
"wallet": "<string>",
"rawJson": "<string>"
}
],
"withdrawQueueTransactions": [
{
"ixs": [
"<unknown>"
],
"timestamp": "2023-11-07T05:31:56Z",
"signature": "<string>",
"wallet": "<string>",
"reserve": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"withdrawTicket": "VEG1EMtttdHunMbSza8uoms1R18VXmYSph2bBpHcSJd",
"rawJson": "<string>"
}
],
"paginationToken": "<string>"
}{
"error": "Invalid query request",
"details": [
{
"code": "invalid_union",
"errors": [
[
{
"code": "custom",
"path": [],
"message": "Invalid date string"
}
],
[
{
"expected": "number",
"code": "invalid_type",
"path": [],
"message": "Invalid input: expected number, received string"
}
]
],
"path": [
"start"
],
"message": "Invalid input"
}
]
}{
"error": "Not authorized for this request. Please include the basic auth headers."
}{
"error": "An internal error occurred"
}Path Parameters
Market public key
"7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF"
Query Parameters
KLend program ID
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
Whether to include raw JSON of the transaction. Also accepts other truthy/falsy strings such as "1"/"0", "yes"/"no", "on"/"off".
true, false Body
Instruction name to filter by
"depositReserveLiquidityAndObligationCollateralV2"
Date input (ISO 8601 string or epoch in ms)
"2024-01-01T00:00:00.000Z"
Date input (ISO 8601 string or epoch in ms)
"2024-01-01T00:00:00.000Z"
Pagination token for next page
"eyJsYXN0SWQiOiIxMjM0In0="