List pending actions
Get actions by specified filter.
GET
/
api
/
v3
/
pendingActions
List pending actions
curl --request GET \
--url https://toncenter.com/api/v3/pendingActionsimport requests
url = "https://toncenter.com/api/v3/pendingActions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://toncenter.com/api/v3/pendingActions', 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://toncenter.com/api/v3/pendingActions",
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://toncenter.com/api/v3/pendingActions"
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://toncenter.com/api/v3/pendingActions")
.asString();require 'uri'
require 'net/http'
url = URI("https://toncenter.com/api/v3/pendingActions")
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{
"actions": [
{
"accounts": [
"<string>"
],
"action_id": "<string>",
"details": "<unknown>",
"end_lt": "0",
"end_utime": 123,
"start_lt": "0",
"start_utime": 123,
"success": true,
"trace_end_lt": "0",
"trace_end_utime": 123,
"trace_external_hash": "<string>",
"trace_external_hash_norm": "<string>",
"trace_id": "<string>",
"trace_mc_seqno_end": 123,
"transactions": [
"<string>"
],
"type": "<string>"
}
],
"address_book": {},
"metadata": {}
}{
"code": 123,
"error": "<string>"
}Query Parameters
List of account addresses to get actions. Can be sent in hex, base64 or base64url form.
Find actions by trace external hash
Supported action types
Was this page helpful?
⌘I
List pending actions
curl --request GET \
--url https://toncenter.com/api/v3/pendingActionsimport requests
url = "https://toncenter.com/api/v3/pendingActions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://toncenter.com/api/v3/pendingActions', 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://toncenter.com/api/v3/pendingActions",
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://toncenter.com/api/v3/pendingActions"
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://toncenter.com/api/v3/pendingActions")
.asString();require 'uri'
require 'net/http'
url = URI("https://toncenter.com/api/v3/pendingActions")
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{
"actions": [
{
"accounts": [
"<string>"
],
"action_id": "<string>",
"details": "<unknown>",
"end_lt": "0",
"end_utime": 123,
"start_lt": "0",
"start_utime": 123,
"success": true,
"trace_end_lt": "0",
"trace_end_utime": 123,
"trace_external_hash": "<string>",
"trace_external_hash_norm": "<string>",
"trace_id": "<string>",
"trace_mc_seqno_end": 123,
"transactions": [
"<string>"
],
"type": "<string>"
}
],
"address_book": {},
"metadata": {}
}{
"code": 123,
"error": "<string>"
}