cURL
curl --request GET \
--url https://api.jiffyscan.xyz/v0/getLogFromIndex \
--header 'x-api-key: <api-key>'import requests
url = "https://api.jiffyscan.xyz/v0/getLogFromIndex"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.jiffyscan.xyz/v0/getLogFromIndex', 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.jiffyscan.xyz/v0/getLogFromIndex",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.jiffyscan.xyz/v0/getLogFromIndex"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.jiffyscan.xyz/v0/getLogFromIndex")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jiffyscan.xyz/v0/getLogFromIndex")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"log": {
"logIndex": "399",
"transactionHash": "0xf2db8cd38e6b90493845d9fb272198af44f6feab8a9bda569c937771b128fe47",
"transactionLogIndex": "197",
"topics": [
"0x49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f",
"0x3ac3afffa093a658e726a2e8dd181bcee88414779af5b1cd45a7b2457b30b698",
"0x000000000000000000000000771fba46d32692728b2faf6cd8a2e11ea2987532",
"0x0000000000000000000000000000000000000000000000000000000000000000"
],
"removed": false,
"data": "0x000000000000000000000000000000000000000000000000000000000000035e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000004040613c070c20000000000000000000000000000000000000000000000000000000000013212",
"address": "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
}
}User Operations
Get Log From Index
Get User Operation logs
GET
/
getLogFromIndex
cURL
curl --request GET \
--url https://api.jiffyscan.xyz/v0/getLogFromIndex \
--header 'x-api-key: <api-key>'import requests
url = "https://api.jiffyscan.xyz/v0/getLogFromIndex"
headers = {"x-api-key": "<api-key>"}
response = requests.get(url, headers=headers)
print(response.text)const options = {method: 'GET', headers: {'x-api-key': '<api-key>'}};
fetch('https://api.jiffyscan.xyz/v0/getLogFromIndex', 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.jiffyscan.xyz/v0/getLogFromIndex",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "GET",
CURLOPT_HTTPHEADER => [
"x-api-key: <api-key>"
],
]);
$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.jiffyscan.xyz/v0/getLogFromIndex"
req, _ := http.NewRequest("GET", url, nil)
req.Header.Add("x-api-key", "<api-key>")
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.jiffyscan.xyz/v0/getLogFromIndex")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jiffyscan.xyz/v0/getLogFromIndex")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Get.new(url)
request["x-api-key"] = '<api-key>'
response = http.request(request)
puts response.read_body{
"log": {
"logIndex": "399",
"transactionHash": "0xf2db8cd38e6b90493845d9fb272198af44f6feab8a9bda569c937771b128fe47",
"transactionLogIndex": "197",
"topics": [
"0x49628fd1471006c1482da88028e9ce4dbb080b815c9b0344d39e5a8e6ec1419f",
"0x3ac3afffa093a658e726a2e8dd181bcee88414779af5b1cd45a7b2457b30b698",
"0x000000000000000000000000771fba46d32692728b2faf6cd8a2e11ea2987532",
"0x0000000000000000000000000000000000000000000000000000000000000000"
],
"removed": false,
"data": "0x000000000000000000000000000000000000000000000000000000000000035e00000000000000000000000000000000000000000000000000000000000000010000000000000000000000000000000000000000000000000004040613c070c20000000000000000000000000000000000000000000000000000000000013212",
"address": "0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789"
}
}⌘I