Fetch bundle data
curl --request GET \
--url 'https://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}'import requests
url = "https://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}', 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://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}",
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://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}"
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://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}")
.asString();require 'uri'
require 'net/http'
url = URI("https://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}")
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{
"txFee": "8282764901918682",
"txFeeConverted": {
"wei": "8282764901918682",
"kwei": "8282764901918.682",
"mwei": "8282764901.918682",
"gwei": "8282764.901918682",
"szabo": "8282.764901918682",
"finney": "8.282764901918682",
"ether": "0.008282764901918682",
"kether": "0.00000828276490191868",
"mether": "0.00000000828276490192",
"gether": "0.0000000000082827649",
"tether": "0.00000000000000828276"
},
"feeCollected": "8622711683904780",
"feeCollectedConverted": {
"wei": "8622711683904780",
"kwei": "8622711683904.78",
"mwei": "8622711683.90478",
"gwei": "8622711.68390478",
"szabo": "8622.71168390478",
"finney": "8.62271168390478",
"ether": "0.00862271168390478",
"kether": "0.00000862271168390478",
"mether": "0.0000000086227116839",
"gether": "0.00000000000862271168",
"tether": "0.00000000000000862271"
},
"profitOrLoss": 339946781986098,
"profitOrLossConverted": {
"wei": "339946781986098",
"kwei": "339946781986.098",
"mwei": "339946781.986098",
"gwei": "339946.781986098",
"szabo": "339.946781986098",
"finney": "0.339946781986098",
"ether": "0.000339946781986098",
"kether": "0.0000003399467819861",
"mether": "0.00000000033994678199",
"gether": "0.00000000000033994678",
"tether": "0.00000000000000033995"
},
"profitPercentage": "4.10",
"profitOrLossUSD": "1.091",
"nativeTokenLogo": "https://bundlers.network/ethereum.png",
"bundlerAddress": "0x....",
"bundlerName": "Bundler1",
"network": "ethereum",
"explorerHash": "https://etherscan.io/tx/0x...",
"nativeTokenExchangeRate": "3210"
}
UserOps / Bundle
Fetch bundle data
GET
api
/
bundle?network=
{network}
&hash=
{hash}
&apiKey=
{apiKey}
Fetch bundle data
curl --request GET \
--url 'https://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}'import requests
url = "https://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}"
response = requests.get(url)
print(response.text)const options = {method: 'GET'};
fetch('https://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}', 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://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}",
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://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}"
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://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}")
.asString();require 'uri'
require 'net/http'
url = URI("https://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}")
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{
"txFee": "8282764901918682",
"txFeeConverted": {
"wei": "8282764901918682",
"kwei": "8282764901918.682",
"mwei": "8282764901.918682",
"gwei": "8282764.901918682",
"szabo": "8282.764901918682",
"finney": "8.282764901918682",
"ether": "0.008282764901918682",
"kether": "0.00000828276490191868",
"mether": "0.00000000828276490192",
"gether": "0.0000000000082827649",
"tether": "0.00000000000000828276"
},
"feeCollected": "8622711683904780",
"feeCollectedConverted": {
"wei": "8622711683904780",
"kwei": "8622711683904.78",
"mwei": "8622711683.90478",
"gwei": "8622711.68390478",
"szabo": "8622.71168390478",
"finney": "8.62271168390478",
"ether": "0.00862271168390478",
"kether": "0.00000862271168390478",
"mether": "0.0000000086227116839",
"gether": "0.00000000000862271168",
"tether": "0.00000000000000862271"
},
"profitOrLoss": 339946781986098,
"profitOrLossConverted": {
"wei": "339946781986098",
"kwei": "339946781986.098",
"mwei": "339946781.986098",
"gwei": "339946.781986098",
"szabo": "339.946781986098",
"finney": "0.339946781986098",
"ether": "0.000339946781986098",
"kether": "0.0000003399467819861",
"mether": "0.00000000033994678199",
"gether": "0.00000000000033994678",
"tether": "0.00000000000000033995"
},
"profitPercentage": "4.10",
"profitOrLossUSD": "1.091",
"nativeTokenLogo": "https://bundlers.network/ethereum.png",
"bundlerAddress": "0x....",
"bundlerName": "Bundler1",
"network": "ethereum",
"explorerHash": "https://etherscan.io/tx/0x...",
"nativeTokenExchangeRate": "3210"
}
API URL
https://bundlers.network/api/bundle?network={network}&hash={hash}&apiKey={apiKey}
Parameters
Supported networks: ethereum, base, polygon
Hash of the ERC4337 / bundle transaction
Response
{
"txFee": "8282764901918682",
"txFeeConverted": {
"wei": "8282764901918682",
"kwei": "8282764901918.682",
"mwei": "8282764901.918682",
"gwei": "8282764.901918682",
"szabo": "8282.764901918682",
"finney": "8.282764901918682",
"ether": "0.008282764901918682",
"kether": "0.00000828276490191868",
"mether": "0.00000000828276490192",
"gether": "0.0000000000082827649",
"tether": "0.00000000000000828276"
},
"feeCollected": "8622711683904780",
"feeCollectedConverted": {
"wei": "8622711683904780",
"kwei": "8622711683904.78",
"mwei": "8622711683.90478",
"gwei": "8622711.68390478",
"szabo": "8622.71168390478",
"finney": "8.62271168390478",
"ether": "0.00862271168390478",
"kether": "0.00000862271168390478",
"mether": "0.0000000086227116839",
"gether": "0.00000000000862271168",
"tether": "0.00000000000000862271"
},
"profitOrLoss": 339946781986098,
"profitOrLossConverted": {
"wei": "339946781986098",
"kwei": "339946781986.098",
"mwei": "339946781.986098",
"gwei": "339946.781986098",
"szabo": "339.946781986098",
"finney": "0.339946781986098",
"ether": "0.000339946781986098",
"kether": "0.0000003399467819861",
"mether": "0.00000000033994678199",
"gether": "0.00000000000033994678",
"tether": "0.00000000000000033995"
},
"profitPercentage": "4.10",
"profitOrLossUSD": "1.091",
"nativeTokenLogo": "https://bundlers.network/ethereum.png",
"bundlerAddress": "0x....",
"bundlerName": "Bundler1",
"network": "ethereum",
"explorerHash": "https://etherscan.io/tx/0x...",
"nativeTokenExchangeRate": "3210"
}
⌘I
