---
title: "ERC-7540 Async-Vault Request Accounting"
method: POST
path: "/v1/tools/recompute_erc7540_request_accounting"
tags: ["payment_policy", "erc-7540", "async-vault", "request-lifecycle", "rwa-fund", "rounding", "mcp:recompute_erc7540_request_accounting"]
---

# ERC-7540 Async-Vault Request Accounting

`POST /v1/tools/recompute_erc7540_request_accounting`

## Request

- Base URL: `https://ainumbers.co`
- URL: `https://ainumbers.co/v1/tools/recompute_erc7540_request_accounting`
- Auth: none declared

Recomputes ERC-7540 asynchronous-vault request accounting from caller-declared request state. ERC-7540 extends ERC-4626 with a three-state request lifecycle used by funds that cannot settle a deposit or redemption in the same transaction: an amount is Pending after a request, becomes Claimable when the vault fulfils it, and is Claimed when the holder calls deposit, mint, withdraw or redeem. This tool applies a sequence of claims against the claimable buckets at the pro-rata rate they were made claimable at, tracks the pending, claimable and claimed split for both legs, reports the rounding residue a sequence of partial claims strands, and checks the standard's invariants by name. ERC-7540 mandates no rounding direction for a partial claim, so the direction is a declared parameter and the opposite direction's result is reported beside it. Never reads any chain: it cannot know whether the declared amounts match a deployed vault, when a pending request will be fulfilled, whether the controller is authorised, or whether a claim transaction would succeed.

**Tool URL:** https://ainumbers.co/chaingraph/art-611-erc7540-async-vault-request-accounting.html

## Request body

- object
  - `request_id` string
  - `deposit` object
  - `redeem` object
  - `claims` unknown[]
    - unknown
  - `claim_rounding` string
  - `chain_id` string
  - `network_label` string

## Response `200`

Successful tool execution result

- object
  - `declared_context` object
  - `request_id` string, nullable
  - `aggregate_by_controller` boolean, nullable
  - `claim_rounding_used` string, nullable
  - `opening` object, nullable
  - `claims` unknown[]
    - unknown
  - `closing` object, nullable
  - `dust` object
  - `invariants` unknown[]
    - unknown
  - `note` string
  - `reasons` string[]

---

[API](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite.md) · [All operations](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/llms.txt) · [OpenAPI document](https://skmtc.dev/ainumbers/apis/ainumbers-co-fintech-intelligence-suite/revisions/b462e4f5bb28?raw)
