Get bulk market transactions
curl --request POST \
--url https://api.kamino.finance/v2/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/v2/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/v2/kamino-market/{pubkey}/transactions"
payload = { "instruction": "depositReserveLiquidityAndObligationCollateralV2" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)false{
"result": [
{
"ixs": [
"<unknown>"
],
"timestamp": "2023-11-07T05:31:56Z",
"signature": "<string>",
"obligation": "<string>",
"wallet": "<string>",
"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"
}Kamino Lend Transactions
Get bulk market transactions
Get bulk Kamino Lend transactions for a given market, filtered by instruction name and date range. Private (authorized) API access only, please add a basic auth header to your request.
POST
/
v2
/
kamino-market
/
{pubkey}
/
transactions
Get bulk market transactions
curl --request POST \
--url https://api.kamino.finance/v2/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/v2/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/v2/kamino-market/{pubkey}/transactions"
payload = { "instruction": "depositReserveLiquidityAndObligationCollateralV2" }
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)false{
"result": [
{
"ixs": [
"<unknown>"
],
"timestamp": "2023-11-07T05:31:56Z",
"signature": "<string>",
"obligation": "<string>",
"wallet": "<string>",
"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
Example:
"7u3HeHxYDLhnCoErrtycNokbQYbWGzLs6JSDqGAv5PfF"
Query Parameters
KLend program ID
Example:
"KLend2g3cP87fffoy8q1mQqGKjrxjC8boSyAYavgmjD"
Whether to include raw JSON of the transaction
Available options:
1, true, yes, on, y, enabled Body
application/json
Instruction name to filter by
Example:
"depositReserveLiquidityAndObligationCollateralV2"
Date input (ISO 8601 string or epoch in ms)
Example:
"2024-01-01T00:00:00.000Z"
Date input (ISO 8601 string or epoch in ms)
Example:
"2024-01-01T00:00:00.000Z"
Pagination token for next page
Example:
"eyJsYXN0SWQiOiIxMjM0In0="