Skip to main content
GET
/
v1
/
compute
/
ledger
/
transactions
List Compute Ledger Transactions
curl --request GET \
  --url https://api.dispersed.com/v1/compute/ledger/transactions
import requests

url = "https://api.dispersed.com/v1/compute/ledger/transactions"

response = requests.get(url)

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

fetch('https://api.dispersed.com/v1/compute/ledger/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://api.dispersed.com/v1/compute/ledger/transactions",
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.dispersed.com/v1/compute/ledger/transactions"

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.dispersed.com/v1/compute/ledger/transactions")
.asString();
require 'uri'
require 'net/http'

url = URI("https://api.dispersed.com/v1/compute/ledger/transactions")

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
{
  "data": [
    {
      "amount_usd": 123,
      "object": "compute_ledger_transaction",
      "created_at": "2023-11-07T05:31:56Z",
      "updated_at": "2023-11-07T05:31:56Z",
      "uuid": "<string>",
      "job_run_uuid": "<string>",
      "authorization_uuid": "<string>",
      "consumer_profile_uuid": "<string>",
      "consumer_account_uuid": "<string>",
      "render_user_id": "<string>",
      "render_credit_id": "<string>",
      "memo": "<string>"
    }
  ],
  "limit": 123,
  "page": 123,
  "total": 123
}
{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"timestamp": "<string>",
"details": []
}
}
{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"timestamp": "<string>",
"details": []
}
}
{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"timestamp": "<string>",
"details": []
}
}
{
"error": {
"code": "<string>",
"message": "<string>",
"status": 123,
"timestamp": "<string>",
"details": []
}
}

Query Parameters

limit
integer
Required range: 1 <= x <= 50
Example:

1

page
integer
Required range: 1 <= x <= 9007199254740991
Example:

1

sort
string
Example:

"created_at OR -created_at"

filter[created_at]
string
Example:

"2025-01-01,2025-03-01"

filter[job_run_uuid]
string
filter[authorization_uuid]
string
filter[consumer_account_uuid]
string
filter[type]
string
filter[uuid]
string

Response

List compute ledger transactions

data
object[]
required
limit
integer
required
page
integer
required
total
integer
required