Integration Guide
Tracking a Submitted Bundle
import requests
from eth_account import Account
EUREKA_RPC = "https://rpc.eurekabuilder.xyz"
def get_bundle_stats(bundle_hash: str, private_key: str):
body = {
"jsonrpc": "2.0",
"method": "eureka_getBundleStats",
"params": [{"bundleHash": bundle_hash}],
"id": 1,
}
message = json.dumps(body)
account = Account.from_key(private_key)
signature = account.sign_message(encode_defunct(text=message))
header_value = f"{account.address}:{signature.signature.hex()}"
response = requests.post(
EUREKA_RPC,
json=body,
headers={"X-Flashbots-Signature": header_value},
)
return response.json()Status
Meaning
Checking Refunds
Inspecting a Block
Looking Up Bundles by Transaction
Last updated
