跳转到主要内容
GET
/
limit-order
/
history
/
event
/
list-by-pda
获取一个或多个限价订单 PDA 的链上事件日志
curl --request GET \
  --url https://temp-api-v1.raydium.io/limit-order/history/event/list-by-pda
import 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,
        "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>"
}

查询参数

pda
string
必填

一个或多个限价订单 PDA 公钥,以逗号分隔,每个必须是有效的 base58 公钥。

nextPageId
string

由上一页返回的不透明分页游标(TTL 约 1 小时)。

size
integer
默认值:20

每页数量(1–100,默认 20)。

响应

Success

/limit-order/history/event/list-by-pda 的响应数据。

success
boolean
必填
示例:

true

data
object
必填
id
string