Listar o histórico de limit orders CLMM de uma carteira
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,
"fillStatus": "NONE",
"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
Listar o histórico de limit orders CLMM de uma carteira
Retorna as limit orders CLMM encerradas pertencentes à wallet. Cada linha resume o estado da ordem no momento em que saiu do conjunto ativo. Paginação por cursor via nextPageId.
GET
/
limit-order
/
history
/
order
/
list-by-user
Listar o histórico de limit orders CLMM de uma carteira
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,
"fillStatus": "NONE",
"orderInputAmountUi": 123,
"orderOutputAmountUi": 123,
"filledInputAmountUi": 123,
"filledOutputAmountUi": 123
}
],
"nextPageId": "<string>"
},
"id": "<string>"
}{
"success": false,
"msg": "<string>",
"id": "<string>"
}{
"success": false,
"msg": "<string>",
"id": "<string>"
}Parâmetros de consulta
Chave pública da carteira (base58)
Exemplo:
"<your-wallet-pubkey>"
Quando definido como true, exclui as ordens encerradas sem nunca terem sido preenchidas (ou seja, canceladas). Padrão: false.
Pool CLMM opcional para filtrar. Mutuamente exclusivo com mint1 / mint2.
Filtro de mint opcional (token A ou B). Mutuamente exclusivo com poolId.
Segundo filtro de mint opcional. Mutuamente exclusivo com poolId.
Cursor de paginação opaco retornado pela página anterior (TTL ~1h).
Tamanho da página (1–100, padrão 20).
Esta página foi útil?

