Prepare: deposit into Zero Dark
darkroom_depositUnsigned transactions to deposit USDG or a market's stock into the wallet's Zero Dark balance (or, with for, into another account's: anyone may fund an account, a session key included): approve exactly the amount when needed, then deposit. Simulated from the wallet.
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": {
"wallet": "<wallet>",
"token": "<token>",
"amount": "<amount>"
},
"name": "darkroom_deposit"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| for | No | Optional: the account to fund (0x...) | |
| token | Yes | USDG or a market's symbol | |
| amount | Yes | A decimal amount, like "100" | |
| wallet | Yes | The wallet's address (0x...): the transactions are built for it to sign |