iriscli service requests

描述

查询服务请求列表

用法

iriscli service requests <flags>

标志

Name, shorthand Default Description Required
--def-chain-id 定义该服务的区块链ID
--service-name 服务名称
--bind-chain-id 绑定该服务的区块链ID
--provider bech32编码的服务提供商账户地址
-h, --help 查询请求列表命令帮助

示例

查询服务请求列表

iriscli service requests --def-chain-id=<service_define_chain_id> --service-name=<service-name> --bind-chain-id=<service_bind_chain_id> --provider=<provider_address>

运行成功以后,返回的结果如下:

[
  {
    "def_chain_id": "chain-jsmJQQ",
    "def_name": "test-service",
    "bind_chain_id": "chain-jsmJQQ",
    "req_chain_id": "chain-jsmJQQ",
    "method_id": 1,
    "provider": "iaa1f02ext9duk7h3rx9zm7av0pnlegxve8npm2k6m",
    "consumer": "iaa1f02ext9duk7h3rx9zm7av0pnlegxve8npm2k6m",
    "input": "Q0NV",
    "service_fee": [
      {
        "denom": "iris-atto",
        "amount": "10000000000000000"
      }
    ],
    "profiling": false,
    "request_height": "456",
    "request_intra_tx_counter": 0,
    "expiration_height": "556"
  }
]