Resume arb after a reclaim
/wallet/arb/resumeapi_keyTurn arbitrage back on after a reclaim paused it, without restarting the client. With batching.arb.autoReserve on, the client sends a new stake to the arb address once the wallet holds twice batching.arb.stakeNanoErg; otherwise arbitrage runs on ERG sent there.
Refused while the reclaim is still in the mempool, since a block of this miner's built on the stake would undo it. Calling it while arbitrage runs changes nothing. Answers with the stake as GET /wallet/arb reports it.
Responses
200Arbitrage runsWalletArbStake▶
addressstringrequiredThe arb address. ERG sent here is used as the arb stake.
enabledbooleanrequiredArbitrage is on and can reach this miner's blocks:
batching.arb.enabled, block transactions and thearbcandidate source are all on.pausedbooleanrequiredA reclaim stopped arbitrage. It runs again after
POST /wallet/arb/resumeor a restart.targetNanoErgsstringrequiredbatching.arb.stakeNanoErg, the sizebatching.arb.autoReservesends and the most one cycle puts in.0whileenabledis false. Decimal string.stakeNanoErgsstringrequiredERG of the box cycles start from: before the first candidate build, the largest box at the address holding at least 0.1 ERG and no tokens.
0when there is none, whileenabledis false and whilepaused. Decimal string.boxesinteger · int32requiredConfirmed boxes at the address, at most 1000 counted
nanoErgsstringrequiredERG in those boxes, which a reclaim returns less its fee. Decimal string.
403Missing or wrong api_keyApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description
422Arbitrage is off in configuration, or a pending transaction still spends a box at the arb address. `detail` says which. ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description
503The arb address could not be read, or a reclaim is still running. Nothing changed; retry. ApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description
defaultErrorApiError▶
errorintegerrequiredError code
reasonstringrequiredError message explaining the reason of the error
detailstringrequirednullableDetailed error description