supportedEntryPoints
curl --request POST \
--url 'https://bundler.particle.network/#eth_supportedEntryPoints' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"chainId": 80001,
"method": "eth_supportedEntryPoints",
"params": [
"<unknown>"
]
}
'import requests
url = "https://bundler.particle.network/#eth_supportedEntryPoints"
payload = {
"jsonrpc": "2.0",
"id": 1,
"chainId": 80001,
"method": "eth_supportedEntryPoints",
"params": ["<unknown>"]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
jsonrpc: '2.0',
id: 1,
chainId: 80001,
method: 'eth_supportedEntryPoints',
params: ['<unknown>']
})
};
fetch('https://bundler.particle.network/#eth_supportedEntryPoints', 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://bundler.particle.network/#eth_supportedEntryPoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'jsonrpc' => '2.0',
'id' => 1,
'chainId' => 80001,
'method' => 'eth_supportedEntryPoints',
'params' => [
'<unknown>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://bundler.particle.network/#eth_supportedEntryPoints"
payload := strings.NewReader("{\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"chainId\": 80001,\n \"method\": \"eth_supportedEntryPoints\",\n \"params\": [\n \"<unknown>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://bundler.particle.network/#eth_supportedEntryPoints")
.header("Content-Type", "application/json")
.body("{\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"chainId\": 80001,\n \"method\": \"eth_supportedEntryPoints\",\n \"params\": [\n \"<unknown>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://bundler.particle.network/#eth_supportedEntryPoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"chainId\": 80001,\n \"method\": \"eth_supportedEntryPoints\",\n \"params\": [\n \"<unknown>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"jsonrpc": "2.0",
"id": 1,
"chainId": 80001,
"result": [
"0xEntryPoint1"
]
}Bundler RPC
supportedEntryPoints
Learn how to use the supportedEntryPoints JSON-RPC method.
POST
/
#eth_supportedEntryPoints
supportedEntryPoints
curl --request POST \
--url 'https://bundler.particle.network/#eth_supportedEntryPoints' \
--header 'Content-Type: application/json' \
--data '
{
"jsonrpc": "2.0",
"id": 1,
"chainId": 80001,
"method": "eth_supportedEntryPoints",
"params": [
"<unknown>"
]
}
'import requests
url = "https://bundler.particle.network/#eth_supportedEntryPoints"
payload = {
"jsonrpc": "2.0",
"id": 1,
"chainId": 80001,
"method": "eth_supportedEntryPoints",
"params": ["<unknown>"]
}
headers = {"Content-Type": "application/json"}
response = requests.post(url, json=payload, headers=headers)
print(response.text)const options = {
method: 'POST',
headers: {'Content-Type': 'application/json'},
body: JSON.stringify({
jsonrpc: '2.0',
id: 1,
chainId: 80001,
method: 'eth_supportedEntryPoints',
params: ['<unknown>']
})
};
fetch('https://bundler.particle.network/#eth_supportedEntryPoints', 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://bundler.particle.network/#eth_supportedEntryPoints",
CURLOPT_RETURNTRANSFER => true,
CURLOPT_ENCODING => "",
CURLOPT_MAXREDIRS => 10,
CURLOPT_TIMEOUT => 30,
CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1,
CURLOPT_CUSTOMREQUEST => "POST",
CURLOPT_POSTFIELDS => json_encode([
'jsonrpc' => '2.0',
'id' => 1,
'chainId' => 80001,
'method' => 'eth_supportedEntryPoints',
'params' => [
'<unknown>'
]
]),
CURLOPT_HTTPHEADER => [
"Content-Type: application/json"
],
]);
$response = curl_exec($curl);
$err = curl_error($curl);
curl_close($curl);
if ($err) {
echo "cURL Error #:" . $err;
} else {
echo $response;
}package main
import (
"fmt"
"strings"
"net/http"
"io"
)
func main() {
url := "https://bundler.particle.network/#eth_supportedEntryPoints"
payload := strings.NewReader("{\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"chainId\": 80001,\n \"method\": \"eth_supportedEntryPoints\",\n \"params\": [\n \"<unknown>\"\n ]\n}")
req, _ := http.NewRequest("POST", url, payload)
req.Header.Add("Content-Type", "application/json")
res, _ := http.DefaultClient.Do(req)
defer res.Body.Close()
body, _ := io.ReadAll(res.Body)
fmt.Println(string(body))
}HttpResponse<String> response = Unirest.post("https://bundler.particle.network/#eth_supportedEntryPoints")
.header("Content-Type", "application/json")
.body("{\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"chainId\": 80001,\n \"method\": \"eth_supportedEntryPoints\",\n \"params\": [\n \"<unknown>\"\n ]\n}")
.asString();require 'uri'
require 'net/http'
url = URI("https://bundler.particle.network/#eth_supportedEntryPoints")
http = Net::HTTP.new(url.host, url.port)
http.use_ssl = true
request = Net::HTTP::Post.new(url)
request["Content-Type"] = 'application/json'
request.body = "{\n \"jsonrpc\": \"2.0\",\n \"id\": 1,\n \"chainId\": 80001,\n \"method\": \"eth_supportedEntryPoints\",\n \"params\": [\n \"<unknown>\"\n ]\n}"
response = http.request(request)
puts response.read_body{
"jsonrpc": "2.0",
"id": 1,
"chainId": 80001,
"result": [
"0xEntryPoint1"
]
}Contextualizing supportEntryPoints
supportEntryPointsreturns a list of EntryPoint addresses supported by the Particle Bundler. It takes no parameters.
At the moment, only
0x5ff137d4b0fdcd49dca30c7cf57e578a026d2789 is supported due to it being the flagship EntryPoint contract for ERC-4337.Query example
JSON
{
"chainId": 80001,
"jsonrpc": "2.0",
"id": 1,
"method": "eth_supportedEntryPoints",
"params": []
}
Body
application/json
Request to retrieve supported entry points for Ethereum.
Version of the JSON-RPC protocol, should be 2.0.
Example:
"2.0"
The request identifier.
Example:
1
The chain ID.
Example:
80001
API method being called.
Available options:
eth_supportedEntryPoints No parameters are needed for this request.
Response
200 - application/json
Successful response with supported entry points.
