Get candidate settings
/mining/candidateThe stratum.candidate settings that decide what this client's blocks carry besides the genesis transaction, which collateral box funds them, and when a served job is replaced mid-block. Values are the ones the client started with.
Responses
200The candidate settings in forceCandidateSettings▶
blockTransactionsbooleanrequiredWhether this client's blocks carry transactions besides the genesis transaction. When false, no source is asked.
▶
sourcesCandidateSourceSettings[]requiredEvery transaction source, in the order candidates ask them.
namestringrequiredone ofrollupsemissionsrentlithosdexergodexenabledbooleanrequiredThe source's own
enabledsetting.activebooleanrequiredWhether candidates ask this source for transactions:
blockTransactionsis on, the source is enabled withmaxTxsabove 0 and, forlithosdexandergodex, the matchingbatchingblock is enabled.maxTxsintegerrequiredTransactions this source may place in one block, carried ancestors included.
maxBytesinteger · int64requiredSerialized bytes this source may claim.
maxCostinteger · int64requiredValidation cost this source may claim.
blockSharenumber · doublerequiredFraction of the node's block size and cost limits the whole package may claim.
waitForBlockPackagebooleanrequiredWhether the first job for a height waits, up to
genesisWaitMs, for the sources before it is sent.genesisWaitMsintegerrequiredMilliseconds to wait for the genesis transaction before a solo job is sent instead.
blockTxTimeoutintegerrequiredMilliseconds the sources have to build their transactions.
mempoolRefreshMsintegerrequiredMilliseconds between mid-block package rebuilds. 0 turns them off.
minCandidateChangeRevenueinteger · int64requirednanoERG a rebuilt package must add over the served one before the job changes mid-block.
refreshForProtocolTxsbooleanrequiredWhether a rebuilt package that adds rollup or emission transactions also changes the job mid-block.
minNewProtocolTxsintegerrequiredRollup or emission transactions the rebuilt package must add before
refreshForProtocolTxschanges the job.collateralStrategystringrequiredHow the collateral box is picked.
highestFeetakes the highest priority fee until a box reachesclearanceAge;randomdraws from every usable box.one ofhighestFeerandomclearanceAgeintegerrequiredWith
highestFee, blocks a collateral box may stay live before the oldest is taken regardless of fee. Ignored byrandom.pinnedInputsintegerrequiredWallet boxes set aside to fund transactions that need a wallet input inside this client's own block.
defaultErrorApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description