Orderbook venue
taifoon_orderbookUses the Taifoon orderbook (spot ETH-USDG on Robinhood Chain): account, deposit route, orders, withdrawals, settlement records. For tenant vaults use taifoon_vault. Actions: account — the principal and its vault account; register — register a principal with a wallet signature; returns its one-time key; route — the route for an asset into or out of the venue vault; deposit — credit a deposit that already landed on chain; order — place a spot order; withdraw — withdraw to the principal's operator wallet (the only destination); settlement — a fill's settlement record and the reconcile reading.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| to | No | the operator wallet (actions: withdraw) | |
| qty | No | qty (actions: order) | |
| tif | No | tif (actions: order) | |
| from | No | origin chain id (4663 Robinhood Chain, 8453 Base, 42161 Arbitrum One, 1 Ethereum, 5042 Arc) (actions: route) | |
| name | No | principal name: [a-z0-9_-], 1..64 (actions: register) | |
| side | No | side (actions: order) | |
| asset | No | USDG | ETH | WETH | tICP | TRN (actions: route, deposit, withdraw) | |
| price | No | price (actions: order) | |
| units | No | whole units as a decimal string, e.g. "1.25" (actions: deposit, withdraw) | |
| action | No | what to do (default account): account | register | route | deposit | order | withdraw | settlement | account |
| amount | No | amount (actions: route) | |
| market | No | ETH-USDG (actions: order) | |
| account | No | the operator wallet the transfer came from (actions: deposit) | |
| api_key | No | api key (actions: account, deposit, order, withdraw) | |
| fill_id | No | fill id (actions: settlement) | |
| tx_hash | No | the transfer transaction (0x… 32 bytes) (actions: deposit) | |
| operator | No | the wallet (0x…) that signs; deposits come from it, withdrawals go to it (actions: register) | |
| direction | No | direction (actions: route) | |
| signature | No | EIP-191 signature over the message; omit to get the exact message to sign (actions: register) | |
| signed_at | No | unix seconds in the message (10-minute window) (actions: register) |