FortFi Treasury MCP
io.github.rebelArtists/fortfi-treasury-mcp
Serveur MCP OK 148 outils
Policy-gated MCP treasury for AI agents — x402 subscribe, 50+ tools, multi-chain.
Fiche technique
- Auteur
- rebelArtists (espace de noms du registre)
- Dépôt
- github.com/rebelArtists/fortfi
- Site
- fortfiapp.com/agents
- Version
- 1.0.0
- Transport
- Streamable HTTP
- Authentification
- Aucune (constatée par notre test)
- Adresse du serveur
- https://fortfiapp.com/api/mcp Streamable HTTP en-tête requis :
Authorization - Outils
- 148
- Catégories
- IA, agents et mémoire, Finance et paiement
- Dernière mise à jour
- 14 juil. 2026
- Publication
- 14 juil. 2026
Auteur vérifié et popularité
Fiche pas encore revendiquée. C’est votre projet ? Revendiquez-la
Pas « Populaire » pour l’instant Retiré tout seul dès que les critères ne sont plus remplis.
- Visiteurs distincts de la fiche sur 30 jours : 5 (il en faut 30) pas encore
- ou configurations d’installation copiées sur 30 jours : 0 (il en faut 5) pas encore
- et un test réussi de moins de 14 jours : testé le 28 nov. 2026 rempli
Badge à jour tout seul. Toujours « testé le … », jamais « certifié ». Comment ça marche
[](https://latlas.dev/mcp/io.github.rebelArtists/fortfi-treasury-mcp)<a href="https://latlas.dev/mcp/io.github.rebelArtists/fortfi-treasury-mcp"><img src="https://latlas.dev/badge/statut/mcp/io.github.rebelArtists/fortfi-treasury-mcp.svg" alt="Statut sur L’Atlas" height="20"></a>Badge pour votre README
Gratuit, pour toute fiche. Il renvoie vers cette fiche et affiche « testé OK » tant que notre dernier test est réussi.
[](https://latlas.dev/mcp/io.github.rebelArtists/fortfi-treasury-mcp)<a href="https://latlas.dev/mcp/io.github.rebelArtists/fortfi-treasury-mcp"><img src="https://latlas.dev/badge/fiche/io.github.rebelArtists/fortfi-treasury-mcp.svg" alt="Référencé sur L’Atlas" height="20"></a>Nos tests
Chaque semaine : initialize puis tools/list, sans identifiant, sans jamais appeler d’outil. Méthode
- Adresse
- https://fortfiapp.com/api/mcp
- Dernier résultat
- OK 28 nov. 2026, 09:05
- Temps de réponse
- 1 164 ms (initialize + tools/list)
- Version du protocole
- 2024-11-05
- Nom annoncé
- fortfi 1.0.0
- Outils
- 148
Historique
| Date | Résultat | Réponse | Outils |
|---|---|---|---|
| 28 nov. 2026, 09:05 | OK | 1 164 ms | 148 |
Outils exposés (148, réponse à tools/list, 28 nov. 2026)
get_mcp_guide
FortFi MCP capability guide: onboarding paths, pricing, limits, workflows, and full tool catalog. Call first when unsure which tool to use (e.g. market research → discover_tokens, not the Explore UI REST route).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| topic | enum: "overview" | "tools" | "workflows" | "limits" | "pricing" | "all" | non | Default overview |
get_treasury_context
Who am I? Returns treasury email, user id, credential kind/scopes, vault summary, and policy limits for this API key. Call first to confirm you are on the correct account before money-moving tools.
Aucun paramètre.
list_wallets
List FortFi wallets for this account: chain, address, nickname, metadata tags, and default flag. Optional metadataKey/metadataValue filter (exact match). Pass cursor and/or limit to page through large fleets — response becomes { items, nextCursor } when either is set; omit both for the plain array of all wallets.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| metadataKey | string | non | Filter wallets that include this metadata key (optional) |
| metadataValue | string | non | When set with metadataKey, require an exact value match |
| cursor | string | non | Opaque cursor from a previous page's nextCursor. Passing this (even empty) switches the response to { items, nextCursor }. |
| limit | number | non | Page size when paginating (default 50, max 200) |
list_recipients
List all allowlisted recipients. Includes cooldown status: `cooldownActive: true` means the recipient cannot yet receive funds (24-hour gate).
Aucun paramètre.
list_audit_log
Recent account activity: one row per money move (sends, swaps, bridges), blocked attempt, or account change (keys, recipients). Money rows and blocked rows carry a confirmationNumber (FF-XXXX-XXXX) the owner can quote to FortFi support. Blocked rows carry the reasons. Pass view: 'full' for every internal step. Optional walletId filters to one vault's history. Pass cursor (from a previous page's nextCursor, even as an empty string on the first call) to switch the response to { items, nextCursor } and page back through full history instead of only the most recent entries.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | number | non | Max entries to return (default 20, max 100) |
| view | enum: "activity" | "full" | non | activity (default): one row per money move, blocked attempt, or account change. full: every audit step, including internal ones. |
| walletId | string | non | Filter to audit entries for one wallet id |
| cursor | string | non | Opaque cursor from a previous page's nextCursor. Passing this key (even as '') switches the response to { items, nextCursor }. |
list_activity_report
Treasury activity timeline (JSON) for reconciliation: normalized labels, USD hints, vault scope, and categories. Optional walletId narrows to one vault. Requires reporting:read (or account:read).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| category | enum: "all" | "money" | "security" | "account" | non | Filter timeline category (default all) |
| walletId | string | non | Filter to one wallet mapping id |
get_fusion_order_status
Track an owned Fusion+ cross-chain order by orderHash. Returns authoritative settlement/refund status, source and destination transactions, receiver, and the real destination token contract.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| orderHash | string | oui | Fusion+ order hash (0x…) |
get_policy_limits
Current policy limits: per-tx/daily/monthly caps (USDC smallest units). Agent accounts also include agent cap tier limits, maxWallets, and credential access expiry.
Aucun paramètre.
get_usage_balance
Monthly UpTo product balance: cap, used, remaining, and period bounds. Billable writes consume this pool; unused budget is refunded at period end.
Aucun paramètre.
resend_claim_link
Resend the dashboard claim email to contactEmail (MCP agent API key only; keys:manage scope). Use when the original link expired (72h) or was lost. Rate limit: 3/hour.
Aucun paramètre.
list_funding_wallet_agents
List all FortFi agent accounts funded by the same payment wallet as this agent. Use to discover agentLabel / userId when renewing or spawning siblings (treasury multi-agent setups).
Aucun paramètre.
list_cosigner_memberships
Active co-signers on this account.
Aucun paramètre.
get_cosigner_rules
Amount-banded cosigner quorum rules for sends and swaps. Below-band amounts auto-execute; matching bands require N cosigner votes.
Aucun paramètre.
update_cosigner_rules
Set cosigner quorum rules (send + swap USD bands). Tightening rules works with the agent key alone. WEAKENING them (lower required cosigners / raise the amount floor) is a GOVERN action: sign a challenge with your funding wallet (challengeId + walletSignature); applies immediately once signed (same as passkey in the UI). Amounts use USDC micro-units (1 USDC = 1000000).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| rules | array<object> | oui | |
| challengeId | string | non | Governance challengeId (only needed when weakening rules) |
| walletSignature | string | non | Funding-wallet signature over the challenge message |
list_pending_cosigner_approvals
Pending actions that require this account's co-signer approval. Use when this agent is a co-signer on another account.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | number | non | Max entries (default 10) |
add_recipient
Add a payout address to the allowlist. Human developer key (frtfi_hu_* + DA): added with 24h cooldown (no Assist passkey). Agent key (frtfi_ag_*): GOVERN — funding-wallet signature required; then approved immediately.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| address | string | oui | Wallet address (0x… or Solana base58) |
| chainId | string | oui | FortFi chain id (e.g. hyperliquid-mainnet). Omit when fromWalletId is set — network is inferred from that wallet. |
| fromWalletId | string | non | Optional source wallet id (list_wallets). Sets allowlist network to that wallet's chain — use for HL sends without passing chainId. |
| nickname | string | non | Optional display name |
| challengeId | string | non | Agent GOVERN: challengeId from the first call |
| walletSignature | string | non | Agent GOVERN: funding-wallet signature |
remove_recipient
Remove a recipient from the FortFi allowlist (tightening policy — no funding-wallet GOVERN). Human developer key, session, or agent treasury key. Re-sync Turnkey policies in the app so the enclave matches.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| recipientId | string | oui | Recipient id from list_recipients |
approve_recipient
Approve a recipient still in cooldown (early release). Active cosigners may approve directly. Human passkey owners: use the FortFi app (passkey) or the approval email link; owner bearer keys cannot self-clear. Agent-owned accounts: owner self-approval is GOVERN (funding-wallet signature).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| recipientId | string | oui | Recipient id from list_recipients or add_recipient |
| challengeId | string | non | Governance challengeId from the first call |
| walletSignature | string | non | Funding-wallet signature over the challenge message |
validate_recipient_manifest
Preview a batch recipient import (max 50 rows). Each row: { address, chainId, nickname? }. Returns ready_new, already_exists, or invalid per line. Read-only.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| recipients | array<object> | oui |
propose_recipient_manifest
Apply a validated recipient manifest (human/developer key). Adds new allowlist rows with normal 24h cooldown. Agent keys: use add_recipient per row (GOVERN).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| recipients | array<object> | oui |
validate_payout_manifest
Preview batch payroll/payout (max 50 lines). Each line: { recipientId, amountUsdc, memo? }. All recipients must be allowlisted, same chain as fromWalletId, and past cooldown.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromWalletId | string | oui | Wallet id from list_wallets |
| lines | array<object> | oui |
propose_payout_manifest
Execute a validated payout manifest sequentially (one ActionIntent per line). Requires Delegated Access or agent wallet. Set dryRun:true to validate only.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromWalletId | string | oui | |
| lines | array<object> | oui | |
| dryRun | boolean | non | If true, validate only — no sends |
propose_transfer
Transfer USDC to an allowlisted recipient, OR pay a FortFi invoice by public pid (paymentRequestPid + fromWalletId — amount optional for partial pay). Recipient path requires allowlist approval. Invoice path binds settlement to the pid (Delegated Access / agent accounts execute server-side when configured).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| recipientId | string | non | Allowlisted recipient id (omit when using paymentRequestPid) |
| paymentRequestPid | string | non | Public invoice pid from checkout URL — pays merchant vault with pid-bound settlement |
| amountUsdc | string | non | Amount in USDC as a decimal string, e.g. '5.00'. Required for recipient sends; optional for invoice pay (defaults to remaining balance). |
| fromWalletId | string | oui | Source wallet id from list_wallets |
| networkChainId | string | non | Optional. Send from the same EVM address on another supported mainnet (e.g. 'arbitrum-mainnet' for USDC withdrawn from Hyperliquid). Recipient must be allowlisted on that network. Omit to use the wallet's home network. Not allowed with paymentRequestPid. |
| memo | string | non | Optional transfer note (max 256 chars) |
invite_agent_cosigner
Invite a co-signer. Agents: pass cosignerUserId (GOVERN / funding-wallet sign when using an agent API key). Humans: pass email — opens instructions for Security UI passkey provision (Turnkey dual-control with MCP DA).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| cosignerUserId | string | non | Agent path: FortFi userId of the agent to invite as co-signer |
| string | non | Human path: invitee email for Security UI co-signer provision | |
| nickname | string | non | Optional nickname for this co-signer |
| challengeId | string | non | Governance challengeId from the first call |
| walletSignature | string | non | Funding-wallet signature over the challenge message |
invite_cosigner
Alias of invite_agent_cosigner. Humans: email → Security UI. Agents: cosignerUserId.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| cosignerUserId | string | non | |
| string | non | ||
| nickname | string | non | |
| challengeId | string | non | |
| walletSignature | string | non |
approve_cosigner_action
Approve a pending action as co-signer. Use with list_pending_cosigner_approvals.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pendingApprovalId | string | oui |
reject_cosigner_action
Reject a pending action as co-signer.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pendingApprovalId | string | oui | |
| reason | string | non | Optional rejection reason |
get_portfolio
Full portfolio summary across all wallets: token balances with USD values, 24h change, and total net worth.
Aucun paramètre.
get_account_holdings
Token holdings for a specific wallet, with USD values and 24h change.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | Wallet id from list_wallets |
review_portfolio
Read-only treasury review: allocation buckets (cash, yield, tokens), top holdings, and optional drift vs target weights. Safe for cron — no proposals created.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| targets | array<object> | non | Optional target allocation. Each row: { label, weightPercent, kind: cash|yield|token|symbol, symbol? }. Weights must sum to 100. |
| driftThresholdPercent | number | non | Hysteresis band in percentage points (default 5) |
| minLegUsd | number | non | Minimum USD for rebalance legs (default 1) |
plan_rebalance
Read-only rebalance planner toward target weights. Returns suggested legs (swap, yield_deposit, yield_withdraw) without executing. Use propose_* + confirm_proposal to act.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| targets | array<object> | oui | Target allocation. Each row: { label, weightPercent, kind: cash|yield|token|symbol, symbol? }. Example: 40% cash, 10% yield, 30% UNI, 20% other tokens. |
| driftThresholdPercent | number | non | Ignore drift below this % (default 5) |
| minLegUsd | number | non | Minimum leg size in USD (default 1) |
discover_tokens
Market-wide token discovery on a FortFi chain (USD). Use for trending/gainers/losers/volume/mcap — NOT the browser Explore REST route. Sorts: gainers_1d, gainers_30d, gainers_90d, gainers_365d, losers_1d, losers_30d, losers_90d, losers_365d, market_cap, volume_1d. No 7d or 30d-volume sort exists upstream — closest available gainers granularity to '1 week' is gainers_1d or gainers_30d; say so explicitly rather than silently picking one. Returns contract addresses for propose_swap / propose_bridge.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chainId | string | oui | FortFi chain id, e.g. base-mainnet, ethereum-mainnet |
| query | string | non | Optional name/symbol filter, e.g. 'USDC' or 'wrapped' |
| limit | number | non | Max results (default 10, max 25) |
| sort | string | non | gainers_1d, gainers_30d, gainers_90d, gainers_365d, losers_1d, losers_30d, losers_90d, losers_365d, market_cap, volume_1d (default market_cap) |
| verifiedOnly | boolean | non | Only verified tokens |
get_token_chart
Fetch a compact Zerion chart summary plus deterministic EMA, RSI, MACD, Bollinger, return, max-drawdown, and data-quality analysis. Raw points are omitted by default; set includePoints:true only for visual charting or external analysis. Discontinuous pre-migration/launch samples are excluded from TA.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chainId | string | oui | FortFi chain id, e.g. base-mainnet, ethereum-mainnet |
| fungibleId | string | non | Zerion fungible id returned by discover_tokens (preferred) |
| address | string | non | Token contract address or Solana mint (fallback) |
| period | enum: "hour" | "day" | "week" | "month" | "3months" | "6months" | "year" | "5years" … | non | Chart window (default day) |
| indicators | array<enum: "return" | "drawdown" | "ema" | "rsi" | "macd" | "bollinger"> | non | Optional indicators to return; defaults to all. REST callers may pass a comma-separated value. |
| includePoints | boolean | non | Include the raw chart points array. Default false. |
screen_tokens
Batch cheap-screen tokens across requested chains. Defaults to verified assets, $5M market cap, $50K daily volume, top 30-day performers plus volume leaders, stablecoin removal, and cross-chain deduplication. Returns no proposal.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chains | array<string> | oui | |
| mode | enum: "quick" | "standard" | "deep" | non | |
| deepOptIn | boolean | non | Required when mode=deep |
| verifiedOnly | boolean | non | Default true |
| includeUnverified | boolean | non | Default false; unverified results are labeled and need execution opt-in |
| minMarketCapUsd | number | non | Default 5000000 |
| minVolume1dUsd | number | non | Default 50000 |
| candidateLimit | number | non | Override merged candidate cap, max 100 |
| sorts | array<enum: "gainers_1d" | "gainers_30d" | "gainers_90d" | "gainers_365d" | "volume_1d" | "market_cap"> | non | Defaults to gainers_30d + volume_1d. Add gainers_1d, gainers_90d, gainers_365d, or market_cap when requested. |
rank_tokens
Two-stage token ranking: run the cheap screen, then concurrently fetch deterministic chart evidence only for the strongest candidates. Quick charts 5 candidates over month+3months; standard charts 10 over day+month+3months+year; deep charts 20 and requires explicit opt-in. Returns evidence for user review and never creates a proposal.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chains | array<string> | oui | |
| mode | enum: "quick" | "standard" | "deep" | non | |
| deepOptIn | boolean | non | Required when mode=deep |
| verifiedOnly | boolean | non | Default true |
| includeUnverified | boolean | non | Default false |
| minMarketCapUsd | number | non | Default 5000000 |
| minVolume1dUsd | number | non | Default 50000 |
| candidateLimit | number | non | Override merged candidate cap, max 100 |
| chartCandidateLimit | number | non | Override chart cap, max 20 |
| sorts | array<enum: "gainers_1d" | "gainers_30d" | "gainers_90d" | "gainers_365d" | "volume_1d" | "market_cap"> | non | Defaults to gainers_30d + volume_1d. Optional supplements: gainers_1d, gainers_90d, gainers_365d, market_cap. |
| periods | array<enum: "hour" | "day" | "week" | "month" | "3months" | "6months" | "year" | "5years" …> | non |
get_swap_routing_guide
Returns which swap/bridge tool to use for a given from→to chain pair, with notes on protocols supported.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromChainId | string | oui | Source chain id |
| toChainId | string | oui | Destination chain id |
list_token_spender_grants
List active ERC-20 token approvals (spender grants) on this account. Useful before proposing a swap to confirm the CoW vault is approved.
Aucun paramètre.
list_incoming_cosigner_invites
List pending co-signer invites sent TO this account (where this account is the invitee). Use to discover accounts you can become a co-signer for.
Aucun paramètre.
accept_cosigner_invite
Accept a pending co-signer invite. After accepting, you will be able to approve/reject pending actions for that account.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| inviteId | string | oui | Invite id from list_incoming_cosigner_invites |
remove_cosigner
Remove an active co-signer from this account. GOVERN action (it shrinks the approver set): via an agent key, sign a challenge with your funding wallet (challengeId + walletSignature); applies immediately once signed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| membershipId | string | oui | Membership id from list_cosigner_memberships |
| challengeId | string | non | Governance challengeId from the first call |
| walletSignature | string | non | Funding-wallet signature over the challenge message |
register_backup_governance_wallet
Register (or replace) a single backup governance wallet — the agentic equivalent of a backup passkey. Either the funding wallet or this backup can authorize future governance. GOVERN action: sign the challenge with your CURRENT funding wallet (challengeId + walletSignature); applies immediately once signed. Max one backup.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletAddress | string | oui | The backup wallet address (0x…) to register |
| challengeId | string | non | Governance challengeId from the first call |
| walletSignature | string | non | CURRENT funding-wallet signature over the challenge message |
remove_backup_governance_wallet
Remove the registered backup governance wallet. GOVERN action: sign with your funding wallet (challengeId + walletSignature); applies immediately once signed. After removal, only the funding wallet may authorize governance.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| challengeId | string | non | Governance challengeId from the first call |
| walletSignature | string | non | Funding-wallet signature over the challenge message |
list_governance_requests
List open governance requests on this account: pending (awaiting signature) and legacy scheduled rows. Use to monitor for unexpected loosening attempts.
Aucun paramètre.
cancel_governance_change
Veto/cancel a pending governance challenge before it is signed and applied. Cancelling TIGHTENS security, so it needs only the agent key (no signature). Also cancels legacy scheduled rows from before immediate-apply parity.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| challengeId | string | oui | The governance request id from list_governance_requests |
revoke_cosigner_invite
Revoke a pending outbound co-signer invite before it is accepted.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| inviteId | string | oui | Invite id from the invite you sent |
cancel_pending_action
Cancel a pending approval that you (the account owner) initiated.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| pendingApprovalId | string | oui | Pending approval id from list_pending_cosigner_approvals or list_audit_log |
propose_rename_account
Rename a wallet (account nickname), then call confirm_proposal with the returned proposalId.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| accountId | string | oui | Wallet id from list_wallets |
| nickname | string | oui | New nickname (2–64 characters) |
propose_create_account
Create a new wallet on a supported chain. Optional metadata tags (e.g. customer_id). Then call confirm_proposal with the returned proposalId. Agent accounts execute server-side when no cosigners are configured.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chainId | string | oui | FortFi chain id, e.g. base-mainnet, robinhood-mainnet, solana-mainnet |
| walletName | string | oui | Display name for the new wallet (2–64 chars) |
| metadata | object | non | Optional flat string tags (max 20 keys), e.g. { "customer_id": "cust_123" } |
confirm_proposal
Confirm a pending proposal returned by a propose_* tool. Reuses the same policy, risk, allowlist, vault-grant, delegated-authority, and cosign checks as POST /api/mcp/confirm. Returns executed, pending-approval, or passkey-required status.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| proposalId | string | oui | Proposal UUID returned by a propose_* tool |
| confirmToken | string | non | Optional proposal-bound confirmation token when one was returned |
update_wallet_metadata
Propose updating wallet metadata tags (flat string key/value pairs; replaces existing tags on confirm). Returns proposalId; call confirm_proposal to apply. Not a money-moving action.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| accountId | string | oui | Wallet id from list_wallets |
| metadata | object | oui | Full metadata object, e.g. { "customer_id": "cust_123", "agent_id": "ag_1" } |
preview_swap_quote
Optional advanced step: fetch a same-chain swap quote (LI.FI on EVM with CoW as fallback, Jupiter on Solana) and return previewQuoteId. Omit previewQuoteId on propose_* to bundle quote+proposal in one call. Does not execute or move funds.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromWalletId | string | oui | Source wallet id |
| sellTokenAddress | string | non | EVM sell token (0x…) — omit for Solana |
| buyTokenAddress | string | non | EVM buy token (0x…) — omit for Solana |
| sellMint | string | non | Solana sell mint — omit for EVM |
| buyMint | string | non | Solana buy mint — omit for EVM |
| sellSymbol | string | oui | |
| buySymbol | string | oui | |
| amountUsd | string | oui | Approximate sell amount in USD |
| toWalletId | string | non | Optional Solana receive wallet |
| slippagePercent | number | non | Optional slippage 0–50 (LI.FI quotes cap at 5) |
preview_bridge_quote
Optional advanced step: fetch a cross-chain bridge quote (Fusion+ or deBridge) and return previewQuoteId. Omit previewQuoteId on propose_bridge to bundle quote+proposal in one call.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromWalletId | string | oui | |
| toWalletId | string | oui | |
| sellSymbol | string | oui | |
| buySymbol | string | oui | |
| amountUsd | string | oui |
check_trade_allowance
Check ERC-20 allowance for an upcoming CoW swap (cow_swap) or Fusion bridge (fusion_bridge). Only needed when propose_swap returns swapProvider "cow", or before propose_bridge; if insufficient, use propose_token_approve then confirm. LI.FI swaps approve the exact amount at confirm.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromWalletId | string | oui | Source EVM wallet id |
| tokenAddress | string | oui | Sell token contract (0x…) |
| requiredAmountSmallest | string | oui | Required allowance in token smallest units (e.g. USDC 6 decimals) |
| flow | enum: "cow_swap" | "fusion_bridge" | oui | cow_swap = CoW VaultRelayer; fusion_bridge = 1inch Limit Order |
propose_token_approve
Propose max ERC-20 approval for CoW or Fusion spenders. Returns proposalId: call confirm_proposal before swap/bridge. API keys on a passkey account cannot approve the Fusion (bridge) spender: fusion_bridge returns OWNER_PASSKEY_REQUIRED.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromWalletId | string | oui | EVM wallet id |
| tokenAddress | string | oui | Token to approve (0x…) |
| flow | enum: "cow_swap" | "fusion_bridge" | oui |
propose_swap
Propose a same-chain EVM swap. Routes through LI.FI first and falls back to CoW Protocol; the response says which (swapProvider). Autonomous agents: fetches and binds a quote inline (default), or pass previewQuoteId from preview_swap_quote for a two-step review. confirm always signs the bound quote — same principle as FortFi Assist. LI.FI quotes last about 3 minutes, so confirm soon. Human session MCP: confirm requires passkey in the app.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromWalletId | string | oui | Source wallet id (must be an EVM wallet on a supported swap chain) |
| sellTokenAddress | string | oui | Token contract address to sell (0x…) |
| buyTokenAddress | string | oui | Token contract address to buy (0x…) |
| sellSymbol | string | oui | Human-readable symbol of sell token, e.g. USDC |
| buySymbol | string | oui | Human-readable symbol of buy token, e.g. ETH |
| amountUsd | string | oui | Sell amount in USD |
| previewQuoteId | string | non | Optional — from preview_swap_quote for explicit quote review before propose |
| slippagePercent | number | non | Optional slippage tolerance 0–50 (default 0.5) |
propose_solana_swap
Propose a Solana Jupiter swap. Autonomous agents: inline quote by default, or previewQuoteId for two-step review. confirm signs the bound quote.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromWalletId | string | oui | Solana wallet id to sell from |
| toWalletId | string | oui | Solana wallet id to receive (can be same as fromWalletId) |
| sellMint | string | oui | Mint address of token to sell |
| buyMint | string | oui | Mint address of token to buy |
| sellSymbol | string | oui | Human-readable sell symbol |
| buySymbol | string | oui | Human-readable buy symbol |
| amountUsd | string | oui | Sell amount in USD |
| previewQuoteId | string | non | Optional — from preview_swap_quote for explicit quote review before propose |
| slippagePercent | number | non | Optional slippage tolerance 0–50 (default 0.5) |
propose_bridge
Propose a Fusion+ or deBridge cross-chain swap. FortFi resolves chain-specific verified token contracts from sellSymbol/buySymbol; optional token addresses are mismatch assertions, never routing overrides. Inline quote by default, or use previewQuoteId for two-step review. Agent wallets execute on confirm_proposal. API keys on a passkey account cannot bridge: this returns OWNER_PASSKEY_REQUIRED, and the owner bridges in the FortFi app with their passkey (preview_bridge_quote still works).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromWalletId | string | oui | Source wallet id |
| toWalletId | string | oui | Destination wallet id (different chain) |
| sellTokenAddress | string | non | Optional expected source token contract; proposal fails if it differs from FortFi's verified chain resolution |
| buyTokenAddress | string | non | Optional expected destination token contract; proposal fails if it differs from FortFi's verified chain resolution |
| sellSymbol | string | oui | Sell token symbol |
| buySymbol | string | oui | Buy token symbol |
| amountUsd | string | oui | Bridge amount in USD |
| previewQuoteId | string | non | Optional — from preview_bridge_quote for explicit quote review before propose |
list_yield_markets
Open Morpho yield discovery by chain with discovered, policyEligible, manuallyCurated, executionReady, and eligibilityReasons. Default minimum TVL is $500K everywhere (listing, policy, Turnkey). executionReady means TVL qualifies and you have a wallet on that chain; POLICY_SYNC_RECOMMENDED is advisory only.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chainId | string | non | FortFi chain id or omit for all yield chains |
| asset | string | non | Asset symbol filter, default USDC |
| verifiedOnly | boolean | non | If true, only FortFi curated vaults; default false = open discovery |
| minTvlUsd | number | non | Minimum vault TVL in USD (default 500000) |
| sortBy | string | non | net_apy (default) or tvl |
| limit | number | non | Max vaults (default 15, max 25) |
list_yield_positions
Active Morpho yield positions with per-vault valueUsd, earnedUsd (Morpho pnlUsd), netApy, and a summary block. summary.cumulativeEarnedUsd matches Morpho pnl on the open vaults when the ledger cannot explain the balance. A deposit missing from the ledger is principal, not earnings. Use at the start of every yield desk run to report standing P&L.
Aucun paramètre.
get_yield_market_detail
Evidence for one Morpho vault: current net APY/TVL, historical APY and TVL series, period statistics, quality flags, allocation, instant-withdrawal liquidity, separated eligibility/readiness status, and timestamp. Rank on evidence.apy.medianPercent: the raw series contains upstream artifacts (points above 3000% APY) so averagePercent is filtered and medianPercent is the robust level. Check evidence.liquidity.redeemableUsd before sizing, since vaults typically run near 90% utilization and only unborrowed supply can be withdrawn on demand. Use before recommending or proposing a deposit.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chainId | string | oui | FortFi yield-supported chain id |
| vaultAddress | string | oui | Vault address from list_yield_markets |
| apyDays | number | non | APY history window, 7–365 days; default 30 |
| tvlDays | number | non | TVL history window, 7–365 days; default 90 |
rank_yield_markets
Batch-rank Morpho markets using current net APY, APY median/average/range/volatility, TVL trend/drawdown, vault age, curation, instant-withdrawal liquidity, warnings, and current-user execution eligibility. Results are ordered by current net APY, which is a spot rate that spikes: re-rank on evidence.apy.medianPercent before acting, since a vault printing 12% today commonly pays under 5% tomorrow. Runs evidence requests concurrently and never creates a proposal.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| chainId | string | non | FortFi chain id or all |
| asset | string | non | Asset symbol, default USDC |
| minTvlUsd | number | non | Default 500000 |
| limit | number | non | Default 10, max 25 |
| apyDays | number | non | Default 30 |
| tvlDays | number | non | Default 90 |
propose_yield_deposit
Propose Morpho vault deposit, then call confirm_proposal. With Delegated Access / agent key this executes server-side when policy permits. Use list_yield_markets for vaultAddress.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromWalletId | string | non | FortFi wallet id |
| fromAccountQuery | string | non | Wallet nickname (alternative to fromWalletId) |
| vaultAddress | string | oui | Morpho vault contract (0x…) |
| amountUsd | string | oui | USDC amount e.g. 100.00 |
| assetSymbol | enum: "USDC" | "USDT" | non |
propose_yield_withdraw
Propose Morpho vault withdraw, then call confirm_proposal. With Delegated Access this executes server-side when policy permits. Use list_yield_positions for vaultAddress.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromWalletId | string | non | |
| fromAccountQuery | string | non | |
| vaultAddress | string | oui | |
| amountDisplay | string | oui | |
| assetSymbol | enum: "USDC" | "USDT" | non | |
| vaultName | string | non |
list_polymarket_markets
List active Polymarket prediction markets on Polygon with volume, liquidity, and outcome prices.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| search | string | non | Optional question/slug filter |
| limit | number | non | Max markets (default 25) |
| sortBy | string | non | volume_24hr (default), volume, liquidity, or end_date |
| sortDirection | enum: "asc" | "desc" | non | |
| minLiquidityUsd | number | non | Minimum liquidity USD (default 10000) |
| afterCursor | string | non | Pagination cursor from a prior list response |
search_polymarket_markets
Search Polymarket markets by question text.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | oui | Search text |
| limit | number | non |
rank_polymarket_markets
Rank Polymarket markets by volume, liquidity, or 24h volume.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| sortBy | string | non | |
| limit | number | non |
get_polymarket_market
Get a Polymarket market by conditionId with optional outcome price history from the public CLOB API.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| conditionId | string | oui | Market condition id |
| tokenId | string | non | Outcome token id for history (defaults to first outcome) |
| interval | enum: "1h" | "6h" | "1d" | "1w" | "max" | non | Price history window (default 1w) |
list_polymarket_positions
List Polymarket outcome token positions for a Polygon wallet. walletId is required.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | FortFi Polygon wallet id |
propose_polymarket_buy
Propose buying Polymarket outcome shares, then call confirm_proposal. Requires Polygon wallet.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromWalletId | string | non | |
| fromAccountQuery | string | non | |
| conditionId | string | oui | Market condition id from list_polymarket_markets |
| outcomeIndex | number | oui | 0-based outcome index |
| price | string | oui | Limit price 0-1 (e.g. 0.52) |
| sizeDisplay | string | oui | Share count (e.g. 10) |
propose_polymarket_sell
Propose selling Polymarket outcome shares (redeem collateral), then call confirm_proposal.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromWalletId | string | non | |
| fromAccountQuery | string | non | |
| conditionId | string | oui | |
| outcomeIndex | number | oui | |
| price | string | oui | |
| sizeDisplay | string | oui |
propose_polymarket_redeem
Propose redeeming winning shares from a resolved Polymarket market (CTF on Polygon), then call confirm_proposal.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| fromWalletId | string | non | |
| fromAccountQuery | string | non | |
| conditionId | string | oui | |
| outcomeIndex | number | non |
list_hyperliquid_markets
List Hyperliquid perpetual markets with live mark/mid/oracle prices, funding, open interest, and 24h volume. Public data; no proposal.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| limit | number | non | Page size (default 30, max 100) |
| offset | number | non | Pagination offset (default 0) |
| search | string | non | Filter by coin symbol |
get_hyperliquid_market
Get a Hyperliquid perp market by symbol with mark/funding context and optional candle history.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| symbol | string | oui | Coin symbol, e.g. BTC |
| interval | enum: "1m" | "5m" | "15m" | "1h" | "4h" | "1d" | non | Candle interval (default 1h) |
get_hyperliquid_order_book
Live order book for one Hyperliquid perp (core or HIP-3, e.g. BTC or xyz:NVDA) or, with market=spot, one spot pair: up to 20 levels a side, mid, spread, and USD resting within 0.5%, 1% and 2% of mid. Pass sizeUsd to see the average fill and price impact of a market buy and sell of that size. Use it before sizing an order or to compare liquidity across coins.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| symbol | string | oui | Coin symbol, e.g. BTC or xyz:NVDA. With market=spot: HYPE, HYPE/USDC or @107 |
| market | enum: "perp" | "spot" | non | Default perp. spot reads the spot pair's book |
| nSigFigs | enum: 2 | 3 | 4 | 5 | non | Group prices to this many significant figures to see deeper into the book (default: full precision) |
| sizeUsd | number | non | Optional order size in USD for the price impact estimate |
get_hyperliquid_predicted_funding
Next funding rate per Hyperliquid perp, per hour and annualized, with Binance and Bybit for the same coin and the gap between them. Positive means longs pay shorts. Without symbols: core coins sorted by the size of the Hyperliquid rate. HIP-3 coins (xyz:, …) need symbols and return the current hourly rate. For past funding use get_hyperliquid_history with includeFunding=true.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| symbols | string | array<string> | non | Coins to return. Comma-separated string or array, up to 100. |
| limit | number | non | Rows to return, 1-300 (default 50) |
get_hyperliquid_open_interest_history
Hourly open interest for one Hyperliquid perp (core or HIP-3), in coins and dollars, with price and funding at each hour, plus the change over 1 hour, 24 hours and 7 days. Hyperliquid keeps no open interest history; FortFi records it every hour from 2026-11-05.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| symbol | string | oui | Coin symbol, e.g. BTC or xyz:CL |
| hours | number | non | Hours of history, 1-2160 (default 168) |
list_hyperliquid_symbol_master
Security master for Hyperliquid perps: symbol, dex, desk label, short symbol, display name, asset class (crypto/equity/commodity/fx/index/pre_ipo), plus live volume and funding. Default scope=core; pass scope=all for HIP-3.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| scope | enum: "core" | "all" | non | Default core |
| includeAllDesks | boolean | non | When true, same as scope=all |
| dex | string | array<string> | non | Filter dex ids (core, xyz, io, para). Comma-separated string or array. |
| assetClass | string | array<enum: "crypto" | "equity" | "commodity" | "fx" | "index" | "pre_ipo" | "other"> | non | Filter asset classes. Comma-separated string or array. |
| limit | number | non | Max rows by 24h volume (default all, max 500) |
rank_hyperliquid_markets
Rank Hyperliquid perp markets by 24h volume, pctChange, or funding. Returns dex + assetClass tags. Default scope=core; pass scope=all for HIP-3. Cheap filter only — use screen_hyperliquid_markets for breakout TA.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| scope | enum: "core" | "all" | non | Default core |
| includeAllDesks | boolean | non | When true, same as scope=all |
| dex | string | array<string> | non | Filter dex ids. Comma-separated string or array. |
| assetClass | string | array<enum: "crypto" | "equity" | "commodity" | "fx" | "index" | "pre_ipo" | "other"> | non | Filter asset classes. Comma-separated string or array. |
| sort | enum: "volume" | "pctChange" | "funding" | "openInterest" | non | Default volume |
| direction | enum: "asc" | "desc" | non | Default desc |
| limit | number | non | Default 20 |
screen_hyperliquid_markets
Breakout screener for Hyperliquid perps: min volume filter, rank, HL candle TA (RSI, MACD, Bollinger). Returns dex + assetClass tags and long/short/neutral bias. Default scope=core; scope=all for HIP-3. Never creates proposals.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| scope | enum: "core" | "all" | non | Default core |
| includeAllDesks | boolean | non | When true, same as scope=all |
| dex | string | array<string> | non | Filter dex ids. Comma-separated string or array. |
| assetClass | string | array<enum: "crypto" | "equity" | "commodity" | "fx" | "index" | "pre_ipo" | "other"> | non | Filter asset classes. Comma-separated string or array. |
| sort | enum: "volume" | "pctChange" | "funding" | "openInterest" | non | Default pctChange |
| direction | enum: "asc" | "desc" | non | desc=gainers, asc=losers/short ideas |
| sideBias | enum: "long" | "short" | "both" | non | |
| minDayVolumeUsd | number | non | Default 1000000 |
| limit | number | non | Default 40 |
| chartLimit | number | non | TA depth, default 10 |
| interval | enum: "1m" | "5m" | "15m" | "1h" | "4h" | "1d" | non | Default 1h |
| indicators | array<enum: "return" | "drawdown" | "ema" | "rsi" | "macd" | "bollinger"> | non | |
| includeCharts | boolean | non |
get_hyperliquid_cross_section
Rank a Hyperliquid perp universe by trailing return in one call, for a dollar-neutral long/short book. Returns dex, assetClass, trailing returns, realized vol, funding, rank, percentile, and long/short/hold buckets. Default scope=core (validated trend desk); pass scope=all for HIP-3 cross-asset books. Read-only; never creates proposals.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| scope | enum: "core" | "all" | non | Default core |
| includeAllDesks | boolean | non | When true, same as scope=all |
| dex | string | array<string> | non | Filter dex ids. Comma-separated string or array. |
| assetClass | string | array<enum: "crypto" | "equity" | "commodity" | "fx" | "index" | "pre_ipo" | "other"> | non | Filter asset classes. Comma-separated string or array. |
| minDayVolumeUsd | number | non | Liquidity floor, default 2000000 |
| lookbackDays | array<number> | non | Trailing return windows in days. FIRST entry is the ranking signal. Default [14,7,30]. |
| legsPerSide | number | non | Legs per side, default 6 |
| band | number | non | Hysteresis band, default 1.0. A held name stays eligible while inside the top legsPerSide*(1+band); surfaced as hold_long / hold_short. |
| limit | number | non | Max symbols ranked by volume, default 60 |
run_hyperliquid_research_backtest
Run an out-of-sample backtest on Hyperliquid perp OHLCV stored in FortFi research Postgres (hl_research_candles). Returns IS/OOS metrics and a pass/fail verdict. Read-only; uses synced historical data, not live HL API for bars. Strategies: momentum_cross (default).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| strategy | enum: "momentum_cross" | "trailing_return_rank" | non | Default momentum_cross |
| interval | enum: "5m" | "15m" | "1h" | "4h" | "1d" | non | Candle interval in research DB. Default 1h |
| minDayVolumeUsd | number | non | Universe liquidity floor when coins omitted. Default 1000000 |
| coins | array<string> | non | Optional fixed symbol list (e.g. BTC, ETH). Omit for volume-filtered universe |
| lookbackBars | number | non | Trailing return lookback. Default 336 on 1h (~14d) |
| holdBars | number | non | Hold period in bars. Default 24 |
| legsPerSide | number | non | Long/short leg count. Default 6 |
| oosFraction | number | non | Out-of-sample tail fraction. Default 0.35 |
run_hyperliquid_research_backtest_spec
Run an out-of-sample backtest from a Strategy Spec JSON (universe + rank factor or named pattern + portfolio rules). Deterministic; reads hl_research_* Postgres. Agent should translate natural-language strategy ideas into the spec object before calling. Pass presetId instead of spec to get a FortFi house preset (crypto-majors, core-momentum, mag7, semis, memory, ai-compute, pre-ipo, ...) with its frozen spec and published OOS, walk-forward, drawdown and leverage scenarios; add rerun:true to recompute it live.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| presetId | string | non | House preset id. Returns the spec plus published stats. |
| rerun | boolean | non | With presetId, rerun the preset spec live instead of returning published stats |
| spec | object | non | Strategy Spec: name, universe {dex, minDayVolumeUsd, includeCoins, excludeCoins, maxSymbols}, interval, signal {type rank|pattern, factor|pattern, params}, portfolio, costs, validation |
| prod | boolean | non | Use production Supabase (default false in dev) |
get_hyperliquid_history
Long price history for one Hyperliquid perp, with no gap up to now: FortFi's stored candles (years for most markets, synced daily) plus live candles since the last sync. Returns the latest `limit` candles in the window, oldest first, as {t,o,h,l,c,v}. When older candles exist, olderEndTime is set: pass it as endTime to page back. includeFunding adds hourly funding rates for the same window. Use get_hyperliquid_market for a quick recent look, this for research.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| symbol | string | oui | Market symbol, e.g. BTC, kPEPE, xyz:NVDA |
| interval | enum: "5m" | "15m" | "1h" | "4h" | "1d" | non | Candle interval (default 1h) |
| startTime | number | string | non | Window start, epoch ms or ISO date. Default: limit candles before endTime. |
| endTime | number | string | non | Window end, epoch ms or ISO date. Default: now. |
| limit | number | non | Max candles returned (default 500, max 5000) |
| includeFunding | boolean | non | Add hourly funding rates for the window |
get_wallet_loss_cap
Read the loss cap on a Hyperliquid wallet: the max loss in percent, whether it is armed or tripped, the balance it was set at, and (live) how much the wallet has lost or made since. Deposits and withdrawals do not count as gains or losses. Returns lossCap null when none is set.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | hyperliquid-mainnet wallet id |
set_wallet_loss_cap
Add a loss cap to a Hyperliquid wallet, or lower the one it has. If the wallet loses maxLossPct from the balance at the moment the cap is set, FortFi cancels its open orders, closes its positions and blocks new trades on it until the owner resets the cap in the app. An API key can only add or tighten a cap: raising, removing or resetting it needs the owner's passkey in the app. The cap is also measured from when it is set, so set it before trading.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | hyperliquid-mainnet wallet id |
| maxLossPct | number | oui | Max loss in percent of the balance when set, 1 to 90 (whole numbers) |
get_wallet_scoreboard
Scoreboard for a Hyperliquid wallet from Hyperliquid's public data: balance, P&L in dollars and percent, win rate (closed trades that beat their fees), trades, fees, volume, worst drop, the loss cap, and BTC buy-and-hold over the same window (no leverage) as the bar to beat. Same numbers anyone can check on the Hyperliquid explorer (explorerUrl). Use it to review how your trading is going before changing anything.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | hyperliquid-mainnet wallet id |
| period | enum: "day" | "week" | "month" | "allTime" | non | Window (default week) |
| includeHistory | boolean | non | Add balance and P&L-over-time points [timestampMs, usd] |
get_hyperliquid_research_data_stats
Row counts and last ingest time for hl_research_* tables (candles, funding, symbols). Use before backtests to confirm data freshness.
Aucun paramètre.
list_strategy_presets
List FortFi autonomous Hyperliquid strategies (house presets) with their published backtest: out-of-sample return, Sharpe and drawdown at 1x, walk-forward windows, every leverage scenario, tested leverage (start_strategy accepts these), high-risk leverage (owner passkey only), and the minimum account size per leverage. Read-only.
Aucun paramètre.
list_strategies
List strategies running on your Hyperliquid accounts (presets and copy trades): status, leverage, cap, next rebalance, and whether an API key started it. Stopped strategies are hidden unless includeStopped is true.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | non | Optional: only this hyperliquid-mainnet wallet |
| includeStopped | boolean | non | Include stopped strategies |
get_strategy
Get one strategy with its last 20 runs (each run lists the orders it placed and their result).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | Strategy id from list_strategies |
| walletId | string | oui | Wallet the strategy runs on |
list_copy_trade_leaders
Top Hyperliquid accounts to copy, from Hyperliquid's public leaderboard. Only accounts over $25k that traded this month and are profitable all-time. Each row has profit per window, turnoverPerDay (volume / account value per day, last 30 days) and a trackRecord (30- and 90-day return, worst drop, Calmar) once FortFi has computed it. Accounts trading over 20x their account a day (market makers, high-frequency bots) are hidden unless includeHighTurnover=true. Use get_copy_trade_wallet and backtest_copy_trade before copying one.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| window | enum: "day" | "week" | "month" | "allTime" | non | Profit window that must be positive and ranks sort=pnl. Default month |
| sort | enum: "pnl" | "return90d" | "calmar90d" | "worstDrop90d" | non | pnl (default): profit over window. return90d: best 90-day return. calmar90d: 90-day return / worst drop. worstDrop90d: smallest worst drop among profitable leaders. Track-record sorts skip leaders not yet computed |
| maxTurnoverPerDay | number | non | Hide accounts trading more than this multiple of their account a day (default 20) |
| includeHighTurnover | boolean | non | Show every account regardless of turnover |
| maxWorstDrop90dPct | number | non | Hide leaders whose 90-day worst drop is above this percent |
| page | number | non | 0-based page, default 0 |
| pageSize | number | non | 1 to 50, default 20 |
| query | string | non | Address prefix (0x...) or display name fragment |
backtest_copy_trade
Copy past test for any Hyperliquid address: replays the leader's own profit history over 7, 30 or 90 days at your leverage cap and account size, minus trading costs on their turnover. Returns end value, return, worst drop, costs, the leader's own numbers and an equity curve. An estimate from sampled history; read the assumptions.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| address | string | oui | 0x Hyperliquid address |
| days | enum: 7 | 30 | 90 | non | Default 30 |
| startEquityUsd | number | non | Your starting account, USD (default 100) |
| leverageCap | enum: 1 | 2 | 3 | 5 | 10 | 20 | non | Your copy leverage cap (default 2) |
| costBps | number | non | Fees plus price movement per traded dollar, basis points (default 10) |
list_copy_leader_fills
What a Hyperliquid address traded recently: fills since N minutes ago, grouped per market (opens, closes, flips, dollars bought and sold, profit taken) plus the latest fills. Poll it to follow a leader between your runs.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| address | string | oui | 0x Hyperliquid address |
| sinceMinutes | number | non | Look back this many minutes, 1-10080 (default 60) |
| limit | number | non | Latest fills to list, 1-500 (default 100) |
get_copy_trade_wallet
Deep dive on any Hyperliquid address: account value, leverage, open positions with share of book, PnL and volume for day, week, month and all time, and a copy preview per leverage cap (which positions would be copied, coverage, and the minimum account size so each copied position is at least $10).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| address | string | oui | 0x Hyperliquid address |
start_strategy
Start a house preset on a hyperliquid-mainnet wallet and place its first orders. Leverage must be one of the preset's testedLeverage or highRiskLeverage levels; high-risk levels need acceptHighRisk: true. Requires the owner to have turned on autonomous trading and confirmed perps eligibility. One strategy per wallet. Every order is an ActionIntent under this key's caps and co-sign rules; the key is re-checked every run and the strategy pauses if it is revoked.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | hyperliquid-mainnet wallet id |
| presetId | string | oui | From list_strategy_presets |
| leverage | number | oui | One of the preset's testedLeverage or highRiskLeverage levels |
| maxAllocationUsd | string | non | Optional cap on equity the strategy sizes against, e.g. "500" |
| maxLossPct | integer | non | Optional loss cap, whole percent (1-90). If the strategy's P&L since start falls this far below the money it runs on, FortFi stops it and closes its positions. Checked every 5 minutes. |
| acceptHighRisk | enum: true | non | Required for a highRiskLeverage level: you accept it can lose most of the money in this wallet. |
start_copy_trade
Copy another Hyperliquid account on one of your wallets. Every hour FortFi reads their book, keeps their largest positions until 95% of their exposure is covered (at most 10 names), scales to your equity and leverage cap, and trades only when a position drifts more than 10% from target. Leverage cap 1 or 2; 3 and 5 are high risk and need acceptHighRisk: true. Same rails, caps and key re-checks as start_strategy.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | hyperliquid-mainnet wallet id |
| address | string | oui | 0x address to copy |
| leverage | number | oui | Leverage cap: 1, 2, 3 or 5 (3 and 5 need acceptHighRisk) |
| maxAllocationUsd | string | non | Optional cap on equity used, e.g. "500" |
| maxLossPct | integer | non | Optional loss cap, whole percent (1-90). If the strategy's P&L since start falls this far below the money it runs on, FortFi stops it and closes its positions. Checked every 5 minutes. |
| acceptHighRisk | enum: true | non | Required for a 3x or 5x cap: you accept it can lose most of the money in this wallet. |
update_strategy
Resize a strategy or copy trade: raise or lower its leverage (offered levels only) or allocation cap. Moving into a high-risk level needs acceptHighRisk: true. The loss cap can be added or lowered, never raised or removed (OWNER_PASSKEY_REQUIRED).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | |
| walletId | string | oui | |
| leverage | number | non | New leverage (higher or lower) |
| maxAllocationUsd | string | non | New allocation cap in USD (higher or lower), e.g. "800" |
| maxLossPct | integer | non | New loss cap, whole percent. API keys may add a cap or lower it, never raise or remove it. |
| autoStops | boolean | non | Copy trades only: keep a full-size stop on every copied position (on by default). API keys may turn it on, never off. |
| acceptHighRisk | enum: true | non | Required when the new leverage is a high-risk level you have not already accepted. |
pause_strategy
Pause a strategy. Positions stay open; no more orders until resumed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | |
| walletId | string | oui |
resume_strategy
Resume a paused strategy. An API key can only resume a strategy it started; others need the owner in the app.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | |
| walletId | string | oui |
stop_strategy
Stop a strategy and close every position it opened (cash out). Positions it did not open are left alone.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | |
| walletId | string | oui |
rebalance_strategy_now
Run a strategy's rebalance now instead of waiting for its schedule. Returns the run outcome.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | |
| walletId | string | oui |
list_hyperliquid_positions
List open Hyperliquid perp positions and margin summary for a hyperliquid-mainnet wallet (its address is used on the L1 order book).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | FortFi wallet id on hyperliquid-mainnet |
get_hyperliquid_balances
Get Hyperliquid wallet balances: L1 perps margin (withdrawable), HL Spot USDC (MoonPay HyperCore lands here), and HyperEVM USDC/HYPE. Also returns a `perps` aggregate over open positions: openPositionCount, unrealizedPnlUsd, entryNotionalUsd, and unrealizedPnlPct (null when nothing is open).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | FortFi wallet id on hyperliquid-mainnet |
get_hyperliquid_trading_desk
One-shot Hyperliquid trading desk snapshot for agent loops: margin, balances, positions, open orders, recent fills, and a `performance` block with unrealizedPnlUsd, unrealizedPnlPct, entryNotionalUsd, openPositionCount, and realizedPnlUsdRecentFills. Prefer this over many separate reads every 30-60 minutes.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | FortFi wallet id on hyperliquid-mainnet |
| fillLimit | number | non | Recent fills to include (default 100, max 500) |
list_hyperliquid_open_orders
List resting Hyperliquid orders including SL/TP triggers for a wallet.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui |
get_hyperliquid_user_fills
Recent Hyperliquid trade fills with closedPnl per fill. Use for P&L review and trade history (up to 2000 from HL).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | |
| limit | number | non | Max fills to return (default 200, max 2000) |
propose_hyperliquid_perp_open
Propose opening a Hyperliquid perp position. Runs FortFi perp policy (max leverage, max notional) and rejects non-hyperliquid-mainnet wallets. Optional marginMode picks cross or isolated margin. Returns a proposalId for confirm_proposal.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | |
| symbol | string | oui | e.g. BTC, ETH, xyz:TSLA, xyz:GOLD |
| side | enum: "long" | "short" | oui | |
| size | string | non | Coin-unit size (string). Use sizeUsd instead for USD notional. |
| sizeUsd | string | non | USD notional target (min $10 on HL). Preferred for agents. |
| leverage | number | non | |
| marginMode | enum: "cross" | "isolated" | non | Optional. cross shares the wallet's margin across positions; isolated caps the loss at the margin put into this position. Omit for cross (isolated on isolated-only markets). An already-open position keeps its mode, so a mismatch is rejected. |
| limitPrice | string | non | Optional resting limit price (GTC). Must be within 5% of mid when it crosses the book. Omit for a market order. |
| timeInForce | enum: "Gtc" | "Alo" | "Ioc" | non | Limit orders only. Gtc (default), Alo (post only, rejected if it would cross), Ioc. |
| stopLoss | string | non | Optional stop-loss trigger. With limitPrice it attaches to the order (normalTpsl) and arms once it fills, validated against the limit price. |
| takeProfit | string | non | Optional take-profit trigger. With limitPrice it attaches to the order (normalTpsl) and arms once it fills, validated against the limit price. |
| trailingStopPct | number | non | Optional. FortFi keeps a stop this % behind the best price since the fill and only ever moves it toward the price (checked every 5 minutes). Needs the set_hyperliquid_managed_exit operation. Same as calling set_hyperliquid_managed_exit after the fill. |
| trailStartProfitPct | number | non | Optional, with trailingStopPct. Trailing starts only once the price is this % past your entry price (price move, not leverage-adjusted). Until then your normal stop stays put. |
| breakEvenAtProfitPct | number | non | Optional. Once the price is this % past your entry price, FortFi moves the stop to the entry price. |
| closeAfterHours | number | non | Optional time stop: FortFi closes the whole position this many hours from now (checked every 5 minutes). Refused on accounts a strategy runs. |
| acknowledgePriceImpact | boolean | non | Set true only after a HYPERLIQUID_PRICE_IMPACT_CONFIRM_REQUIRED error, to accept >=1% book impact on a market order. Prefer limitPrice or a smaller size. |
propose_hyperliquid_perp_close
Propose closing a Hyperliquid perp position (reduce-only). Omit size to close the whole position. Returns a proposalId for confirm_proposal.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | |
| symbol | string | oui | |
| size | string | non | Optional; omit to close all |
propose_hyperliquid_perp_modify
Propose modifying an open Hyperliquid perp position: its stop-loss / take-profit and/or its leverage. Only the exit you pass is replaced: changing stopLoss keeps the resting take-profit(s), and vice versa. leverage changes the open position's leverage in place (keeps its cross / isolated mode, size unchanged). Raising leverage runs FortFi perp policy (max leverage) and the wallet loss cap; lowering it needs enough margin on Hyperliquid. Returns a proposalId for confirm_proposal.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | |
| symbol | string | oui | |
| stopLoss | string | non | New stop-loss trigger for the whole position. Replaces the resting stop only. |
| takeProfit | string | non | New take-profit trigger. Replaces the resting take-profit(s) only. |
| takeProfitSizePercent | integer | non | Close only this % of the position at takeProfit (e.g. 50 to bank half at 2R and let the rest run). Default 100. The stop keeps covering the full position. |
| leverage | integer | non | New leverage for the open position (whole number, up to the market max and the owner's policy max). Must differ from the current leverage. |
cancel_hyperliquid_orders
Propose cancelling resting Hyperliquid orders (limit orders and SL/TP triggers) on one market. Pass oids from list_hyperliquid_open_orders, or omit oids to cancel every resting order on that symbol. Moves no money, but cancelling a stop loss removes protection, so it follows the normal confirm_proposal flow.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | |
| symbol | string | oui | e.g. BTC, xyz:TSLA |
| oids | array<number> | non | Resting order ids on this symbol (max 50). Omit to cancel all of them. |
propose_hyperliquid_deposit
Propose moving HyperEVM USDC into Hyperliquid perp margin (top up). Set perpDex for HIP-3 desks (xyz, io, para). Returns proposalId; execute with confirm_proposal (server-side when Delegated Access or agent credential).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | |
| amountUsd | string | oui | |
| perpDex | string | non | core | xyz | io | para (default core) |
propose_hyperliquid_withdraw
Propose moving Hyperliquid perp USDC to the owner's own HyperEVM wallet (same address; perp to HL Spot, then sendAsset to the USDC system address). Funds cannot go to any other recipient. Returns proposalId; human confirms with passkey via Perps Withdraw to HyperEVM or confirm_proposal.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | |
| amountUsd | string | oui |
propose_hyperliquid_spot_to_perp
Propose moving USDC from HL Spot into core perps margin (required after MoonPay HyperCore on-ramp). Returns proposalId; human confirms via Perps Deposit to tradable balance or confirm_proposal.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | |
| amountUsd | string | oui |
propose_hyperliquid_send_asset
Move USDC between Hyperliquid margin desks without HyperEVM (any perp book: core, xyz, io, para, mkts, …, or spot → any perp desk). Use list_hyperliquid_balances perpDesks[].dex for valid dex ids.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | |
| amountUsd | string | oui | |
| sourceDex | string | oui | core | spot | or any HIP-3 builder dex (xyz, io, para, mkts, …) |
| destinationDex | string | oui | core | or any HIP-3 builder dex (not spot) |
list_hyperliquid_outcome_markets
List Hyperliquid HIP-4 outcome markets on the same account as perps. Prices are quote-micro (650000 = $0.65) from exchange mids. volumeUsd is 0 because outcomeMeta does not publish volume.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| q | string | non | Search question, name, or description |
| cursor | string | non | marketId from the previous page nextCursor |
| limit | number | non | Page size, default 50, max 300 |
get_hyperliquid_outcome_market
One HIP-4 outcome market. id is the numeric outcome id. Optional walletId reads that Hyperliquid account's share balance.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | oui | Outcome id, e.g. 9802 |
| walletId | string | non |
propose_hyperliquid_outcome_order
Propose a HIP-4 buy or sell on the Hyperliquid account. size is micro-USDC collateral (10000000 = $10). limitPrice is quote-micro. Runs outcome policy (no leverage, max notional) before any signature. Confirm with confirm_proposal.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | |
| marketId | string | oui | Outcome id, e.g. 9802 |
| outcomeId | string | oui | Side id outcomeId:sideIndex, e.g. 9802:0 |
| side | enum: "buy" | "sell" | oui | |
| size | string | oui | Collateral in micro-USDC. Minimum 10000000 ($10). |
| orderType | enum: "market" | "limit" | oui | |
| limitPrice | string | non | Quote-micro. Required for limit. 650000 is $0.65. |
list_hyperliquid_spot_markets
List Hyperliquid spot pairs (you own the coin, no leverage, no funding). Each row has price, 24h change, 24h volume, size decimals and, when the coin also has a perp, the perp's funding as carryAprPct (what a short earns per year at today's rate) and basisPct (spot vs perp price). sort=carry ranks carry pairs. tradeable=false means the pair is priced in a token FortFi does not support.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | HYPE, HYPE/USDC, @107, or a perp name like BTC |
| sort | enum: "volume" | "change" | "carry" | non | Default volume |
| onlyWithPerp | boolean | non | Only pairs that also have a perp (carry candidates) |
| minDayVolumeUsd | number | non | |
| limit | integer | non | Default 50 |
propose_hyperliquid_spot_order
Propose a Hyperliquid spot buy or sell on the same Hyperliquid account as perps. Buys spend the quote token (usually USDC), sells sell coins you hold. Give size (coins) or sizeUsd (dollars). size "all" sells everything free. Market orders cross the book by at most 1% and fill now or cancel. Minimum $10. Runs spot policy (no leverage, max trade size) and the wallet loss cap on buys. API keys cannot buy spot on an account a strategy runs (the cash would leave the perps account the strategy trades from); sells still work. Spot symbols: prefer the pair form (HYPE/USDC) or the wrapped name (UBTC, UETH); BTC maps to UBTC. Confirm with confirm_proposal. The key needs the propose_hyperliquid_spot_order grant.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | |
| symbol | string | oui | HYPE, HYPE/USDC, @107, or a perp name like BTC (maps to UBTC/USDC) |
| side | enum: "buy" | "sell" | oui | |
| orderType | enum: "market" | "limit" | non | Default market |
| size | string | non | Coin amount, or "all" to sell everything free |
| sizeUsd | string | non | Dollar amount (alternative to size) |
| limitPrice | string | non | Required for limit orders, in the quote token |
| timeInForce | enum: "Gtc" | "Alo" | "Ioc" | non | Limit only. Gtc stay open, Alo add to book only, Ioc fill now or cancel |
set_hyperliquid_managed_exit
Trailing stop, break-even stop and/or time stop that FortFi keeps on an open perp position. Trailing: a stop trailingStopPct behind the best price since set, moved only toward the price, never away; a tighter stop already on the book (yours, or a copy-trade stop) is kept. With trailStartProfitPct, trailing starts only once the price is that % past your entry price. Break-even: once the price is breakEvenAtProfitPct past entry, the stop moves to the entry price. Time stop: closes the whole position after closeAfterHours; refused on accounts a strategy runs, since the strategy would reopen it. Checked every 5 minutes, so fast moves can pass the trail before it updates; the stop on the book is what protects you between checks. Each change runs through policy and the audit log. Stop moves that only tighten skip co-sign rules; if a co-sign rule would make a close wait for approval, the managed exit stops and says why. Calling again replaces the settings. Needs automated signing (Delegated Access) on human accounts.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | |
| symbol | string | oui | Perp symbol, e.g. BTC or xyz:NVDA |
| trailingStopPct | number | non | Percent behind the best price |
| trailStartProfitPct | number | non | Start trailing only once the price is this % past the entry price. Needs trailingStopPct. |
| breakEvenAtProfitPct | number | non | Once the price is this % past the entry price, move the stop to the entry price |
| closeAfterHours | number | non | Close the position this many hours from now. Refused on accounts a strategy runs. |
cancel_hyperliquid_managed_exit
Turn off the trailing or time stop FortFi manages on a position. Stops already on the book stay where they are.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | |
| symbol | string | oui |
list_hyperliquid_managed_exits
Trailing and time stops FortFi manages: settings, best price so far, the stop it last placed, and a note when something stopped it. includeEnded=true adds finished ones.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | non | Required for vault-scoped keys |
| includeEnded | boolean | non |
propose_hyperliquid_carry
Funding carry in one call: buy the coin on spot, then short the same size on its perp, so price moves cancel out and the short earns funding while funding is positive. Both legs run through the normal policy, grant, loss cap and audit checks (the key needs propose_hyperliquid_spot_order and propose_hyperliquid_perp_open). If either leg would need co-signer approval, nothing is placed. If funding is not positive, the prices are more than 2% apart, or the account runs a strategy, nothing is placed. If the short fails after the buy, FortFi sells the spot back at once (unwound=true); only if that also fails is the result hedged=false, unwound=false, and you should sell with propose_hyperliquid_spot_order size=all. No size cap beyond your policy and loss cap: keep spare money on the account so the short is not closed out by a jump. Use dryRun=true to see sizes and cash needed first. Unwind with propose_hyperliquid_perp_close and propose_hyperliquid_spot_order side=sell.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletId | string | oui | |
| symbol | string | oui | Coin or perp name: HYPE, BTC, ETH, SOL ... |
| sizeUsd | number | oui | Dollar size of each leg. Minimum 10. |
| perpLeverage | integer | non | Short leverage. Default 1 (safest). |
| dryRun | boolean | non | Plan only, place nothing |
create_checkout_session
Create a per-customer checkout session: resolves (or provisions) the customer's own vault from your externalCustomerId, mints a payment request that settles into it, and returns checkoutUrl + x402Url. The paid webhook then carries customer identity. Price from productSlug or ad-hoc amountUsd.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| customer | object | oui | Your customer identity — vault is resolved per (namespace, externalId) |
| productSlug | string | non | Price from an existing payment product (SKU) |
| amountUsd | number | non | Ad-hoc price in USD (alternative to productSlug) |
| amountSmallestUnit | string | non | Ad-hoc USDC amount in smallest units |
| description | string | non | Optional checkout note |
| reference | string | non | Your order/session id, echoed on every webhook |
| metadata | object | non | Optional metadata object |
| expiresInMinutes | number | non | Session TTL (default 60, product default wins if set) |
| chainId | string | non | Chain for ad-hoc sessions (default base-mainnet) |
| idempotencyKey | string | non | Safe retries — same key returns the same session |
create_payment_request
Create a shareable payment request for a vault. Returns pid, paymentUrl, and qrPayload for humans or agents.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletMappingId | string | oui | Target collection vault id |
| amountSmallestUnit | string | non | USDC amount in smallest units (alternative to amountUsd) |
| amountUsd | number | non | Invoice amount in USD (1 USD = 1 USDC) |
| description | string | non | Optional invoice note |
| externalReference | string | non | Optional external invoice id |
| metadata | object | non | Optional metadata object |
| expiryDays | number | non | Days until expiry (default 30) |
get_payment_request
Get a payment request by internal id or public pid, including settlement attempts.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| idOrPid | string | oui | Internal id or public pid |
list_payment_requests
List payment requests for the authenticated account.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletMappingId | string | non | Optional vault filter |
| status | enum: "open" | "processing" | "partially_paid" | "paid" | "expired" | "cancelled" | non |
cancel_payment_request
Cancel an open payment request with no verified settlement.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| idOrPid | string | oui |
extend_payment_request
Extend an open payment request expiry (default extension window in days).
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| idOrPid | string | oui | |
| expiryDays | number | oui | New expiry horizon from now (1-365) |
pay_payment_request_x402
Pay an open FortFi invoice via x402 EIP-3009 from a governed Turnkey vault. Requires Delegated Access on human developer keys or an agent account. Base mainnet first.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| paymentRequestPid | string | oui | Public invoice pid from checkout URL or create_payment_request |
| fromWalletId | string | oui | Payer vault id (must match invoice chain) |
list_payment_sales
Merchant view: paid and partially paid invoices on your collection vaults (what you sold). Includes payer, method, and settlement details.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletMappingId | string | non | Optional collection vault filter |
list_payment_purchases
Buyer view: FortFi checkouts your vaults paid (what you bought). Matches settlements by payer wallet address across your fleet.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletMappingId | string | non | Optional payer vault filter |
| limit | number | non | Max rows (default 200, max 500) |
create_payment_product
Create a persistent product checkout link (/pay/p/{slug}). Each visit mints a fresh payment request. One webhook endpoint receives paid events for all products.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| walletMappingId | string | oui | USDC collection vault id |
| name | string | oui | Product display name |
| slug | string | non | Optional URL slug (auto-generated if omitted) |
| amountUsd | number | non | Price in USD/USDC |
| amountSmallestUnit | string | non | Alternative: amount in token smallest units |
| description | string | non | Checkout subtitle shown to buyers |
| imageUrl | string | non | HTTPS product image URL for checkout branding |
| successRedirectUrl | string | non | HTTPS buyer redirect after pay (optional) |
| merchantSiteUrl | string | non | Merchant homepage for checkout branding (optional) |
list_payment_products
List persistent product checkout links for the account.
Aucun paramètre.
get_payment_product
Get a payment product by internal id or public slug.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| id | string | non | |
| slug | string | non |
create_merchant_webhook
Register a webhook URL. FortFi generates a signing secret (returned once) for the merchant to verify HMAC on incoming POSTs. Not per-product — one endpoint receives all paid events.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| url | string | oui | HTTPS callback URL on the merchant's server |
| description | string | non |
list_merchant_webhooks
List registered webhook endpoints (secrets are never returned).
Aucun paramètre.
list_merchant_webhook_deliveries
List webhook delivery log. Use status=failed for dead-letter queue rows. Filter by paymentRequestId to find deliveries for one checkout.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| status | enum: "pending" | "delivered" | "failed" | non | |
| endpointId | string | non | |
| paymentRequestId | string | non | Internal payment request UUID |
| limit | number | non | Max rows (default 50, max 200) |
replay_merchant_webhook_delivery
Replay a dead-lettered or failed webhook delivery after fixing your endpoint. Re-sends the same event id and body for idempotent handlers.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| deliveryId | string | oui | Delivery row id from list_merchant_webhook_deliveries |
send_merchant_webhook_test
Send a signed webhook.test event to an endpoint.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| endpointId | string | oui |
search_vaults
Parent-treasury vault inventory search (treasury credential + keys:manage + wallets:read). Matches nicknames, wallet IDs, addresses, external customer IDs, credential names, and prefixes. Never returns raw bearer keys.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Free-text search |
| chainId | string | non | Exact chain filter |
| metadataKey | string | non | Exact metadata key (requires metadataValue) |
| metadataValue | string | non | Exact metadata value (requires metadataKey) |
| externalCustomerId | string | non | Exact external customer id |
| credentialAccess | enum: "read_only" | "read_write" | non | Filter by linked credential access mode |
| credentialStatus | enum: "active" | "revoked" | non | Filter by linked credential status |
| cursor | string | non | Pagination cursor from prior response |
| limit | number | non | Page size (default 50, max 100) |
search_credentials
Parent-treasury key-centric credential search (treasury credential + keys:manage + wallets:read). Complements search_vaults. Never returns raw bearer keys.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| query | string | non | Free-text search |
| credentialKind | enum: "treasury" | "vault" | non | |
| walletId | string | non | Filter by vault wallet id |
| externalCustomerId | string | non | Exact external customer id |
| metadataKey | string | non | Exact metadata key (requires metadataValue) |
| metadataValue | string | non | Exact metadata value (requires metadataKey) |
| access | enum: "read_only" | "read_write" | non | |
| status | enum: "active" | "revoked" | non | |
| cursor | string | non | Pagination cursor |
| limit | number | non | Page size (default 50, max 100) |
create_vault_credential
Mint a vault-scoped credential for an existing wallet (treasury + keys:manage). Returns bearerKey once when agentPublicKey is omitted. Requires FORTFI_VAULT_CREDENTIALS_ENABLED.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| name | string | oui | Credential label (2–100 chars) |
| access | enum: "read_only" | "read_write" | oui | |
| agentPublicKey | string | non | Optional uncompressed P-256 public key (04… hex) for ECDSA auth |
| vaultGrants | array<object> | oui | Explicit wallet grants with optional USD micro caps |
| expiresAt | string | non | ISO-8601 expiry (optional) |
update_vault_credential
Atomically replace a vault credential's name, access mode, grants, and expiry (treasury + keys:manage). Revoked credentials cannot be updated.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| credentialId | string | oui | Vault credential id |
| name | string | oui | |
| access | enum: "read_only" | "read_write" | oui | |
| vaultGrants | array<object> | oui | |
| expiresAt | string | non | ISO-8601 expiry, or null to clear |
revoke_vault_credential
Revoke a vault-scoped credential (treasury + keys:manage). Idempotent if already revoked.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| credentialId | string | oui | Vault credential id |
create_provisioning_job
Bulk-provision up to 20 customer vaults per job (treasury + keys:manage + wallets:write). Requires idempotencyKey in args. Poll get_provisioning_job until terminal; bearer secrets reveal once on first terminal GET.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| idempotencyKey | string | oui | Unique key (8–200 chars) — same key + body replays the job |
| items | array<object> | oui | Up to 20 provisioning items |
get_provisioning_job
Poll a bulk provisioning job (treasury + keys:manage + wallets:read). bearerKey appears once when secretsDelivery is revealed.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| jobId | string | oui | Job id from create_provisioning_job |
create_customer
Create or sync one customer vault synchronously (treasury + wallets:write). Idempotent on externalCustomerId + namespace + chain. Returns wallet address immediately; Turnkey wallet creation may take a few seconds on first call.
| Paramètre | Type | Requis | Description |
|---|---|---|---|
| clientRequestId | string | oui | Caller idempotency id (unique per provisioning attempt) |
| externalCustomerId | string | oui | Your platform customer id (stable across retries) |
| namespace | string | non | Optional mapping namespace (default: default) |
| wallet | object | oui | Wallet to create or reuse for this customer |
| credential | object | non | Optional vault-scoped credential to issue for this wallet |
Compatibilité clients
Selon les transports que chaque client déclare accepter dans sa documentation officielle ; ce n’est pas un essai réel dans le client.
| Client | Transports documentés | Ce serveur | Source |
|---|---|---|---|
| Claude Code | stdio Streamable HTTP SSE | transport accepté | doc |
| Claude (claude.ai, Claude Desktop, Cowork) | stdio Streamable HTTP SSE | transport accepté | doc |
| ChatGPT (serveurs MCP personnalisés / plugins) | Streamable HTTP SSE | transport accepté | doc |
| Cursor | stdio Streamable HTTP SSE | transport accepté | doc |
| VS Code (GitHub Copilot) | stdio Streamable HTTP SSE | transport accepté | doc |
| Windsurf (documentation redirigée vers Devin Local / Devin CLI) | stdio Streamable HTTP SSE | transport accepté | doc |
| Gemini CLI | stdio Streamable HTTP SSE | transport accepté | doc |
| OpenAI Codex (CLI, extension IDE, app) | stdio Streamable HTTP | transport accepté | doc |
Configs prêtes à copier
Adresse distante utilisée : https://fortfiapp.com/api/mcp. Formats repris de la documentation de chaque client.
claude mcp add --transport http fortfi-treasury-mcp https://fortfiapp.com/api/mcpCustomize > Connectors > + Add > Add custom connector ; Name : fortfi-treasury-mcp ; URL : https://fortfiapp.com/api/mcpchatgpt.com/plugins > + > Add custom MCP server ; Name : fortfi-treasury-mcp ; Server URL : https://fortfiapp.com/api/mcp ; Create as a plugin{
"mcpServers": {
"fortfi-treasury-mcp": {
"url": "https://fortfiapp.com/api/mcp"
}
}
}{
"mcpServers": {
"fortfi-treasury-mcp": {
"type": "http",
"url": "https://fortfiapp.com/api/mcp",
"tools": ["*"]
}
}
}{
"mcpServers": {
"fortfi-treasury-mcp": {
"url": "https://fortfiapp.com/api/mcp"
}
}
}{
"mcpServers": {
"fortfi-treasury-mcp": {
"httpUrl": "https://fortfiapp.com/api/mcp"
}
}
}[mcp_servers.fortfi-treasury-mcp]
url = "https://fortfiapp.com/api/mcp"Citer cette source
Vous rédigez un article ou un comparatif ? Cette fiche distingue les informations du registre et nos mesures. Citez le lien permanent et la date du test ; un résultat OK ne constitue pas un audit de sécurité ni une garantie de disponibilité.
FortFi Treasury MCP · L’Atlas · Test du
[FortFi Treasury MCP — L’Atlas](https://latlas.dev/mcp/io.github.rebelArtists/fortfi-treasury-mcp)Source : Registre officiel MCP · relevé le 3 déc. 2026. L’Atlas n’ajoute aucune donnée qui ne vienne de cette source ou de ses propres tests.