List address Actions
curl --request GET \
--url https://dev.backend.scan.biya.io/api/v1/dex/addresses/{address}/transactionsimport requests
url = "https://dev.backend.scan.biya.io/api/v1/dex/addresses/{address}/transactions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://dev.backend.scan.biya.io/api/v1/dex/addresses/{address}/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/dex/addresses/{address}/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/dex/addresses/{address}/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/dex/addresses/{address}/transactions")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.backend.scan.biya.io/api/v1/dex/addresses/{address}/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{
"transactions": [
{
"hash": "<string>",
"blockHeight": 123,
"blockActionIndex": 123,
"blockTime": 123,
"initiator": "<string>",
"type": "<string>"
}
],
"page": 123,
"pageSize": 20,
"totalPages": 123,
"matchedCount": 123,
"browsableCount": 123,
"indexedTotal": 123,
"chainTotal": 123,
"scopeLimit": 123,
"snapshotHeight": 123,
"address": "<string>",
"timezone": "UTC+8"
}{
"error": "block not found"
}{
"error": "block not found"
}{
"error": "block not found"
}DEX
List address Actions
Actions initiated by one 20-byte address. Date filters are UTC+8 natural
days in YYYY-MM-DD. A valid address with no Actions returns an empty page.
GET
/
api
/
v1
/
dex
/
addresses
/
{address}
/
transactions
List address Actions
curl --request GET \
--url https://dev.backend.scan.biya.io/api/v1/dex/addresses/{address}/transactionsimport requests
url = "https://dev.backend.scan.biya.io/api/v1/dex/addresses/{address}/transactions"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://dev.backend.scan.biya.io/api/v1/dex/addresses/{address}/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/dex/addresses/{address}/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/dex/addresses/{address}/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/dex/addresses/{address}/transactions")
.asString();require 'uri'
require 'net/http'
url = URI("https://dev.backend.scan.biya.io/api/v1/dex/addresses/{address}/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{
"transactions": [
{
"hash": "<string>",
"blockHeight": 123,
"blockActionIndex": 123,
"blockTime": 123,
"initiator": "<string>",
"type": "<string>"
}
],
"page": 123,
"pageSize": 20,
"totalPages": 123,
"matchedCount": 123,
"browsableCount": 123,
"indexedTotal": 123,
"chainTotal": 123,
"scopeLimit": 123,
"snapshotHeight": 123,
"address": "<string>",
"timezone": "UTC+8"
}{
"error": "block not found"
}{
"error": "block not found"
}{
"error": "block not found"
}Path Parameters
20-byte 0x-prefixed address.
Pattern:
^0x[0-9a-fA-F]{40}$Query Parameters
1-based page. Out-of-range values are clamped. Default 1.
Immutable upper height from a previous response. Omit to refresh.
Exact original protocol type. Unknown values return 400.
Case-insensitive literal substring of the canonical Action ID. % and _ are not wildcards.
Inclusive UTC+8 date YYYY-MM-DD. Address pages only.
Pattern:
^\d{4}-\d{2}-\d{2}$Inclusive UTC+8 date YYYY-MM-DD. Address pages only.
Pattern:
^\d{4}-\d{2}-\d{2}$Response
Address Action page