列出钱包的历史 CLMM 限价订单
curl --request GET \
--url https://temp-api-v1.raydium.io/limit-order/history/order/list-by-userimport requests
url = "https://temp-api-v1.raydium.io/limit-order/history/order/list-by-user"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://temp-api-v1.raydium.io/limit-order/history/order/list-by-user', 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/order/list-by-user",
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/order/list-by-user"
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/order/list-by-user")
.asString();require 'uri'
require 'net/http'
url = URI("https://temp-api-v1.raydium.io/limit-order/history/order/list-by-user")
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>",
"owner": "<string>",
"poolId": "<string>",
"mintA": "<string>",
"mintB": "<string>",
"zeroForOne": true,
"tick": 123,
"price": 123,
"openBlockTime": 123,
"orderInputAmountUi": 123,
"orderOutputAmountUi": 123,
"filledInputAmountUi": 123,
"filledOutputAmountUi": 123
}
],
"nextPageId": "<string>"
},
"id": "<string>"
}{
"success": false,
"msg": "<string>",
"id": "<string>"
}{
"success": false,
"msg": "<string>",
"id": "<string>"
}Temporary
列出钱包的历史 CLMM 限价订单
返回 wallet 拥有的已关闭 CLMM 限价订单。每条记录为该订单退出活跃集时的状态摘要,通过 nextPageId 进行游标分页。
GET
/
limit-order
/
history
/
order
/
list-by-user
列出钱包的历史 CLMM 限价订单
curl --request GET \
--url https://temp-api-v1.raydium.io/limit-order/history/order/list-by-userimport requests
url = "https://temp-api-v1.raydium.io/limit-order/history/order/list-by-user"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://temp-api-v1.raydium.io/limit-order/history/order/list-by-user', 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/order/list-by-user",
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/order/list-by-user"
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/order/list-by-user")
.asString();require 'uri'
require 'net/http'
url = URI("https://temp-api-v1.raydium.io/limit-order/history/order/list-by-user")
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>",
"owner": "<string>",
"poolId": "<string>",
"mintA": "<string>",
"mintB": "<string>",
"zeroForOne": true,
"tick": 123,
"price": 123,
"openBlockTime": 123,
"orderInputAmountUi": 123,
"orderOutputAmountUi": 123,
"filledInputAmountUi": 123,
"filledOutputAmountUi": 123
}
],
"nextPageId": "<string>"
},
"id": "<string>"
}{
"success": false,
"msg": "<string>",
"id": "<string>"
}{
"success": false,
"msg": "<string>",
"id": "<string>"
}查询参数
钱包公钥(base58)
示例:
"<your-wallet-pubkey>"
设为 true 时,排除从未成交即关闭(即已取消)的订单,默认为 false。
可选的 CLMM pool 过滤条件,与 mint1 / mint2 互斥。
可选的 mint 过滤条件(token A 或 B),与 poolId 互斥。
可选的第二个 mint 过滤条件,与 poolId 互斥。
由上一页返回的不透明分页游标(TTL 约 1 小时)。
每页数量(1–100,默认 20)。
⌘I

