Arb stake
/wallet/arbapi_keyThe arb address and the confirmed boxes at it. Arbitrage in this miner's own blocks starts from the largest box there holding at least 0.1 ERG and no tokens, and returns it to the same address in the same block.
The address is this wallet's first key under a script of its own. Only that key spends it, but the node wallet does not list boxes there, so this ERG is not in /wallet/balances. ERG sent to the address is used as the stake.
Responses
200The arb address and what it holdsWalletArbStake▶
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 resumes when the client restarts.
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.
0until a candidate build has taken one up, and after a reclaim. 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
503The arb address could not be read. It is read from the node's extra index. 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