Liệt kê nhật ký sự kiện on-chain cho một hoặc nhiều limit-order PDA
curl --request GET \
--url https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pdaimport requests
url = "https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pda"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pda', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pda",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pda"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pda")
.asString();require 'uri'
require 'net/http'
url = URI("https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pda")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"rows": [
{
"pda": "<string>",
"txid": "<string>",
"slot": 123,
"blockTime": 123,
"poolId": "<string>",
"mintA": "<string>",
"mintB": "<string>",
"zeroForOne": true,
"tick": 123,
"price": 123,
"autoRunner": true,
"type": "open",
"inputAmountChangeUi": 123,
"inputAmountValuePreUi": 123,
"inputAmountValuePostUi": 123,
"outputAmountChangeUi": 123,
"outputAmountValuePreUi": 123,
"outputAmountValuePostUi": 123
}
],
"nextPageId": "<string>"
},
"id": "<string>"
}{
"success": false,
"msg": "<string>",
"id": "<string>"
}{
"success": false,
"msg": "<string>",
"id": "<string>"
}Temporary
Liệt kê nhật ký sự kiện on-chain cho một hoặc nhiều limit-order PDA
Trả về nhật ký sự kiện (open, increase, decrease, settle, close) cho một hoặc nhiều limit-order PDA. Hữu ích để hiển thị timeline theo từng lệnh. Phân trang theo cursor thông qua nextPageId.
GET
/
limit-order
/
history
/
event
/
list-by-pda
Liệt kê nhật ký sự kiện on-chain cho một hoặc nhiều limit-order PDA
curl --request GET \
--url https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pdaimport requests
url = "https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pda"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pda', options)
.then(res => res.json())
.then(res => console.log(res))
.catch(err => console.error(err));<?php
$curl = curl_init();
curl_setopt_array($curl, [
CURLOPT_URL => "https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pda",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"net/http"
"io"
)
func main() {
url := "https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pda"
req, _ := http.NewRequest("GET", url, nil)
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pda")
.asString();require 'uri'
require 'net/http'
url = URI("https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pda")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
response = http.request(request)
puts response.read_body{
"success": true,
"data": {
"rows": [
{
"pda": "<string>",
"txid": "<string>",
"slot": 123,
"blockTime": 123,
"poolId": "<string>",
"mintA": "<string>",
"mintB": "<string>",
"zeroForOne": true,
"tick": 123,
"price": 123,
"autoRunner": true,
"type": "open",
"inputAmountChangeUi": 123,
"inputAmountValuePreUi": 123,
"inputAmountValuePostUi": 123,
"outputAmountChangeUi": 123,
"outputAmountValuePreUi": 123,
"outputAmountValuePostUi": 123
}
],
"nextPageId": "<string>"
},
"id": "<string>"
}{
"success": false,
"msg": "<string>",
"id": "<string>"
}{
"success": false,
"msg": "<string>",
"id": "<string>"
}Tham số truy vấn
Một hoặc nhiều khóa công khai của limit-order PDA, phân cách bằng dấu phẩy. Mỗi giá trị phải là một pubkey base58 hợp lệ.
Con trỏ phân trang không rõ ràng được trả về từ trang trước (TTL ~1h).
Kích thước trang (1–100, mặc định 20).
Trang này có hữu ích không?

