Loading...
Loading...
Compare original and translation side by side
membranenpm install -g @membranehq/cli@latestmembranenpm install -g @membranehq/cli@latestmembrane login --tenant --clientName=<agentType>membrane login complete <code>--jsonmembrane login --tenant --clientName=<agentType>membrane login complete <code>--jsonmembrane connection ensuremembrane connection ensure "https://Covalenthq.com" --jsonstate: "READY"membrane connection ensuremembrane connection ensure "https://Covalenthq.com" --jsonREADYBUILDINGnpx @membranehq/cli connection get <id> --wait --json--wait--timeoutstateBUILDINGREADYCLIENT_ACTION_REQUIREDclientActionclientAction.type"connect""provide-input"clientAction.descriptionclientAction.uiUrlclientAction.agentInstructionsmembrane connection get <id> --jsonREADYCONFIGURATION_ERRORSETUP_FAILEDerrorBUILDINGnpx @membranehq/cli connection get <id> --wait --json--wait--timeoutstateBUILDINGREADYCLIENT_ACTION_REQUIREDclientActionclientAction.type"connect""provide-input"clientAction.descriptionclientAction.uiUrlclientAction.agentInstructionsmembrane connection get <id> --jsonREADYCONFIGURATION_ERRORSETUP_FAILEDerrormembrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --jsonidnamedescriptioninputSchemaoutputSchemamembrane action list --connectionId=CONNECTION_ID --intent "QUERY" --limit 10 --jsonidnamedescriptioninputSchemaoutputSchema| Name | Key | Description |
|---|---|---|
| Get Historical Token Prices | get-historical-token-prices | Returns historical prices for specified token contract addresses |
| Get Log Events by Topic | get-log-events-by-topic | Returns a paginated list of decoded log events filtered by topic hash(es) |
| Get Log Events by Contract | get-log-events-by-contract | Returns a paginated list of decoded log events emitted by a smart contract |
| Get NFT Transactions | get-nft-transactions | Returns a list of transactions for a specific NFT token ID |
| Get NFT Metadata | get-nft-metadata | Returns external metadata for an NFT token (supports ERC-721 and ERC-1155) |
| Get NFT Token IDs | get-nft-token-ids | Returns a list of all token IDs for an NFT contract on the blockchain |
| Get Token Transfers for Address | get-token-transfers | Returns all ERC-20 token transfers for a wallet address with historical prices |
| Get Token Holders | get-token-holders | Returns a paginated list of token holders for a specific token contract |
| Get Block Heights | get-block-heights | Returns all block heights within a date range for a specific chain |
| Get Block | get-block | Returns data for a specific block by block height |
| Get Transaction | get-transaction | Returns transaction data with decoded event logs for a specific transaction hash |
| Get Historical Portfolio | get-historical-portfolio | Returns historical portfolio value over time for a wallet address, broken down by tokens |
| Get Token Balances for Address | get-token-balances | Returns all token balances (native, ERC-20, ERC-721, ERC-1155) for a wallet address on a specific chain |
| Get All Chains | get-all-chains | Returns a list of all supported blockchain networks with their metadata |
| 名称 | 标识 | 描述 |
|---|---|---|
| 获取历史代币价格 | get-historical-token-prices | 返回指定代币合约地址的历史价格 |
| 按主题获取日志事件 | get-log-events-by-topic | 返回按主题哈希过滤的解码日志事件分页列表 |
| 按合约获取日志事件 | get-log-events-by-contract | 返回由智能合约发出的解码日志事件分页列表 |
| 获取NFT交易记录 | get-nft-transactions | 返回特定NFT代币ID的交易列表 |
| 获取NFT元数据 | get-nft-metadata | 返回NFT代币的外部元数据(支持ERC-721和ERC-1155) |
| 获取NFT代币ID | get-nft-token-ids | 返回区块链上某NFT合约的所有代币ID列表 |
| 获取地址的代币转账记录 | get-token-transfers | 返回钱包地址的所有ERC-20代币转账记录及历史价格 |
| 获取代币持有者 | get-token-holders | 返回特定代币合约的代币持有者分页列表 |
| 获取区块高度 | get-block-heights | 返回特定链在指定日期范围内的所有区块高度 |
| 获取区块信息 | get-block | 返回特定区块高度的区块数据 |
| 获取交易信息 | get-transaction | 返回特定交易哈希的交易数据及解码事件日志 |
| 获取历史投资组合 | get-historical-portfolio | 返回钱包地址随时间变化的历史投资组合价值,按代币拆分 |
| 获取地址的代币余额 | get-token-balances | 返回钱包地址在特定链上的所有代币余额(原生代币、ERC-20、ERC-721、ERC-1155) |
| 获取所有链 | get-all-chains | 返回所有支持的区块链网络及其元数据列表 |
membrane action run <actionId> --connectionId=CONNECTION_ID --jsonmembrane action run <actionId> --connectionId=CONNECTION_ID --input '{"key": "value"}' --jsonoutputmembrane action run <actionId> --connectionId=CONNECTION_ID --jsonmembrane action run <actionId> --connectionId=CONNECTION_ID --input '{"key": "value"}' --jsonoutputmembrane request CONNECTION_ID /path/to/endpoint| Flag | Description |
|---|---|
| HTTP method (GET, POST, PUT, PATCH, DELETE). Defaults to GET |
| Add a request header (repeatable), e.g. |
| Request body (string) |
| Shorthand to send a JSON body and set |
| Send the body as-is without any processing |
| Query-string parameter (repeatable), e.g. |
| Path parameter (repeatable), e.g. |
membrane request CONNECTION_ID /path/to/endpoint| 标志 | 描述 |
|---|---|
| HTTP方法(GET、POST、PUT、PATCH、DELETE)。默认值为GET |
| 添加请求头(可重复使用),例如 |
| 请求体(字符串) |
| 简写方式,用于发送JSON体并设置 |
| 按原样发送请求体,不进行任何处理 |
| 查询字符串参数(可重复使用),例如 |
| 路径参数(可重复使用),例如 |
membrane action list --intent=QUERYmembrane action list --intent=QUERY