Skip to main content
GET
/
v1
/
public
/
strategy_vault
/
sp
/
transaction_history
Get Strategy Provider Transaction History
curl --request GET \
  --url https://api-sv.orderly.org/v1/public/strategy_vault/sp/transaction_history
import requests

url = "https://api-sv.orderly.org/v1/public/strategy_vault/sp/transaction_history"

response = requests.get(url)

print(response.text)
const options = {method: 'GET'};

fetch('https://api-sv.orderly.org/v1/public/strategy_vault/sp/transaction_history', 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://api-sv.orderly.org/v1/public/strategy_vault/sp/transaction_history",
  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://api-sv.orderly.org/v1/public/strategy_vault/sp/transaction_history"

	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://api-sv.orderly.org/v1/public/strategy_vault/sp/transaction_history")
  .asString();
require 'uri'
require 'net/http'

url = URI("https://api-sv.orderly.org/v1/public/strategy_vault/sp/transaction_history")

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,
  "timestamp": 1702989203989,
  "data": {
    "meta": {
      "total": 9,
      "records_per_page": 20,
      "current_page": 1
    },
    "rows": [
      [
        {
          "created_time": 1734652800000,
          "period_number": 4,
          "type": "withdrawal",
          "source": "wallet",
          "status": "claimable",
          "est_assign_period_time": null,
          "unlock_time": null,
          "est_claim_time": null,
          "chain_id": "1",
          "txn_hash": "0x4dbc4b0cc722d2f401e9a32fe5be7a52c6834785e2084ac78447e94735b8274d",
          "txn_hash_claim": null,
          "shares_change": 60,
          "amount_change": 88.009,
          "transaction_nonce": null
        },
        {
          "created_time": 1734566400000,
          "period_number": 2,
          "type": "withdrawal",
          "source": "wallet",
          "status": "claimed",
          "est_assign_period_time": null,
          "unlock_time": null,
          "est_claim_time": null,
          "chain_id": "1",
          "txn_hash": "0x14a8248f38c2530011ba4c826eb1f1db8dad05025be24461bb42f1bc540ac42e",
          "txn_hash_claim": "0x25b973f86b370e9f1f4b5244242ab8ade3bdbfc1068b74a9b17a2c345a64080f",
          "shares_change": 400,
          "amount_change": 572.001,
          "transaction_nonce": null
        },
        {
          "created_time": 1734480000000,
          "period_number": 1,
          "type": "deposit",
          "source": "WOOFi Pro",
          "status": "available",
          "est_assign_period_time": null,
          "unlock_time": null,
          "est_claim_time": null,
          "chain_id": "1",
          "txn_hash": "0x14a8248f38c2530011ba4c826eb1f1db8dad05025be24461bb42f1bc540ac42e",
          "txn_hash_claim": null,
          "shares_change": 465.83,
          "amount_change": 2800.004,
          "transaction_nonce": null
        }
      ]
    ]
  }
}

Query Parameters

vault_id
string
required
wallet_address
string
required
type
string

deposit / withdrawal / return all if empty

chain_id
string

return all if empty

source
string

wallet / broker_id / return all if empty

page
number

the page you wish to query start from 1

size
number

the page size you wish to query (max: 500)

Response

200 - application/json

Success

success
boolean
Example:

true

timestamp
number
Example:

1702989203989

data
object