Documentation Index
Fetch the complete documentation index at: https://0xcaptain.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
AnalystClient wraps the SignalBoardV2 contract. Access it via client.analyst.
Methods
register
Register the connected wallet as an analyst.metadata?: Hex — optional profile metadata (default "0x")
Returns: Promise<Hash>
deregister
Remove the connected wallet from the analyst registry.Promise<Hash>
postSignal
Post a directional trading signal to the SignalBoard.SignalParams):
| Field | Type | Description |
|---|---|---|
asset | Address | Target token address |
direction | -1 | 0 | 1 | Short / neutral / long |
magnitude | number | Signal strength in bps (0–10,000) |
reasoning | string | Hex | Reasoning text (auto-hashed) or pre-hashed 32-byte hex |
ttl | number | Signal lifetime in seconds |
Promise<Hash>
getReputation
Fetch on-chain reputation for an analyst address.Promise<ReputationData>
isRegistered
Check whether an address is a registered analyst.Promise<boolean>
getAnalystInfo
Get full analyst struct from the SignalBoard.Promise<AnalystInfo>