public class TbaasClient extends AbstractClient
gson, HTTP_RSP_OK, SDK_VERSION
Constructor and Description |
---|
TbaasClient(Credential credential,
String region)
构造client
|
TbaasClient(Credential credential,
String region,
ClientProfile profile)
构造client
|
Modifier and Type | Method and Description |
---|---|
GetBlockListResponse |
GetBlockList(GetBlockListRequest req)
查看当前网络下的所有区块列表,分页展示
|
GetClusterSummaryResponse |
GetClusterSummary(GetClusterSummaryRequest req)
获取区块链网络概要
|
GetInvokeTxResponse |
GetInvokeTx(GetInvokeTxRequest req)
Invoke异步调用结果查询
|
GetLatesdTransactionListResponse |
GetLatesdTransactionList(GetLatesdTransactionListRequest req)
获取最新交易列表
|
InvokeResponse |
Invoke(InvokeRequest req)
新增交易
|
QueryResponse |
Query(QueryRequest req)
查询交易
|
call, getClientProfile, getCredential, getRegion, internalRequest, setClientProfile, setCredential, setRegion
public TbaasClient(Credential credential, String region)
credential
- 认证信息实例region
- 产品地域public TbaasClient(Credential credential, String region, ClientProfile profile)
credential
- 认证信息实例region
- 产品地域profile
- 配置实例public GetBlockListResponse GetBlockList(GetBlockListRequest req) throws TencentCloudSDKException
req
- GetBlockListRequestTencentCloudSDKException
public GetClusterSummaryResponse GetClusterSummary(GetClusterSummaryRequest req) throws TencentCloudSDKException
req
- GetClusterSummaryRequestTencentCloudSDKException
public GetInvokeTxResponse GetInvokeTx(GetInvokeTxRequest req) throws TencentCloudSDKException
req
- GetInvokeTxRequestTencentCloudSDKException
public GetLatesdTransactionListResponse GetLatesdTransactionList(GetLatesdTransactionListRequest req) throws TencentCloudSDKException
req
- GetLatesdTransactionListRequestTencentCloudSDKException
public InvokeResponse Invoke(InvokeRequest req) throws TencentCloudSDKException
req
- InvokeRequestTencentCloudSDKException
public QueryResponse Query(QueryRequest req) throws TencentCloudSDKException
req
- QueryRequestTencentCloudSDKException
Copyright © 2019. All rights reserved.