List reward certificate NFT transfers
curl --request GET \
--url https://app.crown-brlv.com/api/v1/accounts/{account-id}/nft-transfersimport requests
url = "https://app.crown-brlv.com/api/v1/accounts/{account-id}/nft-transfers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.crown-brlv.com/api/v1/accounts/{account-id}/nft-transfers', 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://app.crown-brlv.com/api/v1/accounts/{account-id}/nft-transfers",
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://app.crown-brlv.com/api/v1/accounts/{account-id}/nft-transfers"
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://app.crown-brlv.com/api/v1/accounts/{account-id}/nft-transfers")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.crown-brlv.com/api/v1/accounts/{account-id}/nft-transfers")
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{
"transfers": [
{
"id": "660e8400-e29b-41d4-a716-446655440010",
"reward-certificate-id": "660e8400-e29b-41d4-a716-446655440010",
"source-address": "0xabcdef1234567890abcdef1234567890abcdef12",
"target-address": "0x1234567890abcdef1234567890abcdef12345678",
"state": "created",
"created-at": "2024-01-15T10:30:00Z",
"state-updated-at": "2024-01-15T10:30:00Z"
}
]
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}NFT transfers
List Reward Certificate NFT Transfers
Retrieves a list of reward certificate NFT transfers for the authenticated user.
GET
/
api
/
v1
/
accounts
/
{account-id}
/
nft-transfers
List reward certificate NFT transfers
curl --request GET \
--url https://app.crown-brlv.com/api/v1/accounts/{account-id}/nft-transfersimport requests
url = "https://app.crown-brlv.com/api/v1/accounts/{account-id}/nft-transfers"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://app.crown-brlv.com/api/v1/accounts/{account-id}/nft-transfers', 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://app.crown-brlv.com/api/v1/accounts/{account-id}/nft-transfers",
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://app.crown-brlv.com/api/v1/accounts/{account-id}/nft-transfers"
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://app.crown-brlv.com/api/v1/accounts/{account-id}/nft-transfers")
.asString();require 'uri'
require 'net/http'
url = URI("https://app.crown-brlv.com/api/v1/accounts/{account-id}/nft-transfers")
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{
"transfers": [
{
"id": "660e8400-e29b-41d4-a716-446655440010",
"reward-certificate-id": "660e8400-e29b-41d4-a716-446655440010",
"source-address": "0xabcdef1234567890abcdef1234567890abcdef12",
"target-address": "0x1234567890abcdef1234567890abcdef12345678",
"state": "created",
"created-at": "2024-01-15T10:30:00Z",
"state-updated-at": "2024-01-15T10:30:00Z"
}
]
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}{
"error": {
"type": "<string>",
"message": "<string>",
"code": "<string>"
}
}⌘I