tencent cloud

腾讯云区块链服务平台 TBaaS

产品动态
产品简介
产品概述
产品功能
底层引擎
产品优势
应用场景
基本概念
购买指南
购买页说明
欠费说明
定价与规格说明
快速入门
Hyperledger Fabric
操作指南
联盟
事件中心
网络概览
通道管理
合约管理
组织管理
节点管理
区块链浏览器
证书管理
审计日志
节点监控与日志
开发指南
Hyperledger Fabric
应用系统对接
API 文档
History
Introduction
API Category
Making API Requests
Hyperledger Fabric 2.3 APIs
Data Types
Error Codes
常见问题
产品协议
数据处理和安全协议
联系我们

DescribeFabricTransaction

聚焦模式
字号
最后更新时间: 2025-10-30 21:56:54

1. API Description

Domain name for API request: tbaas.intl.tencentcloudapi.com.

This API is used to obtain detailed information of Fabric transactions.

A maximum of 20 requests can be initiated per second for this API.

We recommend you to use API Explorer
Try it
API Explorer provides a range of capabilities, including online call, signature authentication, SDK code generation, and API quick search. It enables you to view the request, response, and auto-generated examples.

2. Input Parameters

The following request parameter list only provides API request parameters and some common parameters. For the complete common parameter list, see Common Request Parameters.

Parameter Name Required Type Description
Action Yes String Common Params. The value used for this API: DescribeFabricTransaction.
Version Yes String Common Params. The value used for this API: 2018-04-16.
Region Yes String Common Params. For more information, please see the list of regions supported by the product.
ClusterId Yes String Cluster ID, which can be obtained from the blockchain cluster details or in the list.
ChannelId Yes String Channel ID, which can be obtained from the channel list or channel detail.
TxId Yes String Transaction ID

3. Output Parameters

Parameter Name Type Description
TxId String Transaction ID
TxHash String Transaction Hash.
TxStatus String Transaction status.
JoinOrgList Array of String Organization list involved.
Sender String Transaction sender.
CreateTime String Creation time
BlockHeight Integer Block height.
ChaincodeName String The contract to which the exchange belongs.
TransactionData String Transaction data, base64 encoded, decoded as a json string.
RequestId String The unique request ID, generated by the server, will be returned for every request (if the request fails to reach the server for other reasons, the request will not obtain a RequestId). RequestId is required for locating a problem.

4. Example

Example1 DescribeFabricTransaction

DescribeFabricTransaction

Input Example

POST / HTTP/1.1
Host: tbaas.intl.tencentcloudapi.com
Content-Type: application/json
X-TC-Action: DescribeFabricTransaction
<Common request parameters>

{
    "ClusterId": "fabric-65z42qi150",
    "ChannelId": "channel-9xej4d",
    "TxId": "03389f4a5af1883347ecdb15471e70abf3a8e6cf5b6648dc789674af7930e229"
}

Output Example

{
    "Response": {
        "BlockHeight": 4,
        "ChaincodeName": "_lifecycle",
        "CreateTime": "2023-08-05 15:44:04",
        "JoinOrgList": [
            "org-xxxx.fabric-ian2bqtylk"
        ],
        "RequestId": "b5221353-8f20-4547-8260-c550b4b0175c",
        "Sender": "org-xxxx.fabric-ian2bqtylk",
        "TransactionData": "eyJjaGFpbmNvZGVfc3BlYyI6eyJjaGFpbmNvZGVfaWQiOnsibmFtZSI6Il9saWZlY3ljbGUiLCJwYXRoIjoiIiwidmVyc2lvbiI6IiJ9LCJpbnB1dCI6eyJhcmdzIjpbIkNvbW1pdENoYWluY29kZURlZmluaXRpb24iLCJcdTAwMDhcdTAwMDFcdTAwMTJcdTAwMDNteWNcdTAwMWFcdTAwMDR2MS4wXCJcdTAwMDRlc2NjKlx1MDAwNHZzY2MyMVxuL1x1MDAxMlx1MDAwOFx1MDAxMlx1MDAwNlx1MDAwOFx1MDAwMVx1MDAxMlx1MDAwMlx1MDAwOFx1MDAwMFx1MDAxYSNcdTAwMTIhXG5cdTAwMWZvcmctMjUxMDA1NzQ2LmZhYnJpYy02NXo0MnFpMTUwOlx1MDAwMCJdLCJkZWNvcmF0aW9ucyI6e30sImlzX2luaXQiOmZhbHNlfSwidGltZW91dCI6MCwidHlwZSI6IlVOREVGSU5FRCJ9fQ==",
        "TxHash": "8e5b978d33cfbc0510b4e60406f8481f8ec00e390131d5b6ea6d38604e1bcb46",
        "TxId": "03389f4a5af1883347ecdb15471e70abf3a8e6cf5b6648dc789674af7930e229",
        "TxStatus": "VALID"
    }
}

5. Developer Resources

SDK

TencentCloud API 3.0 integrates SDKs that support various programming languages to make it easier for you to call APIs.

Command Line Interface

6. Error Code

The following only lists the error codes related to the API business logic. For other error codes, see Common Error Codes.

Error Code Description
FailedOperation.FabricTransactionNoExist The transaction does not exist.
FailedOperation.InvalidAuth User has no access permission.
InternalError.ServerError Internal error. please try again later or contact technical personnel.

帮助和支持

本页内容是否解决了您的问题?

填写满意度调查问卷,共创更好文档体验。

文档反馈