Page Actions in a block
curl --request GET \
--url https://dev.backend.scan.biya.io/api/v1/blocks/{height}/transactionsimport requests
url = "https://dev.backend.scan.biya.io/api/v1/blocks/{height}/transactions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://dev.backend.scan.biya.io/api/v1/blocks/{height}/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://dev.backend.scan.biya.io/api/v1/blocks/{height}/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://dev.backend.scan.biya.io/api/v1/blocks/{height}/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://dev.backend.scan.biya.io/api/v1/blocks/{height}/transactions")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.backend.scan.biya.io/api/v1/blocks/{height}/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{
"height": 123,
"blockId": "<string>",
"parentId": "<string>",
"blockTime": 123,
"appHash": "<string>",
"proposer": "<string>",
"knownTransactionCount": 123,
"actionCountComplete": true,
"decodeStatus": "<string>",
"sourceKind": "<string>",
"executionSucceeded": 123,
"executionFailed": 123,
"executionPartial": 123,
"executionUnknown": 123,
"transactions": [
{
"explorerId": "<string>",
"legacyHash": "<string>",
"legacyHashStatus": "<string>",
"blockHeight": 123,
"blockActionIndex": 123,
"bundleIndex": 123,
"actionIndexInBundle": 123,
"blockTime": 123,
"user": "<string>",
"signer": "<string>",
"effectiveUser": "<string>",
"actionType": "<string>",
"action": {},
"signedAction": {},
"status": "included",
"executionStatus": "succeeded",
"executionResponseStatus": "<string>",
"executionResponseType": "<string>",
"error": null,
"decodeStatus": "<string>",
"signatureVerificationStatus": "<string>",
"position": {
"height": 123,
"index": 123
}
}
],
"transactionsLimit": 123,
"transactionsTruncated": true,
"transactionsNextCursor": "<string>",
"nextCursor": "<string>",
"hasMore": true,
"transactionsEndpoint": "<string>"
}{
"error": "block not found"
}{
"error": "block not found"
}{
"error": "block not found"
}{
"error": "block not found"
}{
"error": "block not found"
}Stable
Page Actions in a block
Deterministic ascending Action page for one block.
GET
/
api
/
v1
/
blocks
/
{height}
/
transactions
Page Actions in a block
curl --request GET \
--url https://dev.backend.scan.biya.io/api/v1/blocks/{height}/transactionsimport requests
url = "https://dev.backend.scan.biya.io/api/v1/blocks/{height}/transactions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://dev.backend.scan.biya.io/api/v1/blocks/{height}/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://dev.backend.scan.biya.io/api/v1/blocks/{height}/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://dev.backend.scan.biya.io/api/v1/blocks/{height}/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://dev.backend.scan.biya.io/api/v1/blocks/{height}/transactions")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.backend.scan.biya.io/api/v1/blocks/{height}/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{
"height": 123,
"blockId": "<string>",
"parentId": "<string>",
"blockTime": 123,
"appHash": "<string>",
"proposer": "<string>",
"knownTransactionCount": 123,
"actionCountComplete": true,
"decodeStatus": "<string>",
"sourceKind": "<string>",
"executionSucceeded": 123,
"executionFailed": 123,
"executionPartial": 123,
"executionUnknown": 123,
"transactions": [
{
"explorerId": "<string>",
"legacyHash": "<string>",
"legacyHashStatus": "<string>",
"blockHeight": 123,
"blockActionIndex": 123,
"bundleIndex": 123,
"actionIndexInBundle": 123,
"blockTime": 123,
"user": "<string>",
"signer": "<string>",
"effectiveUser": "<string>",
"actionType": "<string>",
"action": {},
"signedAction": {},
"status": "included",
"executionStatus": "succeeded",
"executionResponseStatus": "<string>",
"executionResponseType": "<string>",
"error": null,
"decodeStatus": "<string>",
"signatureVerificationStatus": "<string>",
"position": {
"height": 123,
"index": 123
}
}
],
"transactionsLimit": 123,
"transactionsTruncated": true,
"transactionsNextCursor": "<string>",
"nextCursor": "<string>",
"hasMore": true,
"transactionsEndpoint": "<string>"
}{
"error": "block not found"
}{
"error": "block not found"
}{
"error": "block not found"
}{
"error": "block not found"
}{
"error": "block not found"
}Path Parameters
Required range:
x >= 0Query Parameters
Exclusive Action cursor height:index.
Pattern:
^[0-9]+:[0-9]+$Default and maximum follow EXPLORER_API_MAX_BLOCK_PAGE (default 500).
Required range:
x >= 1Response
Block Action page
Show child attributes
Show child attributes