cURL
curl --request GET \
--url https://gateway.architect.exchange/api/funding-transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://gateway.architect.exchange/api/funding-transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gateway.architect.exchange/api/funding-transactions', 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://gateway.architect.exchange/api/funding-transactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://gateway.architect.exchange/api/funding-transactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://gateway.architect.exchange/api/funding-transactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.architect.exchange/api/funding-transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"funding_transactions": [
{
"account_id": "<string>",
"amount": "<string>",
"currency": "<string>",
"event_id": "<string>",
"sequence_number": 123,
"settlement_price": "<string>",
"symbol": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"transaction_type": "funding",
"benchmark_price": "<string>",
"funding_amount": "<string>",
"funding_rate": "<string>",
"reference_id": "<string>"
}
],
"limit": 1,
"next_cursor": "<string>",
"total_count": 1
}Portfolio management
Get funding transactions
Returns historical funding transactions for the authenticated user, newest first by default, paged via the response cursor. The time range is optional and unbounded; an inverted range (`end_timestamp_ns` <= `start_timestamp_ns`) is rejected with a 400. A query too expensive to serve is also rejected with a 400 asking the caller to narrow the range. Pages may be returned partial.
GET
/
funding-transactions
cURL
curl --request GET \
--url https://gateway.architect.exchange/api/funding-transactions \
--header 'Authorization: Bearer <token>'import requests
url = "https://gateway.architect.exchange/api/funding-transactions"
headers = {"Authorization": "Bearer <token>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {Authorization: 'Bearer <token>'}};
fetch('https://gateway.architect.exchange/api/funding-transactions', 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://gateway.architect.exchange/api/funding-transactions",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"Authorization: Bearer <token>"
],
]);
$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://gateway.architect.exchange/api/funding-transactions"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("Authorization", "Bearer <token>")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.get("https://gateway.architect.exchange/api/funding-transactions")
.header("Authorization", "Bearer <token>")
.asString();require 'uri'
require 'net/http'
url = URI("https://gateway.architect.exchange/api/funding-transactions")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["Authorization"] = 'Bearer <token>'
response = http.request(request)
puts response.read_body{
"funding_transactions": [
{
"account_id": "<string>",
"amount": "<string>",
"currency": "<string>",
"event_id": "<string>",
"sequence_number": 123,
"settlement_price": "<string>",
"symbol": "<string>",
"timestamp": "2023-11-07T05:31:56Z",
"transaction_type": "funding",
"benchmark_price": "<string>",
"funding_amount": "<string>",
"funding_rate": "<string>",
"reference_id": "<string>"
}
],
"limit": 1,
"next_cursor": "<string>",
"total_count": 1
}Authorizations
User session token
Query Parameters
Optional account ID. If omitted, default (primary) user account is used.
Required range:
x >= 0Required range:
x >= 0Required range:
x >= 0Timestamp sort direction (defaults to desc).
Available options:
asc, desc Response
List of funding transactions