vault_join
UNSIGNED transactions for the person's own wallet to join or leave a shared vault: with deposit_usd, allow + deposit (the shares go to owner); with withdraw_shares, queue those shares for redemption (paid at the vault's NAV when the keeper fills the queue); with claim true, collect what was paid; with bridge_usd (step zero, test money), the transactions on the Taifoon devnet that bring that many test dollars to the vault's chain over the testnet bridge (mint true adds the open mint first). Nothing is signed or sent. If a vault is invite-only, shared_vaults with wallet says whether the wallet is on its list (the testnet vault takes anyone, inside its caps). The deposit costs about 800,000 gas: let the wallet estimate it.
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": {
"vault": "<vault>",
"owner": "<owner>"
},
"name": "vault_join"
}
}Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| mint | No | with bridge_usd: mint the test dollars on the devnet first (open mint, test money) | |
| claim | No | leave, step two: collect the assets of filled requests | |
| owner | Yes | the 0x address of the person's own wallet: it signs and receives the shares | |
| vault | Yes | the shared vault's id or address (from shared_vaults) | |
| bridge_usd | No | step zero: bring this many test dollars to the vault's chain over the bridge (at most 100 per transfer) | |
| deposit_usd | No | join: the amount of the vault's asset to deposit | |
| withdraw_shares | No | leave: whole shares to queue (read your shares from shared_vaults with wallet) |