About Chaingpt Claude Skill
Chaingpt Claude Skill is an MCP server published by ChainGPT-org in the Blockchain category: turn Claude Code into a custody-free Web3 co-pilot: 112 MCP tools spanning ChainGPT AI (chat, NFT, contract-gen, audit, news), EVM + Solana DEX & DeFi, perps, prediction markets, cross-chain bridging, and a prompt-injection-resistant agent wallet. 45+ audited Solidity patterns, 10 project templates. Conduid read 149 tools from its source: chaingpt_aa_estimate_userop, chaingpt_aa_pack_userop, chaingpt_aa_session_build_grant, chaingpt_aa_session_build_revoke, chaingpt_aa_session_status, chaingpt_aa_submit_userop and 143 more. No package is published for it, so it installs from a source checkout.
The repository has 7 stars and 1 forks, and its last commit was on 26 Nov 2026. Conduid has no tagged release on record for it. Its topics include blockchain, chaingpt, defi, devtools, ethereum and nft.
Install
git clone https://github.com/ChainGPT-org/chaingpt-claude-skillTools (149)
chaingpt_aa_estimate_useropCall eth_estimateUserOperationGas on a bundler RPC. The admin supplies the bundler URL (Pimlico / Alchemy AA / Stackup / Particle — all expose the same standard methods). Returns callGasLimit / verificationGasLimit / preVerificationGas / paymasterVerificationGasLimit / paymasterPostOpGasLimit estimates as hex strings. Read-only: does not submit the op. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| bundlerUrl * | string | Full bundler RPC URL (https://). Examples: https://api.pimlico.io/v2/{chain}/rpc?apikey=… ; https://api.stackup.sh/v1/node/… ; https://{chain}.bundler.alchemy.com/{apiKey}. |
| entryPoint | string | Optional EntryPoint address. Defaults to v0.7 ${ENTRY_POINT_V07}. |
| userOp * | object | The user operation v0.7 fields. Gas-limit fields can be 0/1 sentinels — the bundler will fill them in. |
chaingpt_aa_pack_useropPack a v0.7 UserOperation into the wire-format `PackedUserOperation` struct that the EntryPoint expects on the wire (gas limits + gas fees concatenated into bytes32). Returns the packed struct, the bundler-RPC JSON shape (uint256 fields → 0x-hex), and the userOpHash. Useful for inspecting exactly what a non-viem bundler will see. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| chain * | string | Canonical chain slug — used to resolve chainId for the userOpHash. |
| entryPoint | string | Optional EntryPoint address. Defaults to v0.7 ${ENTRY_POINT_V07}. |
| userOp * | object | The user operation v0.7 fields. |
chaingpt_aa_session_build_grantBuild the UNSIGNED payload that grants the agent's wallet a scoped ON-CHAIN session on the user's ERC-7579 smart account (Smart Sessions module): cumulative per-token spend caps + a required expiry, enforced by audited policy contracts at EntryPoint validation — the chain refuses over-cap spends even if the local machine is compromised. Output: permissionId + the execute()-wrapped account callData + the sign-and-submit recipe (owner signs externally; chaingpt_aa_submit_userop sends). Custody-free. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| account * | string | The user's smart account (userOp sender / grantor). |
| agentAddress | string | Session key address. Defaults to the agent wallet's EOA when initialized. |
| chain * | string | EVM chain slug (e.g. base). |
| maxUses | number | Optional max number of userOps under this session. |
| moduleInstalled | boolean | Is the Smart Sessions module already installed on the account? Default: auto-detect via RPC (falls back to true). |
| salt | string | Optional bytes32 salt — vary to issue parallel sessions for the same key. |
| tokenCaps * | array | Cumulative on-chain per-token caps. Each: { token: 0x…, cap: base-units string }. |
| validAfter | number | Optional start time (Unix seconds). |
| validUntil * | number | REQUIRED expiry (Unix seconds). Unbounded grants are refused. |
chaingpt_aa_session_build_revokeBuild the UNSIGNED payload that revokes an on-chain session (removeSession(permissionId)) — the incident-response kill: after inclusion the session key can sign nothing, regardless of local state. Owner signs externally, same flow as the grant. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| account * | string | The user's smart account. |
| chain * | string | |
| permissionId * | string | The session to revoke (from build_grant / session_status). |
chaingpt_aa_session_statusRead a session's ON-CHAIN state: account kind, module installed?, permission enabled?, and the authoritative remaining per-token allowance straight from the spending-limit policy contract. Falls back to grants built on this machine when args are omitted (local records are not proof of signing; the on-chain state is). Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| account | string | |
| chain | string | |
| permissionId | string |
chaingpt_aa_submit_useropSubmit a SIGNED userOperation to a bundler (eth_sendUserOperation). Custody-free: refuses when the signature field is empty — sign the userOpHash externally first (owner wallet for grants; the agent session key signs only inside chaingpt_agent_wallet_4337_sign_and_send). Returns the userOpHash; track inclusion via chaingpt_aa_userop_receipt. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| bundlerUrl * | string | Full bundler RPC URL (https). |
| entryPoint | string | Defaults to the canonical v0.7 EntryPoint. |
| userOp * | object | The COMPLETE v0.7 userOperation including a non-empty signature. |
chaingpt_aa_userop_hashCompute the ERC-4337 v0.7 userOpHash — the digest that a smart-contract wallet's owner or session key signs. Hash = keccak256(keccak256(abi.encode(packedFields)) || entryPoint || chainId). Use this to prepare exactly the bytes the signer signs. Custody-free: the plugin does not sign. Pass the hash to your wallet (MetaMask, hardware wallet, viem signer) or to an SCW session key's personal_sign / EIP-712 flow. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| chain * | string | Canonical chain slug (e.g. ethereum, base, arbitrum) — used to resolve chainId. |
| entryPoint | string | Optional EntryPoint address. Defaults to the canonical v0.7 EntryPoint ${ENTRY_POINT_V07}. |
| userOp * | object | The user operation v0.7 fields. Numeric fields accept decimal or 0x-hex. |
chaingpt_aa_userop_receiptCall eth_getUserOperationReceipt on a bundler RPC. Returns the receipt (tx hash, status, logs, gas used) for a previously submitted userOpHash, or null if not yet bundled. Use after eth_sendUserOperation to track inclusion. Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| bundlerUrl * | string | Full bundler RPC URL. |
| userOpHash * | string | The 0x-prefixed userOpHash returned by chaingpt_aa_userop_hash (or by your bundler when you submitted). |
chaingpt_agent_wallet_4337_sign_and_sendSession-key userOp through the smart account; local policy plus on-chain session caps both apply| Parameter | Type | Description |
|---|---|---|
| account * | string | The user's smart account (userOp sender). |
| bundlerUrl * | string | Bundler RPC URL (https; policy can pin allowed hosts). |
| chain * | string | EVM chain slug. |
| data | string | Inner call calldata. Default "0x". |
| gasLimitMultiplierPct | number | Headroom on bundler gas estimates. Default 120 (=+20%). |
| memo | string | Audit-trail memo. Required if policy.requireMemo=true. |
| operationId * | string | Stable unique id for ONE logical action. Reuse on retries; never generate a replacement after an uncertain send. |
| permissionId * | string | The granted session (bytes32 from build_grant). |
| target * | string | Inner call target (e.g. the ERC-20 token for a transfer). |
| valueWei | string | Inner call native value. Default "0". |
| waitForReceipt | boolean | Poll for the userOp receipt. Default true. |
chaingpt_agent_wallet_addressReturn the agent's session-key address (do NOT fund it: funds belong in the smart account). Does NOT need the passphrase — reads only the public field of the keystore file. Returns a warning if not initialized. 0 ChainGPT credits.chaingpt_agent_wallet_balancesGet the agent's native-coin balance across one or more EVM chains. Uses public-RPC fallbacks per chain. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| chains | array | List of chain slugs. Default: ["ethereum", "base", "arbitrum"]. |
chaingpt_agent_wallet_initAES‑256‑GCM encrypted keystore, scrypt KDFchaingpt_agent_wallet_policyDisplay the current policy file content + digest. Read-only — this tool does NOT modify the policy. The admin edits ~/.chaingpt-mcp/agent-wallet/policy.json directly with a text editor. 0 ChainGPT credits.chaingpt_agent_wallet_serve_uiStart the localhost admin dashboard on 127.0.0.1:8787| Parameter | Type | Description |
|---|---|---|
| chains | array | Chains to show balances for. Default ["ethereum","base","arbitrum"]. |
| port | number | Port to bind. Default 8787. |
chaingpt_agent_wallet_statusShow the agent wallet's full status: address, keystore path, current policy summary + digest, policy file path. Use this as the first step before any signing — confirms what guardrails are active. 0 ChainGPT credits.chaingpt_audit_contractAI security audit with scored report| Parameter | Type | Description |
|---|---|---|
| auditInstructions | string | Optional specific audit instructions (e.g. "focus on reentrancy and access control") |
| followUpQuestion | string | A follow-up question about a previous audit (requires sessionId). When provided, sourceCode is not needed. |
| sessionId | string | Session ID for multi-turn audit conversations. Required for follow-up questions. |
| sourceCode | string | The Solidity smart contract source code to audit. Include pragma and all imports. |
chaingpt_audit_historyRetrieve audit conversation history for a given session. Requires a session ID from previous audit calls.| Parameter | Type | Description |
|---|---|---|
| limit | number | Number of messages to return |
| offset | number | Pagination offset |
| sessionId * | string | The session ID to retrieve history for |
| sortOrder | string |
chaingpt_backtest_dcaBacktest a DCA strategy against historical price data from CoinGecko. Replays buys at fixed intervals and computes final P&L vs a buy-and-hold baseline. No keys required. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| coinId * | string | CoinGecko coin id, e.g. "bitcoin", "ethereum", "chaingpt". |
| days | number | Lookback window in days (max 90 on free CoinGecko). Default 30. |
| intervals | number | Number of DCA buys to spread across the window. Default 30. |
| totalBudget | number | Total budget to DCA in (quote currency). Default 1000. |
| vs | string | Quote currency. Default "usd". |
chaingpt_backtest_gridReplay a buy/sell ladder against historical CoinGecko prices; reports realized P&L from grid spreads vs buy‑and‑hold| Parameter | Type | Description |
|---|---|---|
| coinId * | string | CoinGecko coin id. |
| days | number | Lookback window in days. Default 30. |
| feeBps | number | Per-trade fee in basis points. Default 10 (0.10%). |
| levels | number | Number of grid levels per side. Default 10. |
| priceHigh * | number | Upper bound of the grid (quote currency). |
| priceLow * | number | Lower bound of the grid (quote currency). |
| totalBudget | number | Total quote-currency budget (split equally per buy level). Default 1000. |
| vs | string | Quote currency. Default "usd". |
chaingpt_base_name_availabilityIs a Basename available + its price for N years| Parameter | Type | Description |
|---|---|---|
| name * | string | The label to check (e.g. "alice" or "alice.base.eth"). |
| testnet | boolean | Use Base Sepolia. Default false. |
| years | number | Registration duration in years (default 1). |
chaingpt_base_register_name_txUNSIGNED Basename registration tx (sets addr + reverse record); mainnet gated| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | Must be true to build a mainnet registration tx. |
| name * | string | The label to register (e.g. "alice"). |
| owner * | string | Address that will own the name and that it will resolve to. |
| reverseRecord | boolean | Also set the reverse record (address → name). Default true. |
| testnet | boolean | Use Base Sepolia. Default false. |
| years | number | Duration in years (default 1). |
chaingpt_base_resolve_nameResolve `name.base.eth` ↔ address (forward + reverse) — *verified live on Base mainnet*| Parameter | Type | Description |
|---|---|---|
| query * | string | A basename (e.g. "jesse" or "jesse.base.eth") for forward, OR a 0x address for reverse. |
| testnet | boolean | Use Base Sepolia (84532) instead of mainnet (8453). Default false. |
chaingpt_bridge_build_deposit_txBuild an UNSIGNED Across V3 depositV3 transaction for the user's wallet to sign + broadcast on the origin chain. Pre-requisite: the user must have approved the SpokePool contract to spend the input token (use chaingpt_dex_approve_tx with spender=<spokePoolAddress from quote>). Requires `acknowledgeMainnet: true`. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | |
| amount * | string | |
| decimals * | number | |
| depositor * | string | Signer address on the origin chain. |
| destinationChain * | string | |
| fillDeadlineMinutes | number | How long the deposit is valid before it can be refunded. Default 240 (4h). |
| inputToken * | string | |
| originChain * | string | |
| outputToken * | string | |
| recipient | string | Recipient on the destination chain. Default: depositor. |
chaingpt_bridge_quoteGet a cross-chain bridge quote via Across Protocol v3. Returns fees (capital + gas + LP), estimated fill time, and SpokePool addresses. Covers all major EVM mainnets (Ethereum, Base, Arbitrum, Optimism, Polygon, BSC, Avalanche, Blast, Linea, Scroll). Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| amount * | string | Amount to bridge as decimal string, e.g. "100". |
| decimals * | number | Token decimals (USDC=6, most ERC-20s=18). |
| destinationChain * | string | Destination chain slug. |
| inputToken * | string | Token contract on the origin chain (0x…). |
| originChain * | string | Origin chain slug. |
| outputToken * | string | Token contract on the destination chain (0x…). |
chaingpt_bridge_statusCheck the status of an Across bridge deposit by transaction hash. Returns whether the deposit was observed on origin chain and whether the corresponding fill landed on destination. Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| depositTxHash * | string | The origin-chain deposit transaction hash. |
| originChain * | string |
chaingpt_chatAsk the Web3 AI chatbot — crypto‑native LLM with live on‑chain data| Parameter | Type | Description |
|---|---|---|
| chatHistory | boolean | Enable multi-turn conversation memory (+0.5 credits) |
| question * | string | The question to ask the Web3 AI (1-10,000 characters) |
| sessionId | string | Unique session ID for conversation continuity (required when chatHistory is true) |
chaingpt_chat_historyRetrieve past conversations by session id| Parameter | Type | Description |
|---|---|---|
| limit | number | Number of messages to return |
| offset | number | Pagination offset |
| sessionId * | string | The session ID to retrieve history for |
| sortOrder | string | Sort order for results |
chaingpt_chat_with_contextBranded chatbot with company / token context injection| Parameter | Type | Description |
|---|---|---|
| blockchain | array | Blockchain networks the token is on. Values: ETHEREUM, BSC, ARBITRUM, BASE, BLAST, AVALANCHE, POLYGON, SCROLL, OPTIMISM, LINEA, ZKSYNC, POLYGON_ZKEVM, GNOSIS, FANTOM, MOONRIVER, MOONBEAM, BOBA, METIS, LISK, AURORA, SEI, IMMUTABLE_ZK, GRAVITY, TAIKO, CRONOS, FRAXTAL, ABSTRACT, WORLD_CHAIN, MANTLE, MODE, CELO, BERACHAIN |
| chatHistory | boolean | Enable multi-turn conversation memory |
| cmcUrl | string | CoinMarketCap URL for the token |
| coingeckoUrl | string | CoinGecko URL for the token |
| companyDescription | string | Description of the company/project |
| companyName | string | Company or project name |
| companyWebsiteUrl | string | Website URL |
| customTone | string | Custom tone instructions when tone is not a preset. Provide free-text describing the desired AI personality. |
| exploreUrl | string | Block explorer URL for the token |
| limitation | boolean | If true, the AI will only answer questions related to the injected context and refuse off-topic queries. |
| purpose | string | Purpose or mission statement of the project |
| question * | string | The question to ask |
| sessionId | string | Unique session ID for conversation continuity |
| socialMediaUrls | array | Social media links for the project |
| tokenAddress | string | Token contract address |
| tokenAuditUrl | string | URL to the token smart contract audit report |
| tokenName | string | Token name (e.g. "ChainGPT") |
| tokenSourceCode | string | URL to the token source code (e.g. GitHub) |
| tokenSymbol | string | Token symbol (e.g. "CGPT") |
| tone | string | AI response tone preset |
| whitePaperUrl | string | URL to the project white paper |
chaingpt_check_balanceGet instructions for checking your ChainGPT API credit balance and topping up. The balance is not available via API — this returns the dashboard URL.chaingpt_dashboard_serveBoot the marketplace dashboard — a localhost web UI with five read-only panels (Overview, Skills, Activity, Health, About). Bind 127.0.0.1 only, admin-token auth, same-origin CSRF defense. Default port 8788. Returns the URL and admin token. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| port | number | Port to bind. Default 8788. |
chaingpt_defi_aave_borrow_txBuild an UNSIGNED Aave V3 borrow transaction. Requires sufficient collateral + health factor. Requires `acknowledgeMainnet: true`. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | |
| amount * | string | |
| asset * | string | |
| decimals * | number | |
| from * | string | Borrower address. |
| interestRateMode | number | 1 = stable, 2 = variable. Default 2. |
| network | string | |
| onBehalfOf | string | |
| referralCode | number |
chaingpt_defi_aave_healthRead an account's Aave V3 health-factor and position summary on a given chain. Returns total collateral, total debt, available to borrow, LTV, liquidation threshold, and health factor (1.0 = liquidation imminent). Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| network | string | Aave V3 network. Default: ethereum. |
| user * | string | Account address (0x…). |
chaingpt_defi_aave_repay_txBuild an UNSIGNED Aave V3 repay transaction. Pass amount="max" for full repayment. Requires `acknowledgeMainnet: true`. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | |
| amount * | string | Decimal amount, or "max" for uint256-max. |
| asset * | string | |
| decimals * | number | |
| from * | string | |
| interestRateMode | number | |
| network | string | |
| onBehalfOf | string |
chaingpt_defi_aave_supply_txBuild an UNSIGNED Aave V3 supply transaction. Requires `acknowledgeMainnet: true`. The user must have approved the Aave Pool to spend the asset first (use chaingpt_dex_approve_tx with spender=<pool>). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | Pass true to acknowledge mainnet supply. |
| amount * | string | Decimal amount, e.g. "1000". |
| asset * | string | ERC-20 token contract to supply (0x…). |
| decimals * | number | Token decimals (required for parseUnits). |
| from * | string | Signer / from address (0x…). |
| network | string | |
| onBehalfOf | string | Recipient of the aToken position. Default: the from address. |
| referralCode | number |
chaingpt_defi_aave_withdraw_txBuild an UNSIGNED Aave V3 withdraw transaction. Pass amount="max" for full withdrawal of the supplied amount. Requires `acknowledgeMainnet: true`. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | |
| amount * | string | |
| asset * | string | |
| decimals * | number | |
| from * | string | |
| network | string | |
| to | string | Recipient of the withdrawn asset. Default: from. |
chaingpt_defi_eigenlayer_deposit_txBuild an UNSIGNED EigenLayer deposit transaction (restake an LST like stETH / rETH / cbETH into a StrategyManager strategy). Ethereum mainnet only. Requires `acknowledgeMainnet: true` and the user must have approved the StrategyManager to pull the token first. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | |
| amount * | string | Decimal amount of token to restake. |
| decimals * | number | Token decimals (most LSTs are 18). |
| from * | string | |
| strategy * | string | EigenLayer Strategy address. Common: stETH=0x93c4b944D05dfe6df7645A86cd2206016c51564D, rETH=0x1BeE69b7dFFfA4E2d53C2a2Df135C388AD25dCD2, cbETH=0x54945180dB7943c0ed0FEE7EdaB2Bd24620256bc. |
| token * | string | The underlying LST token contract address. |
chaingpt_defi_kamino_deposit_txBuild an UNSIGNED Kamino Lending deposit transaction (Solana mainnet, custody-free). Lends/supplies a token into a Kamino reserve. The instructions are encoded by Kamino's own SDK (correct reserve/obligation PDAs + lookup tables) and the built tx is simulated against mainnet before return. Creates the obligation if needed. Returns a base64 VersionedTransaction the user signs with Phantom / Backpack / hardware wallet. acknowledgeMainnet:true required. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | Must be true. Kamino is mainnet-only. |
| amount * | string | Human-readable amount as a string (e.g. "100" USDC, "1.5" SOL). Converted to base units via the mint decimals. |
| from * | string | Base58 owner address. Signs + pays fees + owns the deposit. |
| market | string | Optional lending-market pubkey. Default: Kamino Main market (${KAMINO_MAIN_MARKET}). |
| mint | string | Base58 token mint of the reserve. Use instead of symbol for exact targeting. |
| symbol | string | Token symbol of the reserve (e.g. "USDC", "SOL", "USDT"). Either symbol or mint is required. |
chaingpt_defi_kamino_marketsList Kamino lending markets on Solana mainnet. Each market is a curated pool of assets with their own supply / borrow APYs. Returns: market address, name, total supplied USD, total borrowed USD, top assets. Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max markets to return (1–20). Default 10. |
chaingpt_defi_kamino_vaultsList Kamino vault strategies on Solana mainnet (Kamino Multiply, automated yield strategies). Returns: strategy name, type when available, asset pair, current APY, TVL. Use for passive yield discovery. Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max vaults to return. Default 15. |
chaingpt_defi_kamino_withdraw_txBuild an UNSIGNED Kamino Lending withdraw transaction (Solana mainnet, custody-free). Withdraws a previously supplied token from a Kamino reserve back to the user. Encoded by Kamino's SDK + simulated against mainnet before return. Returns a base64 VersionedTransaction for external signing. acknowledgeMainnet:true required. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | Must be true. Kamino is mainnet-only. |
| amount | string | Human-readable amount to withdraw. Ignored if withdrawAll=true. |
| from * | string | Base58 owner address with the Kamino deposit position. |
| market | string | Optional lending-market pubkey. Default: Kamino Main market (${KAMINO_MAIN_MARKET}). |
| mint | string | Base58 token mint of the reserve. Use instead of symbol. |
| symbol | string | Token symbol of the reserve to withdraw from. Either symbol or mint required. |
| withdrawAll | boolean | Withdraw the entire supplied balance for this reserve. Default false. |
chaingpt_defi_lido_stake_txBuild an UNSIGNED Lido stETH staking transaction on Ethereum mainnet. Sends native ETH; receives stETH (1:1 minus protocol fee). Requires `acknowledgeMainnet: true`. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | |
| amountEth * | string | Amount of native ETH to stake, decimal e.g. "1.5". |
| from * | string | Signer / from address (0x…). |
| referral | string | Optional referral address (0x…). Default: zero address. |
chaingpt_defi_marginfi_accountGet a user's Marginfi / Project 0 account state: deposits per bank, borrows per bank, equity and health factor. An empty account may have no health factor. The user is identified by their Solana authority pubkey (base58). Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| authority * | string | Solana wallet authority (base58 pubkey). |
chaingpt_defi_marginfi_banksList Marginfi / Project 0 lending banks on Solana mainnet. Each bank is a single-asset pool with utilization-driven supply/borrow APYs. Returns: bank address, asset symbol, supply APY, borrow APY, total supplied USD, total borrowed USD, utilization. Sorted by supplied TVL. Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max banks to return. Default 20. |
| sortBy | string | Sort field. |
chaingpt_defi_marginfi_deposit_txBuild an UNSIGNED Marginfi v2 deposit transaction (Solana mainnet, custody-free). Lends a token into a Marginfi bank from the user's existing Marginfi account. The instruction is encoded by Marginfi's own SDK (correct IDL + PDA derivations) and the built tx is simulated against mainnet before return. Returns a base64 VersionedTransaction the user signs with Phantom / Backpack / hardware wallet. Requires an existing Marginfi account for the address (create one at app.marginfi.com first). acknowledgeMainnet:true required. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | Must be true. Marginfi is mainnet-only. |
| amount * | string | Human-readable amount as a string (e.g. "100" USDC, "1.5" SOL). Decimals handled by the SDK from the bank mint. |
| from * | string | Base58 owner address. Signs + pays fees. Must already have a Marginfi account. |
| mint | string | Base58 token mint address of the bank. Use instead of symbol for exact targeting. |
| symbol | string | Token symbol of the bank to deposit into (e.g. "USDC", "SOL"). Either symbol or mint is required. |
chaingpt_defi_marginfi_withdraw_txBuild an UNSIGNED Marginfi v2 withdraw transaction (Solana mainnet, custody-free). Withdraws a previously deposited token from a Marginfi bank back to the user. Encoded by Marginfi's SDK + simulated against mainnet before return. Returns a base64 VersionedTransaction for external signing. acknowledgeMainnet:true required. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | Must be true. Marginfi is mainnet-only. |
| amount | string | Human-readable amount to withdraw. Ignored if withdrawAll=true. |
| from * | string | Base58 owner address with the Marginfi deposit position. |
| mint | string | Base58 token mint of the bank. Use instead of symbol. |
| symbol | string | Token symbol of the bank to withdraw from. Either symbol or mint required. |
| withdrawAll | boolean | Withdraw the entire deposited balance for this bank. Default false. |
chaingpt_defi_morpho_marketsList active Morpho Blue lending markets. Each market is a (loan_token, collateral_token, oracle, lltv) tuple with isolated risk. Returns: market id, asset pair, LLTV (max loan-to-value), supply APY, borrow APY, supply + borrow TVL. Sorted by supply TVL. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max markets to return. Default 20. |
| network * | string | Chain. Morpho Blue is on Ethereum and Base. |
chaingpt_defi_morpho_positionGet a user's Morpho Blue positions: which markets they're lending/borrowing in, sizes, health factors. Returns positions across all markets and any MetaMorpho vault shares. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | User wallet address (0x…). |
| network * | string |
chaingpt_defi_morpho_vaultsList MetaMorpho vaults — curated baskets of Morpho Blue markets run by professional risk curators (Gauntlet, Steakhouse, MEV Capital, Re7). For passive lenders: pick a vault rather than a raw market. Returns: vault name, curator, asset, supply APY, TVL. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| asset | string | Optional: filter to vaults denominated in this asset symbol (e.g. "USDC", "WETH"). |
| limit | number | Max vaults to return. Default 20. |
| network * | string |
chaingpt_defi_pendle_marketGet a single Pendle market in detail: maturity, current PT/YT prices, fixed vs implied APY spread, liquidity, underlying yield source. Use after chaingpt_defi_pendle_markets to drill into a candidate. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| marketAddress * | string | Pendle market contract address. |
| network * | string |
chaingpt_defi_pendle_marketsList active Pendle yield-trading markets on a chain. Each market lets you split a yield-bearing asset (e.g. stETH, sUSDe, USR) into PT (fixed-yield, redeemable at maturity) and YT (pure yield stream). Returns: market name, maturity date, fixed APY (from buying PT), implied APY, underlying TVL. Sorted by TVL descending. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max markets to return. Default 20. |
| network * | string | Pendle-supported chain. |
chaingpt_deploy_build_txRefuses mainnet without `acknowledgeMainnet: true`| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | You must pass acknowledgeMainnet=true to build a tx targeting a mainnet network. This is the safety prompt — confirm the user actually wants to deploy to a real chain. |
| acknowledgeUnaudited | boolean | Mainnet only: required when this exact bytecode was not compiled with chaingpt_deploy_compile from a source that chaingpt_audit_contract audited in this session. Only set it after the user explicitly accepts deploying unaudited code. |
| bytecode * | string | Compiled bytecode (0x-prefixed). |
| constructorAbi | any | Constructor ABI fragment. Optional. |
| constructorArgs | array | Constructor argument values. |
| contractName | string | Name to display in the confirmation block. Optional. |
| from | string | Deployer address (0x…). Optional but recommended. |
| network | string | EVM network. Default: ethereum (mainnet). |
| valueEth | string | Native-coin value to send. Optional. |
chaingpt_deploy_compileSolidity 0.8.x → bytecode + ABI + warnings| Parameter | Type | Description |
|---|---|---|
| contractName | string | Which contract to extract if the source defines multiple. Defaults to the last one. |
| evmVersion | string | EVM target version (e.g. "paris", "shanghai", "cancun"). Optional. |
| optimizerRuns | number | Optimizer runs. Default 200 (OZ default). |
| source * | string | Solidity source code. SPDX + pragma must be included. |
chaingpt_deploy_estimatePreview gas cost on the target chain| Parameter | Type | Description |
|---|---|---|
| bytecode * | string | Compiled bytecode (0x-prefixed). |
| constructorAbi | any | Constructor ABI fragment from the compiled ABI (the entry with type="constructor"). Optional if the contract has no constructor or no arguments. |
| constructorArgs | array | Values to pass to the constructor. Must match `constructorAbi.inputs`. Optional. |
| from | string | Deployer address (0x…). Used by eth_estimateGas. Required for accurate estimate. |
| network | string | EVM network to estimate against. Default: ethereum (mainnet). |
| valueEth | string | Native-coin value to send with the deployment (e.g. "0.01"). Optional. |
chaingpt_deploy_verifySubmit verified-source publication to Etherscan v2 for an already-deployed contract. Works across all major EVM mainnets + testnets via one endpoint. Returns a verification GUID; poll with chaingpt_deploy_verify_status. Requires ETHERSCAN_API_KEY. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | Deployed contract address (0x…). |
| compilerVersion * | string | Compiler version (e.g. "v0.8.24+commit.e11b9ed9"). Must match what was used to compile. |
| constructorArgs | string | ABI-encoded constructor args, hex without 0x prefix. Empty string for no-arg. |
| contractName * | string | Contract name in the source. |
| evmVersion | string | EVM version used (e.g. "paris"). Default "default". |
| licenseType | number | License code (1=Unlicense, 3=MIT, 5=GPL3, 14=Apache2). Default 3 (MIT). |
| network * | string | Network the contract is deployed on. |
| optimizerRuns | number | Optimizer runs used. Default 200. |
| source * | string | Full Solidity source (the same string you compiled). |
chaingpt_deploy_verify_statusPoll the status of a verification submission. Returns success/pending/failed plus the explorer link once verified. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address | string | Address being verified — used to build the explorer link. |
| guid * | string | GUID returned by chaingpt_deploy_verify. |
| network * | string | Network the GUID belongs to. |
chaingpt_dex_1inch_quoteGet a swap quote from 1inch v6. Generally better routing than OpenOcean on Ethereum + L2s for large pairs. Requires ONEINCH_API_KEY (free tier at https://1inch.dev). Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| amountIn * | string | Decimal amount of input token, e.g. "1.5". |
| decimalsIn * | number | Input token decimals. |
| inToken * | string | Input token contract (0x… or 0x0000…0000 for native). |
| network * | string | EVM chain. |
| outToken * | string | Output token contract. |
chaingpt_dex_1inch_swap_txBuild an UNSIGNED 1inch v6 swap transaction. Requires ONEINCH_API_KEY + acknowledgeMainnet=true. The user must approve the 1inch router to spend the input token first (use chaingpt_dex_approve_tx with spender=<router address from quote response>). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | |
| amountIn * | string | |
| decimalsIn * | number | |
| from * | string | Signer / from address (0x…). |
| inToken * | string | |
| network * | string | |
| outToken * | string | |
| slippageBps | integer | Max slippage in basis points. Default 100 (1%). |
chaingpt_dex_approve_txBuild an UNSIGNED ERC-20 approval transaction so the OpenOcean router (or another spender) can pull tokens for a swap. Returns the approval tx + the current allowance for the wallet. MAINNET: requires acknowledgeMainnet: true (approvals delegate spend authority). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet * | boolean | Must be true — approvals execute on mainnet and delegate spend authority to the spender. |
| amount | string | Decimal amount to approve, e.g. "1000". Use "max" for the uint256-max approval. |
| decimals | number | Token decimals. If omitted, the tool will fetch from the contract. |
| network * | string | |
| owner * | string | The wallet that will sign (0x…). |
| spender | string | Approval target. Defaults to the OpenOcean router on the chosen network. |
| token * | string | Token contract (0x…). Must be an ERC-20 (not native). |
chaingpt_dex_build_swap_txBuild an UNSIGNED swap transaction object for the user to sign + broadcast. MAINNET only — testnets are not supported by the aggregator. Refuses unless `acknowledgeMainnet: true`. The user MUST hold sufficient input-token balance AND have approved the router (use chaingpt_dex_approve_tx first if swapping an ERC-20). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| account * | string | The wallet that will sign + broadcast (0x…). |
| acknowledgeMainnet | boolean | You must pass acknowledgeMainnet=true to receive a signed-tx-ready response. This is the safety prompt — confirm the user wants to spend real funds. Before setting this flag, call chaingpt_risk_token on the outToken and chaingpt_dex_quote to surface price impact. |
| amountIn * | string | Decimal amount of input token. |
| gasPriceGwei | number | |
| inToken * | string | |
| network * | string | |
| outToken * | string | |
| slippageBps | integer | Max slippage in bps. Default 100. |
chaingpt_dex_cow_create_orderCreate a CoW Protocol swap order. CoW uses an intent model: instead of returning a tx, this returns the order shape + EIP-712 typed data the user signs. CoW solvers then settle the swap on-chain. Best for large swaps where MEV sandwich attacks would otherwise eat the trade. Refuses mainnet without acknowledgeMainnet=true. Supports Ethereum mainnet, Base, Arbitrum One. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | |
| buyToken * | string | Token being bought (0x…). |
| from * | string | Order owner (0x…). |
| network * | string | |
| sellAmount * | string | Decimal amount of sellToken. |
| sellDecimals * | number | |
| sellToken * | string | Token being sold (0x…). Native ETH not supported on CoW — wrap to WETH first. |
| slippageBps | integer | Max slippage in bps. Default 100 (1%). |
| validForMinutes | integer | How long the order is valid (1-1440 whole minutes). Default 30. |
chaingpt_dex_cow_submit_signed_orderSubmit a signed CoW Protocol order. The user signs the order returned by chaingpt_dex_cow_create_order externally (eth_signTypedData_v4), then passes the order + signature here. Returns the order UID which can be tracked on https://explorer.cow.fi. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| network * | string | |
| order * | any | The order object exactly as returned by create_order. |
| signature * | string | 0x-prefixed signature from eth_signTypedData_v4. |
| signingScheme | string | Signing scheme. Default eip712 (most wallets). |
chaingpt_dex_jupiter_build_swap_txBuild a serialized Solana swap transaction via Jupiter v6 ready for the user's wallet to sign and broadcast. Returns base64-encoded transaction. Requires `acknowledgeMainnet: true` — Solana mainnet is real money. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | You must pass true. Solana mainnet swaps are irreversible. |
| amountIn * | string | Decimal amount of input token. |
| decimalsIn | number | |
| decimalsOut | number | Decimals of the OUTPUT token. Display only. |
| inputMint * | string | |
| outputMint * | string | |
| slippageBps | integer | |
| userPublicKey * | string | Solana wallet base58 public key. |
chaingpt_dex_jupiter_quoteGet a live Solana DEX swap quote via Jupiter v6. Returns expected output, price impact, and route plan. Works on Solana mainnet. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| amountIn * | string | Decimal amount of input token (Jupiter takes the raw lamports internally). |
| decimalsIn | number | Decimals of the input token. Default 9 (SOL). |
| decimalsOut | number | Decimals of the OUTPUT token (6 for USDC, 9 for SOL). Used only for display; omit to see raw units. |
| inputMint * | string | Input token mint address (base58). Use "So11111…" for SOL. |
| outputMint * | string | Output token mint address. |
| slippageBps | integer | Max slippage in basis points. Default 50. |
chaingpt_dex_quoteGet a live DEX swap quote across all major EVM mainnets. Returns expected output amount, price impact, route summary, and estimated gas. Powered by OpenOcean (no key). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| amountIn * | string | Decimal amount of the input token (e.g. "1.5", not wei). |
| gasPriceGwei | number | Gas price hint in gwei for the route estimator. Optional. |
| inToken * | string | Input token contract (0x…). For the native coin, use 0x0000…0000 or 0xEeee…EEeE. |
| network * | string | EVM mainnet (ethereum, base, arbitrum, optimism, polygon, bsc, avalanche, blast, linea, scroll). |
| outToken * | string | Output token contract (0x…). Native sentinels accepted. |
| slippageBps | integer | Max slippage in basis points (50 = 0.5%). Default 100. |
chaingpt_drift_funding| Parameter | Type | Description |
|---|---|---|
| marketIndex * | number | Drift perp market index. |
| window | string | Lookback window. Default 24h. |
chaingpt_drift_market| Parameter | Type | Description |
|---|---|---|
| marketIndex * | number | Drift perp market index (e.g. 0 for SOL-PERP). |
chaingpt_drift_markets| Parameter | Type | Description |
|---|---|---|
| limit | number | Max markets to return. Default 30. |
| sortBy | string | Sort field. Default: volume. |
chaingpt_drift_orderbook| Parameter | Type | Description |
|---|---|---|
| depth | number | Max levels per side. Default 10. |
| marketIndex * | number | Drift perp market index. |
chaingpt_drift_user| Parameter | Type | Description |
|---|---|---|
| authority * | string | Solana wallet authority (base58 pubkey). |
| subAccountId | number | Drift sub-account id. Default 0. |
chaingpt_erc8004_agentcardGenerate a spec‑compliant `registration-v1` AgentCard (incl. `x402Support`)| Parameter | Type | Description |
|---|---|---|
| agentId | string | If already registered, the agentId to embed in registrations[]. |
| chain | string | Chain for the registrations[] entry (default base). One of: ${Object.keys(ERC8004_CHAINS).join(', ')}. |
| description | string | What the agent does. |
| emitDataUri | boolean | Also output the data:application/json;base64 URI form. Default false. |
| image | string | Avatar/image URL (https or ipfs). |
| name * | string | Agent name. |
| services | array | Service endpoints (A2A/MCP/etc). Each e.g. {type, url}. |
| supportedTrust | array | Trust models, e.g. ["reputation","crypto-economic","tee-attestation"]. |
| x402Support | boolean | Does the agent accept x402 payments? Default false. |
chaingpt_erc8004_registriesCanonical Identity/Reputation registry addresses (the `0x8004…` singletons)chaingpt_erc8004_resolve_agentResolve an ERC‑8004 agent → owner + AgentCard — *verified live on Base mainnet*| Parameter | Type | Description |
|---|---|---|
| agentId * | string | The agent token id (e.g. "0"). |
| chain | string | Chain the registry is on. One of: ${Object.keys(ERC8004_CHAINS).join(', ')}. Default base. |
chaingpt_estimate_creditsEstimate the credit cost for a ChainGPT API operation before executing it. Returns credit cost and USD equivalent. 1 credit = $0.01 USD.| Parameter | Type | Description |
|---|---|---|
| options | object | Product-specific options that affect pricing |
| product * | string | The ChainGPT product to estimate costs for |
chaingpt_generate_contractNatural language → production Solidity| Parameter | Type | Description |
|---|---|---|
| chatHistory | boolean | Enable chat history for follow-up modifications (+1 credit) |
| description * | string | Natural language description of the smart contract to generate. Be specific about token names, supplies, features, access control, etc. |
| sessionId | string | Session ID for multi-turn conversations. Use to request modifications to a previously generated contract. |
chaingpt_generate_historyRetrieve smart contract generation conversation history for a given session.| Parameter | Type | Description |
|---|---|---|
| limit | number | Number of messages to return |
| offset | number | Pagination offset |
| sessionId * | string | The session ID to retrieve history for |
| sortOrder | string |
chaingpt_hl_accountGet the full Hyperliquid account state for a wallet: USDC balance, margin used, account value, leverage, open positions, and open orders. Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| user * | string | Wallet address (0x…). |
chaingpt_hl_cancel_order_payloadBuild the action + EIP-712 typed-data payload for a Hyperliquid order cancel. Cancels do not require acknowledgeMainnet (cancels can only remove orders, not lose money). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| asset * | number | Asset index. |
| nonce | number | |
| orderId * | number | The order id (oid) to cancel. |
| vaultAddress | string | Optional vault address. |
chaingpt_hl_fillsRecent fill history for a Hyperliquid account. Returns side, coin, price, size, fee, PnL per fill. Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max fills to return (default 20). |
| user * | string | Wallet address (0x…). |
chaingpt_hl_fundingFunding-rate history for a Hyperliquid perp asset. Returns the last 24h of hourly funding rates. Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| coin * | string | Asset symbol, e.g. "BTC". |
| hours | number | How many hours of history (default 24, max 168). |
chaingpt_hl_marketsList Hyperliquid perpetual + spot markets (assets, max leverage, decimals). Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max markets to return. Default 50. |
| type | string | Which universe to list. Default: perp. |
chaingpt_hl_midsGet live mid prices for all Hyperliquid assets in one call. Useful for quick portfolio mark-to-market. Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| filter | array | Optional list of coin symbols to filter to (e.g. ["BTC","ETH","SOL"]). |
chaingpt_hl_orderbookGet the L2 orderbook for a Hyperliquid asset (best bids + asks, by price level). Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| coin * | string | Asset symbol, e.g. "BTC", "ETH", "SOL". |
| depth | number | Max levels per side to show. Default 10. |
chaingpt_hl_place_order_payloadBuild the action + EIP-712 typed-data payload for a Hyperliquid limit order. The plugin does NOT sign — it returns the typed data for the user's wallet to sign externally. Then call chaingpt_hl_submit_signed_action with the resulting signature. Requires acknowledgeMainnet=true (orders place real money on Hyperliquid mainnet). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | You must pass true. Hyperliquid mainnet orders are real-money trades. |
| asset * | number | Asset index from chaingpt_hl_markets (e.g. BTC=0, ETH=1). |
| isBuy * | boolean | true=long, false=short. |
| nonce | number | Optional nonce (defaults to a monotonic ms timestamp — unique even for same-millisecond calls). |
| price * | string | Limit price as decimal string, e.g. "95000". |
| reduceOnly | boolean | Reduce-only order. Default false. |
| size * | string | Position size in base asset, e.g. "0.01". |
| tif | string | Time-in-force: Gtc=good-till-cancel, Ioc=immediate-or-cancel, Alo=add-liquidity-only. |
| vaultAddress | string | Optional vault / sub-account address. Omit for the signer's own account. |
chaingpt_hl_submit_signed_actionPOST a signed Hyperliquid action to /exchange. Takes the action object + nonce returned by a *_payload tool plus the signature the user produced from their wallet. Returns the Hyperliquid response (status + fills / errors). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| action * | any | The action object exactly as returned by the *_payload tool. |
| nonce * | number | Same nonce that was used in the payload. |
| signature * | any | The signature from the user's wallet. Either an object {r, s, v} or a 0x-prefixed hex string. |
| vaultAddress | string | Same vault address (if any) that was used in the payload. |
chaingpt_intel_tokenOne call → DexScreener + GoPlus + ChainGPT news + AI signal. The "research this token" tool. ~1 credit.| Parameter | Type | Description |
|---|---|---|
| chain | string | Restrict the market + risk lookup to a chain. Optional. |
| newsLimit | number | Number of recent ChainGPT news articles to include. Default 5. Cost: 1 credit per 10. |
| query * | string | Token symbol (e.g. "CGPT", "WIF") or contract address. |
chaingpt_intel_walletPortfolio + per‑holding risk rating across chains. Free read.| Parameter | Type | Description |
|---|---|---|
| address * | string | EVM wallet address (0x…). |
| chains | array | Chains to scan. Default: [ethereum, base, arbitrum, polygon, bsc]. |
| maxTokens | number | Max number of tokens to risk-rate. Default 10. |
| minUsdValue | number | Only risk-rate holdings above this USD value. Default 100. |
chaingpt_miniapp_embedGenerate the `fc:miniapp` (+ legacy `fc:frame`) share embed meta tag| Parameter | Type | Description |
|---|---|---|
| appName | string | App name shown on the splash. |
| appUrl * | string | URL the button launches. |
| buttonTitle * | string | Launch button text (≤32 chars). |
| imageUrl * | string | Embed image URL (3:2 aspect, ≤1024px). |
| splashBackgroundColor | string | Splash bg hex color. |
| splashImageUrl | string | Splash image URL. |
chaingpt_miniapp_manifestGenerate `/.well-known/farcaster.json` for a Base App / Farcaster Mini App| Parameter | Type | Description |
|---|---|---|
| description | string | Full description for the app directory. |
| heroImageUrl | string | Optional 1200×630 promo image. |
| homeUrl * | string | HTTPS URL the app loads (≤1024). |
| iconUrl * | string | 1024×1024 PNG icon URL (no alpha). |
| name * | string | App name (≤32 chars). |
| primaryCategory | string | One of: ${PRIMARY_CATEGORIES.join(', ')}. |
| requiredChains | array | CAIP-2 chain ids, e.g. ["eip155:8453"]. |
| splashBackgroundColor | string | Hex color for splash bg (e.g. "#0052FF"). |
| splashImageUrl | string | Splash image URL (200×200 recommended). |
| subtitle | string | Short subtitle (≤30 chars). |
| tagline | string | Marketing tagline (≤30 chars). |
| tags | array | Up to 5 search tags. |
| webhookUrl | string | Optional webhook URL for notifications. |
chaingpt_miniapp_validateValidate a Mini App manifest against the spec| Parameter | Type | Description |
|---|---|---|
| manifest * | object | The manifest object to validate (farcaster.json contents, or just the miniapp object). |
chaingpt_news_categoriesGet the complete reference list of all category IDs, blockchain IDs, and token IDs for use with chaingpt_news_fetch. Free (0 credits).chaingpt_news_fetchFetch AI-curated crypto and blockchain news articles. Supports filtering by category, blockchain, token, search text, and date. Costs 1 credit per 10 records returned (rounded up). Use chaingpt_news_categories to look up valid IDs.| Parameter | Type | Description |
|---|---|---|
| blockchains | array | Blockchain sub-category IDs. Common: 11=Bitcoin, 12=BNB, 15=Ethereum, 20=Polygon, 22=Solana, 28=Arbitrum, 31=Avalanche, 32=Base, 45=Optimism |
| categories | array | Category IDs to filter by. Common: 5=DeFi, 8=NFT, 64=Cryptocurrency, 78=Exchange, 2=Gaming, 3=DAO, 4=DApps, 6=Lending, 7=Metaverse, 9=Stablecoins, 66=Smart Contracts, 74=Web3. Also: 65=Decentralized, 67=Distributed Ledger, 68=Cryptography, 69=Digital Assets, 70=Tokenization, 71=Consensus, 72=ICO, 73=Wallets, 75=Interoperability, 76=Mining, 77=Cross-Chain |
| fetchAfter | string | Only return articles published after this date (YYYY-MM-DD format) |
| limit | number | Number of articles to return (default 10, max varies). Cost: 1 credit per 10. |
| offset | number | Pagination offset |
| search | string | Full-text search query |
| tokens | array | Token IDs. Common: 79=BTC, 80=ETH, 81=USDT, 82=BNB, 83=XRP, 85=SOL, 87=DOGE, 96=LINK, 108=CGPT |
chaingpt_nft_enhance_promptEnhance a text prompt using AI for better NFT/image generation results. Returns an improved, detailed prompt. Costs 0.5 credits.| Parameter | Type | Description |
|---|---|---|
| prompt * | string | The original prompt to enhance |
chaingpt_nft_generate_and_mintFull pipeline: generate an NFT image from a prompt, queue it for on-chain minting, poll for completion, and prepare mint metadata. Returns collection ID and IPFS metadata. Requires wallet address and target chain.| Parameter | Type | Description |
|---|---|---|
| amount | number | Number of NFTs to generate (default 1) |
| chainId * | number | Target blockchain chain ID (e.g. 1=Ethereum, 56=BSC, 137=Polygon, 8453=Base, 42161=Arbitrum) |
| description | string | NFT collection description |
| enhance | string | |
| model | string | |
| name * | string | NFT collection name |
| prompt * | string | Text description of the NFT to generate |
| steps | number | Inference steps |
| style | string | Art style |
| symbol | string | NFT collection symbol (e.g. "MYNFT") |
| walletAddress * | string | Destination wallet address for the NFT |
chaingpt_nft_generate_imageGenerate an AI image from a text prompt using ChainGPT NFT Generator. Returns base64-encoded image data. Costs 1 credit base (+ upscale/model surcharges). Models: velogen (fast, 1-4 steps), nebula_forge_xl (quality, 1-50 steps), VisionaryForge (quality, 1-50 steps), Dale3 (4.75 credits, fixed 1024x1024).| Parameter | Type | Description |
|---|---|---|
| enhance | string | Upscale option. "1x" adds +1 credit, "2x" adds +2 credits |
| height | number | Image height in pixels (512-1024 depending on model) |
| image | string | URL of an input image for image-to-image generation. The AI will use this as a reference. |
| isCharacterPreserve | boolean | Preserve character identity across generations. Adds +5 credits to the cost. |
| model | string | AI model to use for generation |
| prompt * | string | Text description of the image to generate |
| steps | number | Inference steps. velogen: 1-4 (default 2), nebula/visionary: 1-50 (default 25), Dale3: N/A |
| style | string | Art style to apply |
| width | number | Image width in pixels (512-1024 depending on model) |
chaingpt_nft_generate_multipleGenerate multiple AI images from a single prompt. Returns an array of base64-encoded images. Cost scales per image.| Parameter | Type | Description |
|---|---|---|
| count | number | Number of images to generate (default 2) |
| height | number | |
| model | string | |
| prompt * | string | Text description of the images to generate |
| steps | number | |
| width | number |
chaingpt_nft_get_chainsList all blockchain networks supported for NFT minting, with their chain IDs. Free (0 credits).| Parameter | Type | Description |
|---|---|---|
| testNet | boolean | If true, return testnet chains instead of mainnet |
chaingpt_nft_get_collectionsList NFT collections associated with your API key. Filter by wallet, mint status, visibility, name, or symbol. Free (0 credits).| Parameter | Type | Description |
|---|---|---|
| isDraft | boolean | Filter draft collections |
| isMinted | boolean | Filter minted collections |
| isPublic | boolean | Filter by public visibility |
| limit | number | Results per page |
| name | string | Filter by collection name |
| page | number | Page number for pagination |
| symbol | string | Filter by collection symbol |
| walletAddress | string | Filter by wallet address |
chaingpt_nft_surprise_meGet a random creative AI-generated prompt suggestion for NFT art. Free (0 credits). Great for inspiration.chaingpt_onchain_addressGet the recent transaction history for an address on an EVM chain. Returns up to 25 most-recent native-token transfers with timestamp, counterparty, value, method, and status. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | Wallet or contract address (0x…). |
| chain | string | EVM chain slug. Default: ethereum. |
| limit | number | Max transactions to return (default 25, max 100). |
chaingpt_onchain_blockGet a block by number, or the latest block. Returns timestamp, miner/proposer, tx count, gas used, base fee. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| chain | string | EVM chain slug. Default: ethereum. |
| number | string | Block number (decimal), hex with "0x" prefix, or "latest". Default: latest. |
chaingpt_onchain_gasGet current gas prices for an EVM chain. Returns safe / standard / fast gwei estimates plus the current base fee. Uses Etherscan gas tracker where available, falls back to eth_gasPrice via public RPC. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| chain | string | EVM chain slug. Default: ethereum. |
chaingpt_onchain_txLook up a transaction by hash. Returns status (success/failed/pending), from/to, value, gas used, effective gas price, method signature (if known), and block/timestamp. Works across all major EVM chains via Etherscan v2. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| chain | string | EVM chain slug. Default: ethereum. |
| hash * | string | Transaction hash (0x…). |
chaingpt_pm_marketGet details on one Polymarket market by slug or condition id: question, end date, current odds, YES/NO token addresses (which are the CLOB token IDs), 24h volume, liquidity. Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| conditionId | string | On-chain condition id (0x…). Alternative to slug. |
| slug | string | Market slug from the URL, e.g. "will-bitcoin-hit-200k-by-2026". |
chaingpt_pm_marketsList Polymarket prediction markets, sorted by 24h volume. Filter by search query, category, or closing window. Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| active | boolean | Only return currently-active (not yet resolved) markets. Default true. |
| closed | boolean | Include resolved markets. Default false. |
| limit | number | Max markets to return (default 20, max 100). |
| order | string | Sort order. Default volume24hr. |
| search | string | Full-text search over market questions. |
chaingpt_pm_orderbookGet the L2 orderbook for one Polymarket outcome token. The tokenId is the per-outcome asset id (get it from chaingpt_pm_market). Also shows the book version, neg_risk, tick size and minimum order size that chaingpt_pm_place_order_payload needs. Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| depth | number | Max levels per side. Default 10. |
| tokenId * | string | CLOB token id (decimal string, the YES or NO leg). |
chaingpt_pm_place_order_payloadBuild a Polymarket CLOB order + EIP-712 typed-data payload for the user's wallet to sign. The plugin NEVER signs — it returns the typed data and the order JSON. The signing domain, tick size and minimum size come from the token's live order book. After signing, call chaingpt_pm_submit_signed_order to broadcast (requires POLY_CLOB_API_KEY env). Requires acknowledgeMainnet=true. Polymarket settles on Polygon mainnet (chainId 137). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | You must pass true. Polymarket orders are real-money trades. |
| expirationSec | number | Unix seconds when a GTD order expires (submit with orderType GTD; at least 3 minutes ahead). 0 = never. Default 0. |
| maker * | string | Wallet placing the order (0x… on Polygon). For proxy/Safe wallets, the proxy (funder) address; for deposit wallets, the deposit wallet. |
| price * | string | Decimal probability 0..1 on the book's tick_size, e.g. "0.42" for 42%. |
| side * | string | BUY = buying outcome tokens, SELL = selling them. |
| signatureType | integer | 0 = EOA (default), 1 = Polymarket proxy (email/Magic), 2 = Gnosis Safe proxy, 3 = deposit wallet (needs signer = its owner EOA). |
| signer | string | EOA that signs, when it differs from maker (proxy/Safe wallets, and the owner EOA of a deposit wallet). Default: maker. |
| size * | string | Number of outcome tokens (shares), e.g. "100". Rounded down to 2 decimals; must meet the book's min_order_size. |
| tokenId * | string | Outcome asset id from chaingpt_pm_market (the position id on a v2 market). |
chaingpt_pm_submit_signed_orderPOST a signed Polymarket order to the CLOB. Requires POLY_CLOB_API_KEY, POLY_CLOB_SECRET, and POLY_CLOB_PASSPHRASE env vars (derive via py-clob-client or the official TypeScript SDK first). Returns the CLOB response (order hash + status). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| order * | any | The order object exactly as returned by chaingpt_pm_place_order_payload. |
| orderType | string | Time-in-force: GTC=good-till-cancel, FOK=fill-or-kill, GTD=good-till-date. Default GTC. |
| owner | string | CLOB API key of the order owner. Defaults to POLY_CLOB_API_KEY (Polymarket expects the API key here, not an address). |
| signature * | string | 0x-prefixed signature from the user's wallet (eth_signTypedData_v4 over the typed data). |
chaingpt_pm_tradesGet recent fills on a Polymarket outcome token. Useful for confirming a market is liquid and seeing where size is going. Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| limit | number | Max trades (default 20). |
| tokenId * | string | CLOB token id. |
chaingpt_portfolio_snapshotFan‑out parallel to HL + PM + Morpho + Drift for one user| Parameter | Type | Description |
|---|---|---|
| evmAddress | string | EVM wallet address (0x…). Used for Hyperliquid + Polymarket + Morpho. |
| solanaAddress | string | Solana wallet authority (base58). Used for Drift. Optional. |
| venues | array | Optional filter — only query these venues. Default: all applicable based on which addresses are provided. |
chaingpt_research_pairsList trading pairs (pools) for a token contract address on a given chain. Returns up to 10 pairs sorted by liquidity, with DEX, quote token, price, 24h volume, and pool URL. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | Token contract address. |
| chain | string | Chain slug. Optional; if omitted, returns pairs from all chains where the token exists. |
| limit | number | Max number of pairs to return (default 10). |
chaingpt_research_tokenLook up live market data for a token by contract address or symbol search. Returns price, 24h volume, liquidity, market cap, FDV, top trading pair, and primary DEX. Multi-chain. Powered by DexScreener. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| chain | string | Restrict to a specific chain. Optional; if omitted, returns the top pair across all chains. |
| query * | string | Either a contract address (0x… on EVM, base58 on Solana) or a token symbol like "WIF" or "CGPT". Symbol searches return the top match across all chains. |
chaingpt_research_trendingGet the currently trending / boosted tokens on DexScreener. Useful for surfacing what is moving across chains right now. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| chain | string | Restrict to a chain. Optional. |
| limit | number | Number of tokens to return (default 10, max 30). |
chaingpt_risk_addressCheck whether a wallet or contract address is flagged for malicious behavior via GoPlus: sanctions, phishing, scam labels, mixer use, blacklist membership. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | Address to check. |
| chain | string | Chain slug. Default: ethereum. |
chaingpt_risk_contract_sourceFetch the verified source code, ABI, and compiler settings for a contract from Etherscan v2 (works across all major EVM chains via a single endpoint). Returns whether the contract is verified, its compiler version, and a preview of the source. ETHERSCAN_API_KEY is optional but recommended. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | Contract address (0x…). |
| chain | string | EVM chain slug. Default: ethereum. |
| previewChars | number | How many characters of source to include in the preview (default 1500). |
chaingpt_risk_honeypotSimulate a buy + sell of a token via Honeypot.is to detect honeypots, hidden taxes, and gas-bomb transfer functions. Returns simulation result, buy tax %, sell tax %, transfer tax %, and verdict. Supports Ethereum, BSC, Base, Arbitrum. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | Token contract address (0x…). |
| chain | string | Chain slug. Default: ethereum. |
chaingpt_risk_tokenRun a token-security check via GoPlus Labs. Flags honeypot, mintable, blacklist functions, ownership concentration, hidden buy/sell tax, anti-whale traps, proxy contracts, and more. Returns a one-line verdict + the list of risk flags. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | Token contract address (0x… on EVM or base58 on Solana). |
| chain | string | Chain slug. Default: ethereum. |
chaingpt_signals_feedFetch recent ChainGPT AI crypto-alert signals (the feed behind https://app.chaingpt.org/ai-crypto-alerts): anomaly-driven pump/dump/neutral alerts with sentiment and narration per token. Optionally filter by CoinMarketCap ID, sentiment, and a unix-seconds time window. Returns the raw JSON. Costs 1 credit per 10 signals returned, rounded up (ceil(results/10)).| Parameter | Type | Description |
|---|---|---|
| cmcId | number | CoinMarketCap coin ID to filter by (e.g. 1=BTC, 1027=ETH). |
| from | number | Only signals created at or after this unix timestamp (seconds). |
| limit | number | Number of signals to return (default 10, max 50). Cost: 1 credit per 10 returned, rounded up. |
| sentiment | string | Only return signals with this sentiment. |
| to | number | Only signals created at or before this unix timestamp (seconds). |
chaingpt_solana_build_transfer_txBuild an UNSIGNED Solana transfer transaction (custody-free). Handles native SOL transfers when `mint` is omitted, and SPL token transfers (classic Token + Token-2022 auto-detected) when `mint` is provided. Returns a base64-encoded VersionedTransaction the user signs with Phantom / Backpack / Solflare / hardware wallet. For SPL transfers, the tool auto-derives the sender + recipient Associated Token Accounts, fetches decimals from the mint, and includes an idempotent ATA-creation instruction so first-time-recipient transfers work without an extra setup step. MAINNET-gated: requires acknowledgeMainnet:true on network=mainnet. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| acknowledgeMainnet | boolean | Must be true when network=mainnet. Prevents accidental mainnet tx construction. See feedback_mainnet_default for rationale. |
| amount * | string | Human-readable amount as a string (e.g. "1.5" for 1.5 SOL or 1.5 USDC). Decimals are fetched from the mint for SPL transfers, or LAMPORTS_PER_SOL (9) for native SOL. |
| from * | string | Base58 sender address. This is the wallet that will sign the transaction and pay fees. For SPL transfers, this is the OWNER address (not the ATA — the ATA is derived). |
| mint | string | Optional. Base58 SPL token mint address. Omit for native SOL. Examples: USDC mainnet = EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v ; USDT mainnet = Es9vMFrzaCERmJfrF4H2FYD4KCoNkY11McCe8BenwNYB. Token-2022 mints are auto-detected from the mint account owner. |
| network | string | Solana network. Default: mainnet. |
| to * | string | Base58 recipient address (owner address, not ATA). For SPL transfers, the recipient ATA is derived; if it does not exist, an idempotent create-ATA instruction is included. |
chaingpt_solana_decode_txDecode an unsigned base64-encoded Solana VersionedTransaction for human review. Returns the payer, blockhash, instructions list (program id + key list + data length), and the address-lookup-table addresses if any. Use this to sanity-check what you are about to sign before forwarding to a wallet. Read-only. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| txBase64 * | string | The base64-encoded VersionedTransaction returned by build_transfer_tx (or any other Solana signer). |
chaingpt_strategy_copy_planBuild a copy-trading plan: given a target wallet, fetch its recent DEX swaps and propose mirrored trades sized to a budget. Output is a plan only — Claude executes via chaingpt_dex_build_swap_tx with the same mainnet ack gate. Pre-flight: ALWAYS run chaingpt_risk_token on each token before mirroring. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| budgetUsd * | number | Total budget for mirrored trades. |
| chain * | string | Chain to monitor. |
| maxTrades | number | Max number of trades to mirror. Default 5. |
| minTradeUsd | number | Skip trades smaller than this. Default 100. |
| targetWallet * | string | Wallet to mirror (0x…). |
chaingpt_strategy_dca_planBuild a dollar-cost-average plan for one token. Given a total budget, number of buys, and cadence, returns the list of swaps Claude should execute via chaingpt_dex_quote + chaingpt_dex_build_swap_tx. Each step also gets a recommended execution time (Unix seconds). Read-only — does not execute. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| cadenceHours | number | Hours between buys. Default 24 (daily). |
| intervals | number | Number of buys to split the budget into. Default 7. |
| network * | string | EVM chain slug or "solana". |
| outToken * | string | Token contract to buy (0x… or Solana mint). |
| startAtUnix | number | When to start (Unix seconds). Defaults to now. |
| totalUsd * | number | Total USD budget across all buys. |
chaingpt_strategy_delete_planDelete a saved strategy plan by name. Requires `confirm: true` since this is irreversible. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| confirm | boolean | Must be true. Safety gate against accidental deletion. |
| name * | string |
chaingpt_strategy_due_stepsList the steps of a saved plan that are DUE now (atUnix has passed, within the lookahead window) and not yet executed. The heart of scheduled execution: a cron/scheduled agent calls this each tick, claims steps with claim=true before signing, passes the stable operationId to the signer, and records the hash. In-flight claims require reconciliation. Distinct IDs and external-wallet actions cannot be deduplicated automatically. Plans need payload.steps = [{ id, atUnix, ... }]. Read-only unless claim=true. 0 credits.| Parameter | Type | Description |
|---|---|---|
| claim | boolean | Atomically claim due steps before autonomous execution. Claimed steps carry a stable operationId and are never automatically retried as new actions. |
| limit | number | Max due steps to return. Default 20. |
| lookaheadMinutes | number | Also include steps due within the next N minutes (handles scheduler jitter). Default 10. |
| name * | string | Saved plan name. |
chaingpt_strategy_funding_arb_planSuggest a Hyperliquid funding-rate arbitrage position. Given the current funding rate for a coin, returns: which side to take (long if funding < 0, short if funding > 0), expected hourly carry, annualized rate, suggested leverage, and the pre-flight tools Claude should run before submitting. Read-only — does not execute. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| coin * | string | HL asset symbol, e.g. "BTC". |
| maxLeverage | number | Max leverage to suggest (default 3 for low-risk). |
| minAnnualizedPct | number | Skip if annualized funding < this %. Default 10. |
| notionalUsd * | number | Target notional in USD. |
chaingpt_strategy_grid_planBuild a grid-trading ladder of limit orders between a lower and upper bound. Returns evenly-spaced buy + sell levels with sizes scaled to the total budget. Useful for range-bound markets. Output is a plan only — Claude executes via the appropriate place-order tool (chaingpt_hl_place_order_payload for Hyperliquid, chaingpt_pm_place_order_payload for Polymarket, or chaingpt_dex_build_swap_tx for spot). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| asset * | string | Asset reference: HL coin symbol ("BTC"), PM tokenId, or DEX outToken. |
| levels | number | Number of price levels per side. Default 5. |
| midPrice | number | Current mid; positions above are sells, below are buys. Optional. |
| priceHigh * | number | Upper bound of the grid. |
| priceLow * | number | Lower bound of the grid. |
| totalUsd * | number | Total USD across all buy levels. |
| venue * | string | Where to place the grid. |
chaingpt_strategy_list_plansList all saved strategy plans with metadata (name, type, created/updated dates, byte size). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| type | string | Optional filter — only return plans of this type. |
chaingpt_strategy_load_planLoad a previously-saved strategy plan by name. Returns the full payload + metadata. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| name * | string | Plan name (must match exactly). |
chaingpt_strategy_mark_stepRecord that a plan step was executed (or deliberately skipped) in the plan's execution journal. Call IMMEDIATELY after the action lands, with the tx hash. Idempotent: a step already marked is refused; completed journal entries are immutable. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| name * | string | Saved plan name. |
| note | string | Optional note (e.g. fill price, why skipped). |
| status | string | Default done. |
| stepId * | any | The step id from payload.steps / chaingpt_strategy_due_steps. |
| txHash | string | Transaction hash / order id that executed this step. |
chaingpt_strategy_save_planSave a strategy plan to local disk for later recall. Plans live in ~/.chaingpt-mcp/plans/ (or $CHAINGPT_PLAN_DIR). Use for multi-session strategies (DCA over weeks, grid rebalancing, etc.). No remote upload — plan stays on the user's machine. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| name * | string | Plan name (will be sanitized to filesystem-safe chars). |
| notes | string | Optional notes — e.g. the underlying token, wallet address, intent. |
| overwrite | boolean | If true, overwrite an existing plan with the same name. Default false. |
| payload * | any | The plan content — any JSON-serializable value. |
| type | string | Optional plan type (dca / grid / funding-arb / copy / other) for filtering in _list_plans. |
chaingpt_tron_account_resourcesRead a Tron account's bandwidth + energy (used/limit) and staked resources. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | |
| network | string |
chaingpt_tron_balancesRead a Tron account's TRX balance + bandwidth/energy resources, plus TRC-20 balances for the given tokens (default USDT). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | Tron base58 address. |
| network | string | |
| tokens | array | TRC-20 symbols (USDT, USDD, …) or contract addresses to also read. Default ["USDT"]. |
chaingpt_tron_build_transfer_txBuild an UNSIGNED native TRX transfer (custody-free — sign externally or via the agent wallet). Mainnet requires acknowledgeMainnet:true. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| amountTrx * | string | Amount in TRX (e.g. "12.5"). |
| from * | string | Sender Tron address. |
| network | string | |
| to * | string | Recipient Tron address. |
chaingpt_tron_build_trc20_transfer_txBuild an UNSIGNED TRC-20 transfer (custody-free). Resolves token decimals from the registry or on-chain. Mainnet requires acknowledgeMainnet:true. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| amount * | string | Human amount in token units (e.g. "100" USDT). |
| feeLimitTrx | string | Max TRX burnable for energy. Default 100. |
| from * | string | |
| network | string | |
| to * | string | |
| token * | string | TRC-20 symbol (USDT, …) or contract address. |
chaingpt_tron_dex_sunswap_quoteQuote a SunSwap swap (read-only, via V2 getAmountsOut). Provide token symbols/addresses; TRX legs are auto-routed through WTRX. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| amountIn * | string | Human input amount. |
| network | string | |
| tokenIn * | string | Input token: "TRX", a symbol, or a contract address. |
| tokenOut * | string | Output token: "TRX", a symbol, or a contract address. |
chaingpt_tron_lend_justlend_accountRead a JustLend account: USD account liquidity / shortfall + per-market supplied/borrowed (TRX, USDT, USDD). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | |
| network | string |
chaingpt_tron_lend_justlend_build_txBuild an UNSIGNED JustLend action (approve/supply/withdraw/borrow/repay) for a market (TRX/USDT/USDD). TRC-20 supply/repay need a prior approve. Mainnet requires acknowledgeMainnet:true. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| action * | string | |
| amount * | string | Human amount in the underlying (TRX or token units). |
| feeLimitTrx | string | Max TRX burnable for energy. Default 100. |
| from * | string | |
| market * | string | Underlying market. |
| network | string |
chaingpt_tron_research_tokenMarket research for a Tron token via DexScreener (price, liquidity, 24h volume across SunSwap pairs). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| token * | string | TRC-20 symbol or contract address. |
chaingpt_tron_risk_tokenSecurity scan for a Tron TRC-20 via GoPlus (honeypot, mintable, owner privileges, tax). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| token * | string | TRC-20 symbol or contract address. |
chaingpt_tron_token_balanceRead a single TRC-20 balance (resolves symbol + decimals on-chain when not in the curated registry). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | Holder Tron address. |
| network | string | |
| token * | string | TRC-20 symbol (USDT, …) or contract address. |
chaingpt_tron_tx_infoLook up a Tron transaction receipt by id (fee, energy, result, block). 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| network | string | |
| txid * | string |
chaingpt_tron_validate_addressValidate a Tron base58 "T…" address and show its hex (41…) and EVM (0x…) forms. Pure/offline, 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | Tron base58 address. |
chaingpt_wallet_balancesGet native + ERC-20 token balances for a wallet address across multiple chains. Returns symbol, balance, USD value (when available), contract address per token. Authenticated ERC-20 balance pages require MORALIS_API_KEY (see current plans at https://moralis.com). Without a key, returns native-coin balances only via public RPCs. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | EVM wallet address (0x…) or Solana base58 address |
| chains | array | Chain slugs to scan. Defaults to [ethereum, base, arbitrum, polygon, bsc]. |
| includeNative | boolean | Include the native coin balance (ETH, BNB, etc.). Default true. |
| minUsdValue | number | Filter out tokens worth less than this USD amount. Default 1. |
chaingpt_wallet_pnlGet profit/loss summary for a wallet on a given chain. Returns realized + unrealized P&L, total invested, current value, top winning/losing positions. Requires MORALIS_API_KEY. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | EVM wallet address (0x…) |
| chain | string | Chain slug. Default: ethereum. |
chaingpt_wallet_positionsGet DeFi positions (liquidity, lending, staking, farming) for a wallet across protocols. Returns protocol name, position type, deposited/borrowed amounts, USD value, APY where available. Requires MORALIS_API_KEY. 0 ChainGPT credits.| Parameter | Type | Description |
|---|---|---|
| address * | string | EVM wallet address (0x…) |
| chain | string | Chain slug. Default: ethereum. |
chaingpt_x402_build_paymentBuild the UNSIGNED EIP‑3009 `transferWithAuthorization` typed data; return the `X‑PAYMENT` header once signed| Parameter | Type | Description |
|---|---|---|
| amount | string | Human amount (e.g. "0.01") if not using `requirements`. Converted via token decimals. |
| authorization | object | Exact authorization returned by the unsigned call; REQUIRED with signature. Includes original nonce and validity bounds. |
| from * | string | Payer EVM address (signs + is debited). |
| maxAmountRequired | string | Atomic amount override (takes precedence over `amount`). |
| maxAtomicAmount | string | Your budget in atomic units. REQUIRED with `requirements` (the server sets the price there); a higher price is refused. |
| network | string | Override network if not using `requirements` (e.g. "base", "base-sepolia"). |
| payTo | string | Recipient address if not using `requirements`. |
| requirements | object | A single PaymentRequirements object (scheme/network/asset/payTo/maxAmountRequired/extra). From a 402 body. |
| signature | string | Optional 0x signature of the typed data; if present, returns the final X-PAYMENT header. |
| symbol | string | Token symbol if not using `requirements` (e.g. "USDC"). Resolves the EIP-712 domain. |
| validForSeconds | number | Authorization validity window from now (default 600s, max 3600). |
chaingpt_x402_create_requirementsGenerate `PaymentRequirements` + a 402 body to monetize your own API| Parameter | Type | Description |
|---|---|---|
| amount * | string | Human price (e.g. "0.01"). |
| description | string | Human description of what is being paid for. |
| maxTimeoutSeconds | number | Authorization timeout (default 60). |
| network * | string | Network (e.g. "base", "base-sepolia"). |
| payTo * | string | Recipient address (your wallet). |
| resource | string | The URL/path being monetized. |
| symbol | string | Token symbol (e.g. "USDC"). Default USDC. |
chaingpt_x402_decodeDecode an x402 `402` challenge / `X‑PAYMENT` header into human terms before paying| Parameter | Type | Description |
|---|---|---|
| body | object | 402 response JSON body (with accepts[]). Provide this OR header. |
| header | string | Base64 X-PAYMENT or X-PAYMENT-RESPONSE header value to decode. |
chaingpt_x402_facilitatorCall a facilitator — `supported` / `verify` / `settle`| Parameter | Type | Description |
|---|---|---|
| action * | string | Which facilitator endpoint to call. |
| facilitatorUrl * | string | Base URL of the facilitator (e.g. https://x402.org/facilitator). Required. |
| paymentPayload | object | The PaymentPayload (for verify/settle). |
| paymentRequirements | object | The PaymentRequirements the payload is being checked against (for verify/settle). |
chaingpt_x402_fetchFetch an x402-protected (HTTP 402) resource, custody-free. 2xx → returns the body. 402 → decodes the PaymentRequirements and (when `from` is given) builds the UNSIGNED EIP-3009 typed data the user signs in their own wallet; then re-call with xPaymentHeader (from chaingpt_x402_build_payment with the signature) to complete the paid request. The full agent-pays loop in one tool. 0 ChainGPT credits (the payment itself is whatever the resource charges).| Parameter | Type | Description |
|---|---|---|
| body | string | Request body for POST (sent as application/json). |
| from | string | Payer address (0x…). Enables building the unsigned typed data on a 402. |
| maxAtomicAmount | string | Your budget in atomic token units. Required to build a payment for a 402: a price above it is refused. |
| maxBodyChars | number | Truncate the response body in the output. Default 4000. |
| method | string | Default GET. |
| url * | string | The x402-protected URL. |
| xPaymentHeader | string | Base64 X-PAYMENT header from chaingpt_x402_build_payment (after signing) — completes the paid request. |
Security checks
6 checks have not been run yet.