Mint Manager
Last updated
Last updated
Mint Manager – Service that provides signed parameters required to interact with L1 and L2 minting contracts for subname creation.
The parent name (e.g., domain) under which the label will be minted.
example.eth
The label or subname to be minted under the parent name.
subname
Ethereum address of the minter.
0x1234567890abcdef1234567890abcdef12345678
Indicates whether the operation is on a sepolia testnet.
true
GET /api/v1/mint/estimate?parentName=example.eth&label=subname&minterAddress=0x1234567890abcdef1234567890abcdef12345678 HTTP/1.1
Host:
Accept: */*
Estimated price, fee, and validation status for requested subname.
{
"canMint": true,
"estimatedPriceEth": 0.01,
"estimatedFeeEth": 0.002,
"isStandardFee": true,
"validationErrors": [
"SUBNAME_TAKEN",
"MINTER_NOT_WHITELISTED"
]
}
Label or subname to mint (e.g., "satoshi"). Must be 1-255 characters.
satoshi
Parent ENS name under which the label is being minted (e.g., "universe.eth").
universe.eth
Optional number of years the subname will be valid for. Used for expirable names. Defaults to 1 if not provided
1
Ethereum address of the minter.
0x1234567890abcdef1234567890abcdef12345678
Whether the operation is being performed on a testnet.
true
Optional custom owner address of the subname (if different from minter).
0xabcdefabcdefabcdefabcdefabcdefabcdefabcd
POST /api/v1/mint HTTP/1.1
Host:
Content-Type: application/json
Accept: */*
Content-Length: 196
{
"label": "satoshi",
"parentName": "universe.eth",
"expiryInYears": 1,
"minterAddress": "0x1234567890abcdef1234567890abcdef12345678",
"isTestnet": true,
"owner": "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd"
}
Signed mint parameters ready to be used on-chain.
{
"content": {
"label": "satoshi",
"owner": "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd",
"fee": "0.002",
"price": "0.01",
"parentNode": "0xabc123abc123abc123abc123abc123abc123abc123abc123abc123abc123abc1",
"paymentReceiver": "0x1234567890abcdef1234567890abcdef12345678",
"verifiedMinter": "0xabcdefabcdefabcdefabcdefabcdefabcdefabcd",
"signatureExpiry": 1726425612,
"expiry": 4294967295,
"fuses": 65536
},
"signature": "0xdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeefdeadbeef1b"
}