GET Transactions
curl --request GET \
--url https://api.bitski.com/v1/transactions/{transactionId}import requests
url = "https://api.bitski.com/v1/transactions/{transactionId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bitski.com/v1/transactions/{transactionId}', 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.bitski.com/v1/transactions/{transactionId}",
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.bitski.com/v1/transactions/{transactionId}"
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.bitski.com/v1/transactions/{transactionId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bitski.com/v1/transactions/{transactionId}")
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{
"transaction": {
"activity": {
"additionalEvents": [],
"primaryEvent": {
"details": {
"amount": "10000000000000",
"blockNumber": 0,
"from": "0xf1006a889955d8be4a3ba50c5fca04f593d1df20",
"kind": "NATIVE",
"logIndex": null,
"to": "0xb9b7d3d6317d987548919641c8bf1f539da275fc",
"token": {
"chainId": 1,
"coinType": 60,
"collection": {
"image": "https://cdn.bitskistatic.com/images/icons/activity-icons/icon-ethereum-square-3e5ae4354e4a324bc7cb981c28f6752e176af01f75dee10d4e37afe5073e438f.png",
"isEtherscanVerified": true,
"name": "Ethereum",
"updatedAt": "2023-03-22T15:46:40"
},
"contractAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"decimals": 18,
"symbol": "ETH"
},
"transactionHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"eventType": "TOKEN_TRANSFER"
}
},
"clientId": "5bc0d0c2-cd6a-44a6-886b-f3f111008596",
"consentStatus": "INCOMPLETE",
"context": {
"chainId": 1,
"origin": "https://www.bitski.com"
},
"contractInfo": {
"isContract": false,
"isEtherscanVerified": true,
"isOpenseaVerified": false
},
"id": "97fcb5be-388e-4266-a0b1-db431f666019",
"kind": "ETH_SEND_TRANSACTION",
"payload": {
"from": "0xf1006a889955d8be4a3ba50c5fca04f593d1df21",
"to": "0xb9b7d3d6317d987548919641c8bf1f539da275f1",
"type": 2,
"value": "0x09184e72a000"
},
"submitterId": "22ac9c81-1c6a-4818-a28b-6c97bd644e41",
"warnings": []
}
}
Wallet Experience APIs
GET Transactions
Optionally prompt users for approval when signing. Transaction approval screen simulates transaction effects, parses complex transaction results, and displays content in human-readable terms.
GET
/
v1
/
transactions
/
{transactionId}
GET Transactions
curl --request GET \
--url https://api.bitski.com/v1/transactions/{transactionId}import requests
url = "https://api.bitski.com/v1/transactions/{transactionId}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://api.bitski.com/v1/transactions/{transactionId}', 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.bitski.com/v1/transactions/{transactionId}",
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.bitski.com/v1/transactions/{transactionId}"
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.bitski.com/v1/transactions/{transactionId}")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.bitski.com/v1/transactions/{transactionId}")
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{
"transaction": {
"activity": {
"additionalEvents": [],
"primaryEvent": {
"details": {
"amount": "10000000000000",
"blockNumber": 0,
"from": "0xf1006a889955d8be4a3ba50c5fca04f593d1df20",
"kind": "NATIVE",
"logIndex": null,
"to": "0xb9b7d3d6317d987548919641c8bf1f539da275fc",
"token": {
"chainId": 1,
"coinType": 60,
"collection": {
"image": "https://cdn.bitskistatic.com/images/icons/activity-icons/icon-ethereum-square-3e5ae4354e4a324bc7cb981c28f6752e176af01f75dee10d4e37afe5073e438f.png",
"isEtherscanVerified": true,
"name": "Ethereum",
"updatedAt": "2023-03-22T15:46:40"
},
"contractAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"decimals": 18,
"symbol": "ETH"
},
"transactionHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"eventType": "TOKEN_TRANSFER"
}
},
"clientId": "5bc0d0c2-cd6a-44a6-886b-f3f111008596",
"consentStatus": "INCOMPLETE",
"context": {
"chainId": 1,
"origin": "https://www.bitski.com"
},
"contractInfo": {
"isContract": false,
"isEtherscanVerified": true,
"isOpenseaVerified": false
},
"id": "97fcb5be-388e-4266-a0b1-db431f666019",
"kind": "ETH_SEND_TRANSACTION",
"payload": {
"from": "0xf1006a889955d8be4a3ba50c5fca04f593d1df21",
"to": "0xb9b7d3d6317d987548919641c8bf1f539da275f1",
"type": 2,
"value": "0x09184e72a000"
},
"submitterId": "22ac9c81-1c6a-4818-a28b-6c97bd644e41",
"warnings": []
}
}
Access to this API requires authentication. To receive help on accessing this API, please reach out to sales@bitski.com.
Path
string
required
The ID of the transaction to retrieve.
Examples

{
"transaction": {
"activity": {
"additionalEvents": [],
"primaryEvent": {
"details": {
"amount": "10000000000000",
"blockNumber": 0,
"from": "0xf1006a889955d8be4a3ba50c5fca04f593d1df20",
"kind": "NATIVE",
"logIndex": null,
"to": "0xb9b7d3d6317d987548919641c8bf1f539da275fc",
"token": {
"chainId": 1,
"coinType": 60,
"collection": {
"image": "https://cdn.bitskistatic.com/images/icons/activity-icons/icon-ethereum-square-3e5ae4354e4a324bc7cb981c28f6752e176af01f75dee10d4e37afe5073e438f.png",
"isEtherscanVerified": true,
"name": "Ethereum",
"updatedAt": "2023-03-22T15:46:40"
},
"contractAddress": "0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee",
"decimals": 18,
"symbol": "ETH"
},
"transactionHash": "0x0000000000000000000000000000000000000000000000000000000000000000"
},
"eventType": "TOKEN_TRANSFER"
}
},
"clientId": "5bc0d0c2-cd6a-44a6-886b-f3f111008596",
"consentStatus": "INCOMPLETE",
"context": {
"chainId": 1,
"origin": "https://www.bitski.com"
},
"contractInfo": {
"isContract": false,
"isEtherscanVerified": true,
"isOpenseaVerified": false
},
"id": "97fcb5be-388e-4266-a0b1-db431f666019",
"kind": "ETH_SEND_TRANSACTION",
"payload": {
"from": "0xf1006a889955d8be4a3ba50c5fca04f593d1df21",
"to": "0xb9b7d3d6317d987548919641c8bf1f539da275f1",
"type": 2,
"value": "0x09184e72a000"
},
"submitterId": "22ac9c81-1c6a-4818-a28b-6c97bd644e41",
"warnings": []
}
}
⌘I