EVM
Estimate vanity address mining cost API
Estimate the work to mine a vanity address with a given hex prefix/suffix: per-attempt probability (1/16 per nibble, x1/2 per case-sensitive letter), expected & median attempts, and wall-clock time at a hash rate. Answers 'How long to find an address starting 0xdead?','How many tries for this vanity prefix?'.
Price$0.01per request
MethodPOST
Route/v1/evm/vanity-estimate
StatusLive
MIME typeapplication/json
Rate limit60/minute
CacheNo cache
evmvanityaddressestimateprobabilityminingprefix
API URL
Integration docshttps://x402.hexl.dev/v1/evm/vanity-estimateExample request
{
"prefix": "0xdead"
}Example response
{
"prefix": "dead",
"suffix": "",
"matchedNibbles": 4,
"caseSensitive": false,
"probabilityPerAttempt": 0.0000152587890625,
"expectedAttempts": 65536,
"fiftyPercentAttempts": 45427,
"hashRate": 50000,
"expectedSeconds": 1.31072,
"expectedHuman": "1s"
}Input schema
{
"type": "object",
"required": [],
"properties": {
"prefix": {
"type": "string",
"description": "Hex chars the address should start with.",
"examples": [
"dead",
"0x1234"
]
},
"suffix": {
"type": "string",
"description": "Hex chars the address should end with.",
"examples": [
"beef"
]
},
"caseSensitive": {
"type": "boolean",
"default": false
},
"hashRate": {
"type": "number",
"minimum": 1,
"default": 50000,
"description": "Addresses tried per second."
}
},
"examples": [
{
"prefix": "0xdead"
}
]
}Output schema
{
"type": "object",
"additionalProperties": true
}