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://www.blocknative.com/" --jsonstate: "READY"membrane connection ensuremembrane connection ensure "https://www.blocknative.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 |
|---|---|---|
| List Gas Oracles | list-gas-oracles | Get metadata about Blocknative's on-chain gas oracles, including contract addresses, RPC URLs, and block explorer lin... |
| List Supported Chains | list-supported-chains | Get a list of all blockchain networks supported by Blocknative's Gas Platform, including chain IDs, labels, features,... |
| Get Gas Distribution | get-gas-distribution | Get the current mempool gas price distribution for the top N transactions likely to be included in the next block. |
| Get Base Fee Estimates | get-base-fee-estimates | Get base fee predictions for the current pending block and next 5 blocks on Ethereum. |
| Get Gas Prices | get-gas-prices | Get gas price estimates for next block inclusion across 40+ supported chains. |
| 名称 | 标识 | 描述 |
|---|---|---|
| List Gas Oracles | list-gas-oracles | 获取Blocknative链上gas预言机的元数据,包括合约地址、RPC URL和区块浏览器链接... |
| List Supported Chains | list-supported-chains | 获取Blocknative Gas平台支持的所有区块链网络列表,包括链ID、标签、功能... |
| Get Gas Distribution | get-gas-distribution | 获取下一个区块中可能包含的前N笔交易的当前内存池gas价格分布。 |
| Get Base Fee Estimates | get-base-fee-estimates | 获取以太坊当前待处理区块及后续5个区块的基础费用预测。 |
| Get Gas Prices | get-gas-prices | 获取40+支持链上下一个区块打包的gas价格预估。 |
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