A standard demo batch that should submit successfully.
当前演示环境可用的 userId 为 1-10,可直接用于 lookup 和批量交易。
Current balance
Default batch tip: lookup user #1 before submitting to capture the baseline balance.
当前演示环境可用 userId 为 1-10。Add another row or load a preset to validate a business rule.
Prevent negative balances in this batch and roll back the whole request if any item breaks the rule.
开启 checkBalance 后,首笔大额扣减用于演示单笔失败时整批一起回退。
提交后先看 Batch summary 是否显示 Rolled back,再确认 Result ledger 没有成功结果。
沿用同一组交易,但关闭 checkBalance,方便直接对比保护开关前后的请求路径。
重点看 Request JSON 中的 checkBalance=false,再提交观察 Grove 对同批数据的处理差异。
Processed
0
Affected users
0
Status note
Default editor batch ready. Submit to inspect the clean commit path first.
{
"checkBalance": true,
"transactions": [
{
"userId": 1,
"amount": "50.00"
},
{
"userId": 2,
"amount": "100.00"
}
]
}