Universal Ledger API

Universal Ledger API。

服务:universalledger.googleapis.com

服务端点

服务端点是指定 API 服务的网络地址的基本网址。一项服务可能有多个服务端点。此服务具有以下服务端点,下面的所有 URI 都与此服务端点相关:

  • https://universalledger.googleapis.com

区域服务端点

区域服务端点是一个基础网址,用于指定单个区域中 API 服务的网络地址。在多个区域提供的服务可能具有多个区域端点。选择一个位置,查看相应位置的此服务区域性服务端点。


  • https://universalledger.googleapis.com
  • REST 资源:v1.projects.locations

    方法
    get GET /v1/{name=projects/*/locations/*}
    获取位置相关信息。
    list GET /v1/{name=projects/*}/locations
    列出有关此服务所支持位置的信息。

    REST 资源:v1.projects.locations.endpoints

    方法
    get GET /v1/{name=projects/*/locations/*/endpoints/*}
    获取特定端点的详细信息。
    list GET /v1/{parent=projects/*/locations/*}/endpoints
    列出给定项目和位置的所有端点。
    queryAccount GET /v1/{endpoint=projects/*/locations/*/endpoints/*}:queryAccount
    查询网络中存储的有关账号的所有信息。
    queryData POST /v1/{endpoint=projects/*/locations/*/endpoints/*}:queryData
    查询账本上存储的信息(例如账号和交易)。
    queryTransactionState GET /v1/{endpoint=projects/*/locations/*/endpoints/*}:queryTransactionState
    查询交易的状态。
    submitOperationalTransaction POST /v1/{endpoint=projects/*/locations/*/endpoints/*}:submitOperationalTransaction
    向网络提交操作交易。
    submitTransaction POST /v1/{endpoint=projects/*/locations/*/endpoints/*}:submitTransaction
    向网络提交交易。