Automate institutional-grade compliance and high-frequency trading by integrating Chainalysis Sanctions with Hyperliquid on B3OS. Seamlessly screen blockchain addresses against global sanctions lists while simultaneously executing automated perpetual strategies on the Hyperliquid DEX.
This workflow monitors contracts events and screens addresses interacting with that contract to flag santions/OFAC and high risk accounts. The data and flagged accounts are auto-logged into a Gsheet and a notification is sent. This allows teams to make sure they remain compliant and block any bad actors from interacting with their platform. ### Quick Setup: 1. Connect your Gsheets account 2. Input the contract address you want monitored 3. Input the chain the contract address is deployed on 4. Drop in the Gsheet Spreadsheet URL where you want the data to be logged 5. Specify the tab you want the data to be logged in the Spreadsheet (input 0 if first tab) 6. Test and Publish!

Hyperliquid Get Outcome Markets
ActionGet all available HIP-4 outcome (prediction) markets on Hyperliquid. Returns binary and bucket markets with underlying asset, target price, expiry, and tradeable sides with their coin notations and asset IDs. Filter by underlying asset or include settled markets. Ideal for: prediction market monitoring, cross-venue comparison with Polymarket, outcome arbitrage detection, and automated trading strategies.

Hyperliquid Get Funding Rates
ActionGet current funding rates, open interest, and mark prices for Hyperliquid perpetual markets. Returns hourly and annualized rates, OI in USD, premium, and 24h volume. Filter by coin or get all markets sorted by absolute rate (extremes first). Pass dex='xyz' for trade.xyz TradFi markets. Ideal for: funding rate alerts, arbitrage detection, market health monitoring, and yield farming strategies.

Hyperliquid Position Change
TriggerTriggers when a monitored wallet opens or closes a perpetual position on Hyperliquid. Powered by real-time WebSocket stream — no polling delay.
Screen Address for Sanctions
ActionCheck whether a blockchain address is on any sanctions list tracked by Chainalysis (OFAC SDN, EU, UN, etc.). Returns a boolean sanctioned flag, unique categories, and the full identifications list with source URLs. Chain-agnostic (EVM, BTC, Solana). Ideal for: compliance workflows, pre-transaction screening, counterparty risk checks, AML monitoring, audit trails.

Hyperliquid Trade
TriggerTriggers whenever a public trade occurs on a Hyperliquid market. Includes trader wallet addresses (taker + maker). Optionally enrich with taker's full position data for whale tracking.

Hyperliquid Account Balance & Equity
ActionRead a Hyperliquid account's balance and equity from its clearinghouse / user state: account value (total equity), available margin, and used margin (marginSummary), plus withdrawable balance. Also returns active perp positions (each with its own unrealized PnL), resting open orders, and HIP-4 outcome token holdings. Set `balanceOnly: true` for a cheap equity/balance read that skips position aggregation (positions, open orders and outcome holdings come back empty). Ideal for: live-equity position sizing, portfolio monitoring, risk and margin-health checks, and pre-trade balance gates.