check_backing
Read what a NEAR protocol owes (its own accounting view) and what it holds (each token's ft_balance_of) at the same block, so the answer is exact. Use before depositing into a protocol. Works for intents.near, contract.main.burrow.near (Rhea lending) and any contract implementing backed_solvency.
Tool call template
Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.
{
"id": 1,
"jsonrpc": "2.0",
"method": "tools/call",
"params": {
"arguments": {
"target": "<target>",
"tokens": "<tokens>"
},
"name": "check_backing"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| target | Yes | Protocol account, e.g. intents.near | |
| tokens | Yes | NEP-141 token contracts, e.g. usdt.tether-token.near | |
| adapter | No | How to read 'owed'. Guessed for intents.near and contract.main.burrow.near; default backed (backed_solvency). |