cURL
curl --request GET \
--url https://api.jiffyscan.xyz/v0/getFactoryDetails \
--header 'x-api-key: <api-key>'import requests
url = "https://api.jiffyscan.xyz/v0/getFactoryDetails"
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/getFactoryDetails', 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/getFactoryDetails",
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/getFactoryDetails"
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/getFactoryDetails")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jiffyscan.xyz/v0/getFactoryDetails")
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{
"factoryDetails": {
"address": "0xb73eb505abc30d0e7e15b73a492863235b3f4309",
"accountsLength": "28",
"accounts": [
{
"address": "0x0237cc39d9bd2cb92744657a956b960353fe65d9",
"blockTime": "1685046842",
"blockNumber": "101500270",
"userOpsCount": "14"
},
{
"address": "0xde46aed6e153074da004aff9d462a29ee0f1fef4",
"blockTime": "1684846160",
"blockNumber": "100760911",
"userOpsCount": "4"
},
{
"address": "0x0cd06dcfb1c95705e8f3437be2d77ca0617aa366",
"blockTime": "1684418955",
"blockNumber": "99539767",
"userOpsCount": "6"
},
{
"address": "0x5ae1083562d77cb835b91b5b815a59a5eee7ed90",
"blockTime": "1683988021",
"blockNumber": "97982397",
"userOpsCount": "9"
},
{
"address": "0x8acc4177f671ab19f22bb58f71ad5787b3bd2c70",
"blockTime": "1683894396",
"blockNumber": "97700984",
"userOpsCount": "1"
},
{
"address": "0x5d049bf75b3decef8a7dfa5fda1774eb24358ba3",
"blockTime": "1683885217",
"blockNumber": "97661981",
"userOpsCount": "1"
},
{
"address": "0x2bddc76b99910ca82ef2cf7488ce2705138bf908",
"blockTime": "1683884002",
"blockNumber": "97655999",
"userOpsCount": "1"
},
{
"address": "0xb95231f39f8de78bd4491ee385edbfb7b712020e",
"blockTime": "1683881226",
"blockNumber": "97642856",
"userOpsCount": "5"
},
{
"address": "0xbb73cc927ed4814ae23cea726925b8db41fac055",
"blockTime": "1683844198",
"blockNumber": "97528834",
"userOpsCount": "2"
},
{
"address": "0x8050d94824400096b34043e676350df7ba3121a6",
"blockTime": "1683598190",
"blockNumber": "96996744",
"userOpsCount": "1"
}
]
}
}Factory
Get Factory Details
GET
/
getFactoryDetails
cURL
curl --request GET \
--url https://api.jiffyscan.xyz/v0/getFactoryDetails \
--header 'x-api-key: <api-key>'import requests
url = "https://api.jiffyscan.xyz/v0/getFactoryDetails"
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/getFactoryDetails', 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/getFactoryDetails",
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/getFactoryDetails"
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/getFactoryDetails")
.header("x-api-key", "<api-key>")
.asString();require 'uri'
require 'net/http'
url = URI("https://api.jiffyscan.xyz/v0/getFactoryDetails")
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{
"factoryDetails": {
"address": "0xb73eb505abc30d0e7e15b73a492863235b3f4309",
"accountsLength": "28",
"accounts": [
{
"address": "0x0237cc39d9bd2cb92744657a956b960353fe65d9",
"blockTime": "1685046842",
"blockNumber": "101500270",
"userOpsCount": "14"
},
{
"address": "0xde46aed6e153074da004aff9d462a29ee0f1fef4",
"blockTime": "1684846160",
"blockNumber": "100760911",
"userOpsCount": "4"
},
{
"address": "0x0cd06dcfb1c95705e8f3437be2d77ca0617aa366",
"blockTime": "1684418955",
"blockNumber": "99539767",
"userOpsCount": "6"
},
{
"address": "0x5ae1083562d77cb835b91b5b815a59a5eee7ed90",
"blockTime": "1683988021",
"blockNumber": "97982397",
"userOpsCount": "9"
},
{
"address": "0x8acc4177f671ab19f22bb58f71ad5787b3bd2c70",
"blockTime": "1683894396",
"blockNumber": "97700984",
"userOpsCount": "1"
},
{
"address": "0x5d049bf75b3decef8a7dfa5fda1774eb24358ba3",
"blockTime": "1683885217",
"blockNumber": "97661981",
"userOpsCount": "1"
},
{
"address": "0x2bddc76b99910ca82ef2cf7488ce2705138bf908",
"blockTime": "1683884002",
"blockNumber": "97655999",
"userOpsCount": "1"
},
{
"address": "0xb95231f39f8de78bd4491ee385edbfb7b712020e",
"blockTime": "1683881226",
"blockNumber": "97642856",
"userOpsCount": "5"
},
{
"address": "0xbb73cc927ed4814ae23cea726925b8db41fac055",
"blockTime": "1683844198",
"blockNumber": "97528834",
"userOpsCount": "2"
},
{
"address": "0x8050d94824400096b34043e676350df7ba3121a6",
"blockTime": "1683598190",
"blockNumber": "96996744",
"userOpsCount": "1"
}
]
}
}⌘I