Documentation
¶
Index ¶
- Constants
- type ApplyUserCertRequest
- type ApplyUserCertResponse
- type BcosBlockObj
- type BcosTransInfo
- type Block
- type BlockByNumberHandlerRequest
- type BlockByNumberHandlerResponse
- type ChannelDetailForUser
- type Client
- func (c *Client) ApplyUserCert(request *ApplyUserCertRequest) (response *ApplyUserCertResponse, err error)
- func (c *Client) BlockByNumberHandler(request *BlockByNumberHandlerRequest) (response *BlockByNumberHandlerResponse, err error)
- func (c *Client) CreateChaincodeAndInstallForUser(request *CreateChaincodeAndInstallForUserRequest) (response *CreateChaincodeAndInstallForUserResponse, err error)
- func (c *Client) DeployDynamicBcosContract(request *DeployDynamicBcosContractRequest) (response *DeployDynamicBcosContractResponse, err error)
- func (c *Client) DeployDynamicContractHandler(request *DeployDynamicContractHandlerRequest) (response *DeployDynamicContractHandlerResponse, err error)
- func (c *Client) DownloadUserCert(request *DownloadUserCertRequest) (response *DownloadUserCertResponse, err error)
- func (c *Client) GetBcosBlockByNumber(request *GetBcosBlockByNumberRequest) (response *GetBcosBlockByNumberResponse, err error)
- func (c *Client) GetBcosBlockList(request *GetBcosBlockListRequest) (response *GetBcosBlockListResponse, err error)
- func (c *Client) GetBcosTransByHash(request *GetBcosTransByHashRequest) (response *GetBcosTransByHashResponse, err error)
- func (c *Client) GetBcosTransList(request *GetBcosTransListRequest) (response *GetBcosTransListResponse, err error)
- func (c *Client) GetBlockList(request *GetBlockListRequest) (response *GetBlockListResponse, err error)
- func (c *Client) GetBlockListHandler(request *GetBlockListHandlerRequest) (response *GetBlockListHandlerResponse, err error)
- func (c *Client) GetBlockTransactionListForUser(request *GetBlockTransactionListForUserRequest) (response *GetBlockTransactionListForUserResponse, err error)
- func (c *Client) GetChaincodeCompileLogForUser(request *GetChaincodeCompileLogForUserRequest) (response *GetChaincodeCompileLogForUserResponse, err error)
- func (c *Client) GetChaincodeInitializeResultForUser(request *GetChaincodeInitializeResultForUserRequest) (response *GetChaincodeInitializeResultForUserResponse, err error)
- func (c *Client) GetChaincodeLogForUser(request *GetChaincodeLogForUserRequest) (response *GetChaincodeLogForUserResponse, err error)
- func (c *Client) GetChannelListForUser(request *GetChannelListForUserRequest) (response *GetChannelListForUserResponse, err error)
- func (c *Client) GetClusterListForUser(request *GetClusterListForUserRequest) (response *GetClusterListForUserResponse, err error)
- func (c *Client) GetClusterSummary(request *GetClusterSummaryRequest) (response *GetClusterSummaryResponse, err error)
- func (c *Client) GetInvokeTx(request *GetInvokeTxRequest) (response *GetInvokeTxResponse, err error)
- func (c *Client) GetLatesdTransactionList(request *GetLatesdTransactionListRequest) (response *GetLatesdTransactionListResponse, err error)
- func (c *Client) GetPeerLogForUser(request *GetPeerLogForUserRequest) (response *GetPeerLogForUserResponse, err error)
- func (c *Client) GetTransByHashHandler(request *GetTransByHashHandlerRequest) (response *GetTransByHashHandlerResponse, err error)
- func (c *Client) GetTransListHandler(request *GetTransListHandlerRequest) (response *GetTransListHandlerResponse, err error)
- func (c *Client) GetTransactionDetailForUser(request *GetTransactionDetailForUserRequest) (response *GetTransactionDetailForUserResponse, err error)
- func (c *Client) InitializeChaincodeForUser(request *InitializeChaincodeForUserRequest) (response *InitializeChaincodeForUserResponse, err error)
- func (c *Client) Invoke(request *InvokeRequest) (response *InvokeResponse, err error)
- func (c *Client) InvokeBcosTrans(request *InvokeBcosTransRequest) (response *InvokeBcosTransResponse, err error)
- func (c *Client) Query(request *QueryRequest) (response *QueryResponse, err error)
- func (c *Client) SendTransactionHandler(request *SendTransactionHandlerRequest) (response *SendTransactionHandlerResponse, err error)
- func (c *Client) SrvInvoke(request *SrvInvokeRequest) (response *SrvInvokeResponse, err error)
- func (c *Client) TransByDynamicContractHandler(request *TransByDynamicContractHandlerRequest) (response *TransByDynamicContractHandlerResponse, err error)
- type ClusterDetailForUser
- type CreateChaincodeAndInstallForUserRequest
- type CreateChaincodeAndInstallForUserResponse
- type DeployDynamicBcosContractRequest
- type DeployDynamicBcosContractResponse
- type DeployDynamicContractHandlerRequest
- type DeployDynamicContractHandlerResponse
- type DownloadUserCertRequest
- type DownloadUserCertResponse
- type EndorserGroup
- type GetBcosBlockByNumberRequest
- type GetBcosBlockByNumberResponse
- type GetBcosBlockListRequest
- type GetBcosBlockListResponse
- type GetBcosTransByHashRequest
- type GetBcosTransByHashResponse
- type GetBcosTransListRequest
- type GetBcosTransListResponse
- type GetBlockListHandlerRequest
- type GetBlockListHandlerResponse
- type GetBlockListRequest
- type GetBlockListResponse
- type GetBlockTransactionListForUserRequest
- type GetBlockTransactionListForUserResponse
- type GetChaincodeCompileLogForUserRequest
- type GetChaincodeCompileLogForUserResponse
- type GetChaincodeInitializeResultForUserRequest
- type GetChaincodeInitializeResultForUserResponse
- type GetChaincodeLogForUserRequest
- type GetChaincodeLogForUserResponse
- type GetChannelListForUserRequest
- type GetChannelListForUserResponse
- type GetClusterListForUserRequest
- type GetClusterListForUserResponse
- type GetClusterSummaryRequest
- type GetClusterSummaryResponse
- type GetInvokeTxRequest
- type GetInvokeTxResponse
- type GetLatesdTransactionListRequest
- type GetLatesdTransactionListResponse
- type GetPeerLogForUserRequest
- type GetPeerLogForUserResponse
- type GetTransByHashHandlerRequest
- type GetTransByHashHandlerResponse
- type GetTransListHandlerRequest
- type GetTransListHandlerResponse
- type GetTransactionDetailForUserRequest
- type GetTransactionDetailForUserResponse
- type GroupDetailForUser
- type InitializeChaincodeForUserRequest
- type InitializeChaincodeForUserResponse
- type InvokeBcosTransRequest
- type InvokeBcosTransResponse
- type InvokeRequest
- type InvokeResponse
- type LogDetailForUser
- type PeerDetailForUser
- type PeerSet
- type QueryRequest
- type QueryResponse
- type SendTransactionHandlerRequest
- type SendTransactionHandlerResponse
- type SrvInvokeRequest
- type SrvInvokeResponse
- type TransByDynamicContractHandlerRequest
- type TransByDynamicContractHandlerResponse
- type TransactionItem
Constants ¶
const APIVersion = "2018-04-16"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type ApplyUserCertRequest ¶
type ApplyUserCertRequest struct { *tchttp.BaseRequest // 模块名,固定字段:cert_mng Module *string `json:"Module,omitempty" name:"Module"` // 操作名,固定字段:cert_apply_for_user Operation *string `json:"Operation,omitempty" name:"Operation"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 申请证书的组织名称,可以在组织管理列表中获取当前组织的名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 用户证书标识,用于标识用户证书,要求由纯小写字母组成,长度小于10 UserIdentity *string `json:"UserIdentity,omitempty" name:"UserIdentity"` // 证书申请实体,使用腾讯云账号实名认证的名称 Applicant *string `json:"Applicant,omitempty" name:"Applicant"` // 证件号码。如果腾讯云账号对应的实名认证类型为企业认证,填入“0”;如果腾讯云账号对应的实名认证类型为个人认证,填入个人身份证号码 IdentityNum *string `json:"IdentityNum,omitempty" name:"IdentityNum"` // csr p10证书文件。需要用户根据文档生成证书的CSR文件 CsrData *string `json:"CsrData,omitempty" name:"CsrData"` // 证书备注信息 Notes *string `json:"Notes,omitempty" name:"Notes"` }
func NewApplyUserCertRequest ¶
func NewApplyUserCertRequest() (request *ApplyUserCertRequest)
func (*ApplyUserCertRequest) FromJsonString ¶
func (r *ApplyUserCertRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyUserCertRequest) ToJsonString ¶
func (r *ApplyUserCertRequest) ToJsonString() string
type ApplyUserCertResponse ¶
type ApplyUserCertResponse struct { *tchttp.BaseResponse Response *struct { // 证书ID CertId *uint64 `json:"CertId,omitempty" name:"CertId"` // 证书DN CertDn *string `json:"CertDn,omitempty" name:"CertDn"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewApplyUserCertResponse ¶
func NewApplyUserCertResponse() (response *ApplyUserCertResponse)
func (*ApplyUserCertResponse) FromJsonString ¶
func (r *ApplyUserCertResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*ApplyUserCertResponse) ToJsonString ¶
func (r *ApplyUserCertResponse) ToJsonString() string
type BcosBlockObj ¶
type BcosBlockObj struct { // 区块哈希 BlockHash *string `json:"BlockHash,omitempty" name:"BlockHash"` // 区块高度 BlockNumber *int64 `json:"BlockNumber,omitempty" name:"BlockNumber"` // 区块时间戳 BlockTimestamp *string `json:"BlockTimestamp,omitempty" name:"BlockTimestamp"` // 打包节点ID Sealer *string `json:"Sealer,omitempty" name:"Sealer"` // 打包节点索引 SealerIndex *int64 `json:"SealerIndex,omitempty" name:"SealerIndex"` // 记录保存时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 交易数量 TransCount *int64 `json:"TransCount,omitempty" name:"TransCount"` // 记录修改时间 ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` }
type BcosTransInfo ¶
type BcosTransInfo struct { // 所属区块高度 BlockNumber *int64 `json:"BlockNumber,omitempty" name:"BlockNumber"` // 区块时间戳 BlockTimestamp *string `json:"BlockTimestamp,omitempty" name:"BlockTimestamp"` // 交易哈希 TransHash *string `json:"TransHash,omitempty" name:"TransHash"` // 交易发起者 TransFrom *string `json:"TransFrom,omitempty" name:"TransFrom"` // 交易接收者 TransTo *string `json:"TransTo,omitempty" name:"TransTo"` // 落库时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 修改时间 ModifyTime *string `json:"ModifyTime,omitempty" name:"ModifyTime"` }
type Block ¶
type Block struct { // 区块编号 BlockNum *uint64 `json:"BlockNum,omitempty" name:"BlockNum"` // 区块数据Hash数值 DataHash *string `json:"DataHash,omitempty" name:"DataHash"` // 区块ID,与区块编号一致 BlockId *uint64 `json:"BlockId,omitempty" name:"BlockId"` // 前一个区块Hash PreHash *string `json:"PreHash,omitempty" name:"PreHash"` // 区块内的交易数量 TxCount *uint64 `json:"TxCount,omitempty" name:"TxCount"` }
type BlockByNumberHandlerRequest ¶
type BlockByNumberHandlerRequest struct { *tchttp.BaseRequest // 模块名,固定字段:block Module *string `json:"Module,omitempty" name:"Module"` // 操作名,固定字段:block_by_number Operation *string `json:"Operation,omitempty" name:"Operation"` // 当前群组编号 GroupPk *string `json:"GroupPk,omitempty" name:"GroupPk"` // 区块高度 BlockNumber *int64 `json:"BlockNumber,omitempty" name:"BlockNumber"` }
func NewBlockByNumberHandlerRequest ¶
func NewBlockByNumberHandlerRequest() (request *BlockByNumberHandlerRequest)
func (*BlockByNumberHandlerRequest) FromJsonString ¶
func (r *BlockByNumberHandlerRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BlockByNumberHandlerRequest) ToJsonString ¶
func (r *BlockByNumberHandlerRequest) ToJsonString() string
type BlockByNumberHandlerResponse ¶
type BlockByNumberHandlerResponse struct { *tchttp.BaseResponse Response *struct { // 返回区块json字符串 BlockJson *string `json:"BlockJson,omitempty" name:"BlockJson"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewBlockByNumberHandlerResponse ¶
func NewBlockByNumberHandlerResponse() (response *BlockByNumberHandlerResponse)
func (*BlockByNumberHandlerResponse) FromJsonString ¶
func (r *BlockByNumberHandlerResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*BlockByNumberHandlerResponse) ToJsonString ¶
func (r *BlockByNumberHandlerResponse) ToJsonString() string
type ChannelDetailForUser ¶ added in v1.0.98
type ChannelDetailForUser struct { // 通道名称 ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // 当前组织加入通道的节点列表 PeerList []*PeerDetailForUser `json:"PeerList,omitempty" name:"PeerList" list` }
type Client ¶
func NewClient ¶
func NewClient(credential *common.Credential, region string, clientProfile *profile.ClientProfile) (client *Client, err error)
func NewClientWithSecretId ¶
Deprecated
func (*Client) ApplyUserCert ¶
func (c *Client) ApplyUserCert(request *ApplyUserCertRequest) (response *ApplyUserCertResponse, err error)
申请用户证书
func (*Client) BlockByNumberHandler ¶
func (c *Client) BlockByNumberHandler(request *BlockByNumberHandlerRequest) (response *BlockByNumberHandlerResponse, err error)
版本升级
Bcos根据块高查询区块信息
func (*Client) CreateChaincodeAndInstallForUser ¶ added in v1.0.98
func (c *Client) CreateChaincodeAndInstallForUser(request *CreateChaincodeAndInstallForUserRequest) (response *CreateChaincodeAndInstallForUserResponse, err error)
创建并安装合约
func (*Client) DeployDynamicBcosContract ¶ added in v1.0.120
func (c *Client) DeployDynamicBcosContract(request *DeployDynamicBcosContractRequest) (response *DeployDynamicBcosContractResponse, err error)
动态部署并发布Bcos合约
func (*Client) DeployDynamicContractHandler ¶
func (c *Client) DeployDynamicContractHandler(request *DeployDynamicContractHandlerRequest) (response *DeployDynamicContractHandlerResponse, err error)
版本升级
动态部署合约
func (*Client) DownloadUserCert ¶
func (c *Client) DownloadUserCert(request *DownloadUserCertRequest) (response *DownloadUserCertResponse, err error)
下载用户证书
func (*Client) GetBcosBlockByNumber ¶ added in v1.0.120
func (c *Client) GetBcosBlockByNumber(request *GetBcosBlockByNumberRequest) (response *GetBcosBlockByNumberResponse, err error)
使用块高查询Bcos区块信息
func (*Client) GetBcosBlockList ¶ added in v1.0.120
func (c *Client) GetBcosBlockList(request *GetBcosBlockListRequest) (response *GetBcosBlockListResponse, err error)
Bcos分页查询当前群组下的区块列表
func (*Client) GetBcosTransByHash ¶ added in v1.0.120
func (c *Client) GetBcosTransByHash(request *GetBcosTransByHashRequest) (response *GetBcosTransByHashResponse, err error)
Bcos根据交易哈希查看交易详细信息
func (*Client) GetBcosTransList ¶ added in v1.0.120
func (c *Client) GetBcosTransList(request *GetBcosTransListRequest) (response *GetBcosTransListResponse, err error)
Bcos分页查询当前群组的交易信息列表
func (*Client) GetBlockList ¶
func (c *Client) GetBlockList(request *GetBlockListRequest) (response *GetBlockListResponse, err error)
查看当前网络下的所有区块列表,分页展示
func (*Client) GetBlockListHandler ¶
func (c *Client) GetBlockListHandler(request *GetBlockListHandlerRequest) (response *GetBlockListHandlerResponse, err error)
版本升级
Bcos分页查询当前群组下的区块列表
func (*Client) GetBlockTransactionListForUser ¶
func (c *Client) GetBlockTransactionListForUser(request *GetBlockTransactionListForUserRequest) (response *GetBlockTransactionListForUserResponse, err error)
获取区块内的交易列表
func (*Client) GetChaincodeCompileLogForUser ¶ added in v1.0.98
func (c *Client) GetChaincodeCompileLogForUser(request *GetChaincodeCompileLogForUserRequest) (response *GetChaincodeCompileLogForUserResponse, err error)
获取合约编译日志
func (*Client) GetChaincodeInitializeResultForUser ¶ added in v1.0.98
func (c *Client) GetChaincodeInitializeResultForUser(request *GetChaincodeInitializeResultForUserRequest) (response *GetChaincodeInitializeResultForUserResponse, err error)
实例化结果查询
func (*Client) GetChaincodeLogForUser ¶ added in v1.0.98
func (c *Client) GetChaincodeLogForUser(request *GetChaincodeLogForUserRequest) (response *GetChaincodeLogForUserResponse, err error)
获取合约容器日志
func (*Client) GetChannelListForUser ¶ added in v1.0.98
func (c *Client) GetChannelListForUser(request *GetChannelListForUserRequest) (response *GetChannelListForUserResponse, err error)
获取通道列表
func (*Client) GetClusterListForUser ¶ added in v1.0.98
func (c *Client) GetClusterListForUser(request *GetClusterListForUserRequest) (response *GetClusterListForUserResponse, err error)
获取该用户的网络列表。网络信息中包含组织信息,但仅包含该用户所在组织的信息。
func (*Client) GetClusterSummary ¶
func (c *Client) GetClusterSummary(request *GetClusterSummaryRequest) (response *GetClusterSummaryResponse, err error)
获取区块链网络概要
func (*Client) GetInvokeTx ¶
func (c *Client) GetInvokeTx(request *GetInvokeTxRequest) (response *GetInvokeTxResponse, err error)
Invoke异步调用结果查询
func (*Client) GetLatesdTransactionList ¶
func (c *Client) GetLatesdTransactionList(request *GetLatesdTransactionListRequest) (response *GetLatesdTransactionListResponse, err error)
获取最新交易列表
func (*Client) GetPeerLogForUser ¶ added in v1.0.98
func (c *Client) GetPeerLogForUser(request *GetPeerLogForUserRequest) (response *GetPeerLogForUserResponse, err error)
获取节点日志
func (*Client) GetTransByHashHandler ¶
func (c *Client) GetTransByHashHandler(request *GetTransByHashHandlerRequest) (response *GetTransByHashHandlerResponse, err error)
版本升级
Bcos根据交易哈希查看交易详细信息
func (*Client) GetTransListHandler ¶
func (c *Client) GetTransListHandler(request *GetTransListHandlerRequest) (response *GetTransListHandlerResponse, err error)
版本升级
Bcos分页查询当前群组的交易信息列表
func (*Client) GetTransactionDetailForUser ¶
func (c *Client) GetTransactionDetailForUser(request *GetTransactionDetailForUserRequest) (response *GetTransactionDetailForUserResponse, err error)
获取交易详情
func (*Client) InitializeChaincodeForUser ¶ added in v1.0.98
func (c *Client) InitializeChaincodeForUser(request *InitializeChaincodeForUserRequest) (response *InitializeChaincodeForUserResponse, err error)
实例化合约
func (*Client) Invoke ¶
func (c *Client) Invoke(request *InvokeRequest) (response *InvokeResponse, err error)
新增交易
func (*Client) InvokeBcosTrans ¶ added in v1.0.120
func (c *Client) InvokeBcosTrans(request *InvokeBcosTransRequest) (response *InvokeBcosTransResponse, err error)
执行Bcos交易,支持动态部署的合约
func (*Client) Query ¶
func (c *Client) Query(request *QueryRequest) (response *QueryResponse, err error)
查询交易
func (*Client) SendTransactionHandler ¶
func (c *Client) SendTransactionHandler(request *SendTransactionHandlerRequest) (response *SendTransactionHandlerResponse, err error)
版本升级
Bcos发送交易
func (*Client) SrvInvoke ¶
func (c *Client) SrvInvoke(request *SrvInvokeRequest) (response *SrvInvokeResponse, err error)
trustsql服务统一接口
func (*Client) TransByDynamicContractHandler ¶
func (c *Client) TransByDynamicContractHandler(request *TransByDynamicContractHandlerRequest) (response *TransByDynamicContractHandlerResponse, err error)
版本升级
根据动态部署的合约发送交易
type ClusterDetailForUser ¶ added in v1.0.98
type ClusterDetailForUser struct { // 网络ID ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 组织列表 GroupList []*GroupDetailForUser `json:"GroupList,omitempty" name:"GroupList" list` // 网络名称 ClusterName *string `json:"ClusterName,omitempty" name:"ClusterName"` }
type CreateChaincodeAndInstallForUserRequest ¶ added in v1.0.98
type CreateChaincodeAndInstallForUserRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:chaincode_mng Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:chaincode_create_and_install_for_user Operation *string `json:"Operation,omitempty" name:"Operation"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 调用合约的组织名称,可以在组织管理列表中获取当前组织的名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 合约安装节点名称,可以在通道详情中获取该通道上的节点名称 PeerName *string `json:"PeerName,omitempty" name:"PeerName"` // 智能合约名称,格式说明:以小写字母开头,由2-12位数字或小写字母组成 ChaincodeName *string `json:"ChaincodeName,omitempty" name:"ChaincodeName"` // 智能合约版本,格式说明:由1-12位数字、小写字母、特殊符号(“.”)组成,如v1.0 ChaincodeVersion *string `json:"ChaincodeVersion,omitempty" name:"ChaincodeVersion"` // 智能合约代码文件类型,支持类型: // 1. "go":.go合约文件 // 2. "gozip":go合约工程zip包,要求压缩目录为代码根目录 // 3. "javazip":java合约工程zip包,要求压缩目录为代码根目录 // 4. "nodezip":nodejs合约工程zip包,要求压缩目录为代码根目录 ChaincodeFileType *string `json:"ChaincodeFileType,omitempty" name:"ChaincodeFileType"` // 合约内容,合约文件或压缩包内容的base64编码,大小要求小于等于5M Chaincode *string `json:"Chaincode,omitempty" name:"Chaincode"` }
func NewCreateChaincodeAndInstallForUserRequest ¶ added in v1.0.98
func NewCreateChaincodeAndInstallForUserRequest() (request *CreateChaincodeAndInstallForUserRequest)
func (*CreateChaincodeAndInstallForUserRequest) FromJsonString ¶ added in v1.0.98
func (r *CreateChaincodeAndInstallForUserRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateChaincodeAndInstallForUserRequest) ToJsonString ¶ added in v1.0.98
func (r *CreateChaincodeAndInstallForUserRequest) ToJsonString() string
type CreateChaincodeAndInstallForUserResponse ¶ added in v1.0.98
type CreateChaincodeAndInstallForUserResponse struct { *tchttp.BaseResponse Response *struct { // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewCreateChaincodeAndInstallForUserResponse ¶ added in v1.0.98
func NewCreateChaincodeAndInstallForUserResponse() (response *CreateChaincodeAndInstallForUserResponse)
func (*CreateChaincodeAndInstallForUserResponse) FromJsonString ¶ added in v1.0.98
func (r *CreateChaincodeAndInstallForUserResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*CreateChaincodeAndInstallForUserResponse) ToJsonString ¶ added in v1.0.98
func (r *CreateChaincodeAndInstallForUserResponse) ToJsonString() string
type DeployDynamicBcosContractRequest ¶ added in v1.0.120
type DeployDynamicBcosContractRequest struct { *tchttp.BaseRequest // 网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 群组编号,可在群组列表中获取 GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // 合约编译后的ABI,可在合约详情获取 AbiInfo *string `json:"AbiInfo,omitempty" name:"AbiInfo"` // 合约编译得到的字节码,hex编码,可在合约详情获取 ByteCodeBin *string `json:"ByteCodeBin,omitempty" name:"ByteCodeBin"` // 签名用户编号,可在私钥管理页面获取 SignUserId *string `json:"SignUserId,omitempty" name:"SignUserId"` // 构造函数入参,Json数组,多个参数以逗号分隔(参数为数组时同理),如:["str1",["arr1","arr2"]] ConstructorParams *string `json:"ConstructorParams,omitempty" name:"ConstructorParams"` }
func NewDeployDynamicBcosContractRequest ¶ added in v1.0.120
func NewDeployDynamicBcosContractRequest() (request *DeployDynamicBcosContractRequest)
func (*DeployDynamicBcosContractRequest) FromJsonString ¶ added in v1.0.120
func (r *DeployDynamicBcosContractRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeployDynamicBcosContractRequest) ToJsonString ¶ added in v1.0.120
func (r *DeployDynamicBcosContractRequest) ToJsonString() string
type DeployDynamicBcosContractResponse ¶ added in v1.0.120
type DeployDynamicBcosContractResponse struct { *tchttp.BaseResponse Response *struct { // 部署成功返回的合约地址 ContractAddress *string `json:"ContractAddress,omitempty" name:"ContractAddress"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeployDynamicBcosContractResponse ¶ added in v1.0.120
func NewDeployDynamicBcosContractResponse() (response *DeployDynamicBcosContractResponse)
func (*DeployDynamicBcosContractResponse) FromJsonString ¶ added in v1.0.120
func (r *DeployDynamicBcosContractResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeployDynamicBcosContractResponse) ToJsonString ¶ added in v1.0.120
func (r *DeployDynamicBcosContractResponse) ToJsonString() string
type DeployDynamicContractHandlerRequest ¶
type DeployDynamicContractHandlerRequest struct { *tchttp.BaseRequest // 模块名,固定字段:contract Module *string `json:"Module,omitempty" name:"Module"` // 操作名,固定字段:deploy_dynamic_contract Operation *string `json:"Operation,omitempty" name:"Operation"` // 群组编号 GroupPk *string `json:"GroupPk,omitempty" name:"GroupPk"` // 合约名称 ContractName *string `json:"ContractName,omitempty" name:"ContractName"` // 合约编译后的abi AbiInfo *string `json:"AbiInfo,omitempty" name:"AbiInfo"` // 合约编译后的binary ByteCodeBin *string `json:"ByteCodeBin,omitempty" name:"ByteCodeBin"` // 构造函数入参 ConstructorParams []*string `json:"ConstructorParams,omitempty" name:"ConstructorParams" list` }
func NewDeployDynamicContractHandlerRequest ¶
func NewDeployDynamicContractHandlerRequest() (request *DeployDynamicContractHandlerRequest)
func (*DeployDynamicContractHandlerRequest) FromJsonString ¶
func (r *DeployDynamicContractHandlerRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeployDynamicContractHandlerRequest) ToJsonString ¶
func (r *DeployDynamicContractHandlerRequest) ToJsonString() string
type DeployDynamicContractHandlerResponse ¶
type DeployDynamicContractHandlerResponse struct { *tchttp.BaseResponse Response *struct { // 部署成功返回的合约地址 ContractAddress *string `json:"ContractAddress,omitempty" name:"ContractAddress"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDeployDynamicContractHandlerResponse ¶
func NewDeployDynamicContractHandlerResponse() (response *DeployDynamicContractHandlerResponse)
func (*DeployDynamicContractHandlerResponse) FromJsonString ¶
func (r *DeployDynamicContractHandlerResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DeployDynamicContractHandlerResponse) ToJsonString ¶
func (r *DeployDynamicContractHandlerResponse) ToJsonString() string
type DownloadUserCertRequest ¶
type DownloadUserCertRequest struct { *tchttp.BaseRequest // 模块名,固定字段:cert_mng Module *string `json:"Module,omitempty" name:"Module"` // 操作名,固定字段:cert_download_for_user Operation *string `json:"Operation,omitempty" name:"Operation"` // 证书ID,可以在证书详情页面获取 CertId *uint64 `json:"CertId,omitempty" name:"CertId"` // 证书DN,可以在证书详情页面获取 CertDn *string `json:"CertDn,omitempty" name:"CertDn"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 下载证书的组织名称,可以在组织管理列表中获取当前组织的名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` }
func NewDownloadUserCertRequest ¶
func NewDownloadUserCertRequest() (request *DownloadUserCertRequest)
func (*DownloadUserCertRequest) FromJsonString ¶
func (r *DownloadUserCertRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadUserCertRequest) ToJsonString ¶
func (r *DownloadUserCertRequest) ToJsonString() string
type DownloadUserCertResponse ¶
type DownloadUserCertResponse struct { *tchttp.BaseResponse Response *struct { // 证书名称 CertName *string `json:"CertName,omitempty" name:"CertName"` // 证书内容 CertCtx *string `json:"CertCtx,omitempty" name:"CertCtx"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewDownloadUserCertResponse ¶
func NewDownloadUserCertResponse() (response *DownloadUserCertResponse)
func (*DownloadUserCertResponse) FromJsonString ¶
func (r *DownloadUserCertResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*DownloadUserCertResponse) ToJsonString ¶
func (r *DownloadUserCertResponse) ToJsonString() string
type EndorserGroup ¶
type GetBcosBlockByNumberRequest ¶ added in v1.0.120
type GetBcosBlockByNumberRequest struct { *tchttp.BaseRequest // 网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 群组编号,可在群组列表中获取 GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // 区块高度,可以从InvokeBcosTrans接口的返回值中解析获取 BlockNumber *int64 `json:"BlockNumber,omitempty" name:"BlockNumber"` }
func NewGetBcosBlockByNumberRequest ¶ added in v1.0.120
func NewGetBcosBlockByNumberRequest() (request *GetBcosBlockByNumberRequest)
func (*GetBcosBlockByNumberRequest) FromJsonString ¶ added in v1.0.120
func (r *GetBcosBlockByNumberRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetBcosBlockByNumberRequest) ToJsonString ¶ added in v1.0.120
func (r *GetBcosBlockByNumberRequest) ToJsonString() string
type GetBcosBlockByNumberResponse ¶ added in v1.0.120
type GetBcosBlockByNumberResponse struct { *tchttp.BaseResponse Response *struct { // 返回区块json字符串 BlockJson *string `json:"BlockJson,omitempty" name:"BlockJson"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetBcosBlockByNumberResponse ¶ added in v1.0.120
func NewGetBcosBlockByNumberResponse() (response *GetBcosBlockByNumberResponse)
func (*GetBcosBlockByNumberResponse) FromJsonString ¶ added in v1.0.120
func (r *GetBcosBlockByNumberResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetBcosBlockByNumberResponse) ToJsonString ¶ added in v1.0.120
func (r *GetBcosBlockByNumberResponse) ToJsonString() string
type GetBcosBlockListRequest ¶ added in v1.0.120
type GetBcosBlockListRequest struct { *tchttp.BaseRequest // 网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 群组编号,可在群组列表中获取 GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // 当前页数,默认为1 PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` // 每页记录数,默认为10 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // 区块高度,可以从InvokeBcosTrans接口的返回值中解析获取 BlockNumber *int64 `json:"BlockNumber,omitempty" name:"BlockNumber"` // 区块哈希,可以从InvokeBcosTrans接口的返回值中解析获取 BlockHash *string `json:"BlockHash,omitempty" name:"BlockHash"` }
func NewGetBcosBlockListRequest ¶ added in v1.0.120
func NewGetBcosBlockListRequest() (request *GetBcosBlockListRequest)
func (*GetBcosBlockListRequest) FromJsonString ¶ added in v1.0.120
func (r *GetBcosBlockListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetBcosBlockListRequest) ToJsonString ¶ added in v1.0.120
func (r *GetBcosBlockListRequest) ToJsonString() string
type GetBcosBlockListResponse ¶ added in v1.0.120
type GetBcosBlockListResponse struct { *tchttp.BaseResponse Response *struct { // 总记录数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 返回数据列表 List []*BcosBlockObj `json:"List,omitempty" name:"List" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetBcosBlockListResponse ¶ added in v1.0.120
func NewGetBcosBlockListResponse() (response *GetBcosBlockListResponse)
func (*GetBcosBlockListResponse) FromJsonString ¶ added in v1.0.120
func (r *GetBcosBlockListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetBcosBlockListResponse) ToJsonString ¶ added in v1.0.120
func (r *GetBcosBlockListResponse) ToJsonString() string
type GetBcosTransByHashRequest ¶ added in v1.0.120
type GetBcosTransByHashRequest struct { *tchttp.BaseRequest // 网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 群组编号,可在群组列表中获取 GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // 交易哈希值,可以从InvokeBcosTrans接口的返回值中解析获取 TransHash *string `json:"TransHash,omitempty" name:"TransHash"` }
func NewGetBcosTransByHashRequest ¶ added in v1.0.120
func NewGetBcosTransByHashRequest() (request *GetBcosTransByHashRequest)
func (*GetBcosTransByHashRequest) FromJsonString ¶ added in v1.0.120
func (r *GetBcosTransByHashRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetBcosTransByHashRequest) ToJsonString ¶ added in v1.0.120
func (r *GetBcosTransByHashRequest) ToJsonString() string
type GetBcosTransByHashResponse ¶ added in v1.0.120
type GetBcosTransByHashResponse struct { *tchttp.BaseResponse Response *struct { // 交易信息json字符串 TransactionJson *string `json:"TransactionJson,omitempty" name:"TransactionJson"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetBcosTransByHashResponse ¶ added in v1.0.120
func NewGetBcosTransByHashResponse() (response *GetBcosTransByHashResponse)
func (*GetBcosTransByHashResponse) FromJsonString ¶ added in v1.0.120
func (r *GetBcosTransByHashResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetBcosTransByHashResponse) ToJsonString ¶ added in v1.0.120
func (r *GetBcosTransByHashResponse) ToJsonString() string
type GetBcosTransListRequest ¶ added in v1.0.120
type GetBcosTransListRequest struct { *tchttp.BaseRequest // 网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 群组编号,可在群组列表中获取 GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // 当前页数,默认是1 PageNumber *int64 `json:"PageNumber,omitempty" name:"PageNumber"` // 每页记录数,默认为10 PageSize *int64 `json:"PageSize,omitempty" name:"PageSize"` // 区块高度,可以从InvokeBcosTrans接口的返回值中解析获取 BlockNumber *int64 `json:"BlockNumber,omitempty" name:"BlockNumber"` // 交易哈希,可以从InvokeBcosTrans接口的返回值中解析获取 TransHash *string `json:"TransHash,omitempty" name:"TransHash"` }
func NewGetBcosTransListRequest ¶ added in v1.0.120
func NewGetBcosTransListRequest() (request *GetBcosTransListRequest)
func (*GetBcosTransListRequest) FromJsonString ¶ added in v1.0.120
func (r *GetBcosTransListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetBcosTransListRequest) ToJsonString ¶ added in v1.0.120
func (r *GetBcosTransListRequest) ToJsonString() string
type GetBcosTransListResponse ¶ added in v1.0.120
type GetBcosTransListResponse struct { *tchttp.BaseResponse Response *struct { // 总记录数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 返回数据列表 List []*BcosTransInfo `json:"List,omitempty" name:"List" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetBcosTransListResponse ¶ added in v1.0.120
func NewGetBcosTransListResponse() (response *GetBcosTransListResponse)
func (*GetBcosTransListResponse) FromJsonString ¶ added in v1.0.120
func (r *GetBcosTransListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetBcosTransListResponse) ToJsonString ¶ added in v1.0.120
func (r *GetBcosTransListResponse) ToJsonString() string
type GetBlockListHandlerRequest ¶
type GetBlockListHandlerRequest struct { *tchttp.BaseRequest // 模块名,固定字段:block Module *string `json:"Module,omitempty" name:"Module"` // 操作名,固定字段:get_block_list Operation *string `json:"Operation,omitempty" name:"Operation"` // 记录偏移数 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 每页记录数 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 当前群组编号 GroupPk *string `json:"GroupPk,omitempty" name:"GroupPk"` // 区块哈希 BlockHash *string `json:"BlockHash,omitempty" name:"BlockHash"` }
func NewGetBlockListHandlerRequest ¶
func NewGetBlockListHandlerRequest() (request *GetBlockListHandlerRequest)
func (*GetBlockListHandlerRequest) FromJsonString ¶
func (r *GetBlockListHandlerRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetBlockListHandlerRequest) ToJsonString ¶
func (r *GetBlockListHandlerRequest) ToJsonString() string
type GetBlockListHandlerResponse ¶
type GetBlockListHandlerResponse struct { *tchttp.BaseResponse Response *struct { // 总记录数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 当前群组编号 GroupPk *string `json:"GroupPk,omitempty" name:"GroupPk"` // 返回数据列表 List []*BcosBlockObj `json:"List,omitempty" name:"List" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetBlockListHandlerResponse ¶
func NewGetBlockListHandlerResponse() (response *GetBlockListHandlerResponse)
func (*GetBlockListHandlerResponse) FromJsonString ¶
func (r *GetBlockListHandlerResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetBlockListHandlerResponse) ToJsonString ¶
func (r *GetBlockListHandlerResponse) ToJsonString() string
type GetBlockListRequest ¶
type GetBlockListRequest struct { *tchttp.BaseRequest // 模块名称,固定字段:block Module *string `json:"Module,omitempty" name:"Module"` // 操作名称,固定字段:block_list Operation *string `json:"Operation,omitempty" name:"Operation"` // 通道ID,固定字段:0 ChannelId *uint64 `json:"ChannelId,omitempty" name:"ChannelId"` // 组织ID,固定字段:0 GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // 需要查询的通道名称,可在通道详情或列表中获取 ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // 调用接口的组织名称,可以在组织管理列表中获取当前组织的名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 需要获取的起始交易偏移 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 需要获取的交易数量 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewGetBlockListRequest ¶
func NewGetBlockListRequest() (request *GetBlockListRequest)
func (*GetBlockListRequest) FromJsonString ¶
func (r *GetBlockListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetBlockListRequest) ToJsonString ¶
func (r *GetBlockListRequest) ToJsonString() string
type GetBlockListResponse ¶
type GetBlockListResponse struct { *tchttp.BaseResponse Response *struct { // 区块数量 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 区块列表 BlockList []*Block `json:"BlockList,omitempty" name:"BlockList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetBlockListResponse ¶
func NewGetBlockListResponse() (response *GetBlockListResponse)
func (*GetBlockListResponse) FromJsonString ¶
func (r *GetBlockListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetBlockListResponse) ToJsonString ¶
func (r *GetBlockListResponse) ToJsonString() string
type GetBlockTransactionListForUserRequest ¶
type GetBlockTransactionListForUserRequest struct { *tchttp.BaseRequest // 模块名,固定字段:transaction Module *string `json:"Module,omitempty" name:"Module"` // 操作名,固定字段:block_transaction_list_for_user Operation *string `json:"Operation,omitempty" name:"Operation"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 参与交易的组织名称,可以在组织管理列表中获取当前组织的名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 业务所属通道名称,可在通道详情或列表中获取 ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // 区块ID,通过GetInvokeTx接口可以获取交易所在的区块ID BlockId *uint64 `json:"BlockId,omitempty" name:"BlockId"` // 查询的交易列表起始偏移地址 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 查询的交易列表数量 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewGetBlockTransactionListForUserRequest ¶
func NewGetBlockTransactionListForUserRequest() (request *GetBlockTransactionListForUserRequest)
func (*GetBlockTransactionListForUserRequest) FromJsonString ¶
func (r *GetBlockTransactionListForUserRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetBlockTransactionListForUserRequest) ToJsonString ¶
func (r *GetBlockTransactionListForUserRequest) ToJsonString() string
type GetBlockTransactionListForUserResponse ¶
type GetBlockTransactionListForUserResponse struct { *tchttp.BaseResponse Response *struct { // 交易总数量 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 交易列表 TransactionList []*TransactionItem `json:"TransactionList,omitempty" name:"TransactionList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetBlockTransactionListForUserResponse ¶
func NewGetBlockTransactionListForUserResponse() (response *GetBlockTransactionListForUserResponse)
func (*GetBlockTransactionListForUserResponse) FromJsonString ¶
func (r *GetBlockTransactionListForUserResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetBlockTransactionListForUserResponse) ToJsonString ¶
func (r *GetBlockTransactionListForUserResponse) ToJsonString() string
type GetChaincodeCompileLogForUserRequest ¶ added in v1.0.98
type GetChaincodeCompileLogForUserRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:chaincode_mng Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:chaincode_compile_log_for_user Operation *string `json:"Operation,omitempty" name:"Operation"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 调用合约的组织名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 业务所属智能合约名称 ChaincodeName *string `json:"ChaincodeName,omitempty" name:"ChaincodeName"` // 业务所属智能合约版本 ChaincodeVersion *string `json:"ChaincodeVersion,omitempty" name:"ChaincodeVersion"` // 合约安装节点名称,可以在通道详情中获取该通道上的节点名称 PeerName *string `json:"PeerName,omitempty" name:"PeerName"` // 返回数据项数,本接口默认取值:10 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 返回数据起始偏移,本接口默认取值:0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewGetChaincodeCompileLogForUserRequest ¶ added in v1.0.98
func NewGetChaincodeCompileLogForUserRequest() (request *GetChaincodeCompileLogForUserRequest)
func (*GetChaincodeCompileLogForUserRequest) FromJsonString ¶ added in v1.0.98
func (r *GetChaincodeCompileLogForUserRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetChaincodeCompileLogForUserRequest) ToJsonString ¶ added in v1.0.98
func (r *GetChaincodeCompileLogForUserRequest) ToJsonString() string
type GetChaincodeCompileLogForUserResponse ¶ added in v1.0.98
type GetChaincodeCompileLogForUserResponse struct { *tchttp.BaseResponse Response *struct { // 日志总行数,上限2000条日志 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 日志列表 CompileLogList []*LogDetailForUser `json:"CompileLogList,omitempty" name:"CompileLogList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetChaincodeCompileLogForUserResponse ¶ added in v1.0.98
func NewGetChaincodeCompileLogForUserResponse() (response *GetChaincodeCompileLogForUserResponse)
func (*GetChaincodeCompileLogForUserResponse) FromJsonString ¶ added in v1.0.98
func (r *GetChaincodeCompileLogForUserResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetChaincodeCompileLogForUserResponse) ToJsonString ¶ added in v1.0.98
func (r *GetChaincodeCompileLogForUserResponse) ToJsonString() string
type GetChaincodeInitializeResultForUserRequest ¶ added in v1.0.98
type GetChaincodeInitializeResultForUserRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:chaincode_mng Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:chaincode_init_result_for_user Operation *string `json:"Operation,omitempty" name:"Operation"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 调用合约的组织名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 业务所属通道名称 ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // 业务所属合约名称 ChaincodeName *string `json:"ChaincodeName,omitempty" name:"ChaincodeName"` // 业务所属智能合约版本 ChaincodeVersion *string `json:"ChaincodeVersion,omitempty" name:"ChaincodeVersion"` // 实例化任务ID TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` }
func NewGetChaincodeInitializeResultForUserRequest ¶ added in v1.0.98
func NewGetChaincodeInitializeResultForUserRequest() (request *GetChaincodeInitializeResultForUserRequest)
func (*GetChaincodeInitializeResultForUserRequest) FromJsonString ¶ added in v1.0.98
func (r *GetChaincodeInitializeResultForUserRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetChaincodeInitializeResultForUserRequest) ToJsonString ¶ added in v1.0.98
func (r *GetChaincodeInitializeResultForUserRequest) ToJsonString() string
type GetChaincodeInitializeResultForUserResponse ¶ added in v1.0.98
type GetChaincodeInitializeResultForUserResponse struct { *tchttp.BaseResponse Response *struct { // 实例化结果:0,实例化中;1,实例化成功;2,实例化失败 InitResult *uint64 `json:"InitResult,omitempty" name:"InitResult"` // 实例化信息 InitMessage *string `json:"InitMessage,omitempty" name:"InitMessage"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetChaincodeInitializeResultForUserResponse ¶ added in v1.0.98
func NewGetChaincodeInitializeResultForUserResponse() (response *GetChaincodeInitializeResultForUserResponse)
func (*GetChaincodeInitializeResultForUserResponse) FromJsonString ¶ added in v1.0.98
func (r *GetChaincodeInitializeResultForUserResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetChaincodeInitializeResultForUserResponse) ToJsonString ¶ added in v1.0.98
func (r *GetChaincodeInitializeResultForUserResponse) ToJsonString() string
type GetChaincodeLogForUserRequest ¶ added in v1.0.98
type GetChaincodeLogForUserRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:chaincode_mng Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:chaincode_log_for_user Operation *string `json:"Operation,omitempty" name:"Operation"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 调用合约的组织名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 业务所属智能合约名称 ChaincodeName *string `json:"ChaincodeName,omitempty" name:"ChaincodeName"` // 业务所属智能合约版本 ChaincodeVersion *string `json:"ChaincodeVersion,omitempty" name:"ChaincodeVersion"` // 合约安装节点名称,可以在通道详情中获取该通道上的节点名称 PeerName *string `json:"PeerName,omitempty" name:"PeerName"` // 日志开始时间,如"2020-11-24 19:49:25" BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 返回日志行数的最大值,系统设定该参数最大为1000,且一行日志的最大字节数是500,即最大返回50万个字节数的日志数据 RowNum *int64 `json:"RowNum,omitempty" name:"RowNum"` }
func NewGetChaincodeLogForUserRequest ¶ added in v1.0.98
func NewGetChaincodeLogForUserRequest() (request *GetChaincodeLogForUserRequest)
func (*GetChaincodeLogForUserRequest) FromJsonString ¶ added in v1.0.98
func (r *GetChaincodeLogForUserRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetChaincodeLogForUserRequest) ToJsonString ¶ added in v1.0.98
func (r *GetChaincodeLogForUserRequest) ToJsonString() string
type GetChaincodeLogForUserResponse ¶ added in v1.0.98
type GetChaincodeLogForUserResponse struct { *tchttp.BaseResponse Response *struct { // 返回日志总行数,不会超过入参的RowNum TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 日志列表 ChaincodeLogList []*LogDetailForUser `json:"ChaincodeLogList,omitempty" name:"ChaincodeLogList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetChaincodeLogForUserResponse ¶ added in v1.0.98
func NewGetChaincodeLogForUserResponse() (response *GetChaincodeLogForUserResponse)
func (*GetChaincodeLogForUserResponse) FromJsonString ¶ added in v1.0.98
func (r *GetChaincodeLogForUserResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetChaincodeLogForUserResponse) ToJsonString ¶ added in v1.0.98
func (r *GetChaincodeLogForUserResponse) ToJsonString() string
type GetChannelListForUserRequest ¶ added in v1.0.98
type GetChannelListForUserRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:channel_mng Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:channel_list_for_user Operation *string `json:"Operation,omitempty" name:"Operation"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 组织名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 返回数据项数,本接口默认取值:10,上限取值:20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 返回数据起始偏移,本接口默认取值:0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewGetChannelListForUserRequest ¶ added in v1.0.98
func NewGetChannelListForUserRequest() (request *GetChannelListForUserRequest)
func (*GetChannelListForUserRequest) FromJsonString ¶ added in v1.0.98
func (r *GetChannelListForUserRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetChannelListForUserRequest) ToJsonString ¶ added in v1.0.98
func (r *GetChannelListForUserRequest) ToJsonString() string
type GetChannelListForUserResponse ¶ added in v1.0.98
type GetChannelListForUserResponse struct { *tchttp.BaseResponse Response *struct { // 通道总数量 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 通道列表 ChannelList []*ChannelDetailForUser `json:"ChannelList,omitempty" name:"ChannelList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetChannelListForUserResponse ¶ added in v1.0.98
func NewGetChannelListForUserResponse() (response *GetChannelListForUserResponse)
func (*GetChannelListForUserResponse) FromJsonString ¶ added in v1.0.98
func (r *GetChannelListForUserResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetChannelListForUserResponse) ToJsonString ¶ added in v1.0.98
func (r *GetChannelListForUserResponse) ToJsonString() string
type GetClusterListForUserRequest ¶ added in v1.0.98
type GetClusterListForUserRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:cluster_mng Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:cluster_list_for_user Operation *string `json:"Operation,omitempty" name:"Operation"` // 返回数据项数,本接口默认取值:10,上限取值:20 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` // 返回数据起始偏移,本接口默认取值:0 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` }
func NewGetClusterListForUserRequest ¶ added in v1.0.98
func NewGetClusterListForUserRequest() (request *GetClusterListForUserRequest)
func (*GetClusterListForUserRequest) FromJsonString ¶ added in v1.0.98
func (r *GetClusterListForUserRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetClusterListForUserRequest) ToJsonString ¶ added in v1.0.98
func (r *GetClusterListForUserRequest) ToJsonString() string
type GetClusterListForUserResponse ¶ added in v1.0.98
type GetClusterListForUserResponse struct { *tchttp.BaseResponse Response *struct { // 网络总数量 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 网络列表 ClusterList []*ClusterDetailForUser `json:"ClusterList,omitempty" name:"ClusterList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetClusterListForUserResponse ¶ added in v1.0.98
func NewGetClusterListForUserResponse() (response *GetClusterListForUserResponse)
func (*GetClusterListForUserResponse) FromJsonString ¶ added in v1.0.98
func (r *GetClusterListForUserResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetClusterListForUserResponse) ToJsonString ¶ added in v1.0.98
func (r *GetClusterListForUserResponse) ToJsonString() string
type GetClusterSummaryRequest ¶
type GetClusterSummaryRequest struct { *tchttp.BaseRequest // 模块名称,固定字段:cluster_mng Module *string `json:"Module,omitempty" name:"Module"` // 操作名称,固定字段:cluster_summary Operation *string `json:"Operation,omitempty" name:"Operation"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 组织ID,固定字段:0 GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // 调用接口的组织名称,可以在组织管理列表中获取当前组织的名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` }
func NewGetClusterSummaryRequest ¶
func NewGetClusterSummaryRequest() (request *GetClusterSummaryRequest)
func (*GetClusterSummaryRequest) FromJsonString ¶
func (r *GetClusterSummaryRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetClusterSummaryRequest) ToJsonString ¶
func (r *GetClusterSummaryRequest) ToJsonString() string
type GetClusterSummaryResponse ¶
type GetClusterSummaryResponse struct { *tchttp.BaseResponse Response *struct { // 网络通道总数量 TotalChannelCount *uint64 `json:"TotalChannelCount,omitempty" name:"TotalChannelCount"` // 当前组织创建的通道数量 MyChannelCount *uint64 `json:"MyChannelCount,omitempty" name:"MyChannelCount"` // 当前组织加入的通道数量 JoinChannelCount *uint64 `json:"JoinChannelCount,omitempty" name:"JoinChannelCount"` // 网络节点总数量 TotalPeerCount *uint64 `json:"TotalPeerCount,omitempty" name:"TotalPeerCount"` // 当前组织创建的节点数量 MyPeerCount *uint64 `json:"MyPeerCount,omitempty" name:"MyPeerCount"` // 其他组织创建的节点数量 OrderCount *uint64 `json:"OrderCount,omitempty" name:"OrderCount"` // 网络组织总数量 TotalGroupCount *uint64 `json:"TotalGroupCount,omitempty" name:"TotalGroupCount"` // 当前组织创建的组织数量 MyGroupCount *uint64 `json:"MyGroupCount,omitempty" name:"MyGroupCount"` // 网络智能合约总数量 TotalChaincodeCount *uint64 `json:"TotalChaincodeCount,omitempty" name:"TotalChaincodeCount"` // 最近7天发起的智能合约数量 RecentChaincodeCount *uint64 `json:"RecentChaincodeCount,omitempty" name:"RecentChaincodeCount"` // 当前组织发起的智能合约数量 MyChaincodeCount *uint64 `json:"MyChaincodeCount,omitempty" name:"MyChaincodeCount"` // 当前组织的证书总数量 TotalCertCount *uint64 `json:"TotalCertCount,omitempty" name:"TotalCertCount"` // 颁发给当前组织的证书数量 TlsCertCount *uint64 `json:"TlsCertCount,omitempty" name:"TlsCertCount"` // 网络背书节点证书数量 PeerCertCount *uint64 `json:"PeerCertCount,omitempty" name:"PeerCertCount"` // 当前组织业务证书数量 ClientCertCount *uint64 `json:"ClientCertCount,omitempty" name:"ClientCertCount"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetClusterSummaryResponse ¶
func NewGetClusterSummaryResponse() (response *GetClusterSummaryResponse)
func (*GetClusterSummaryResponse) FromJsonString ¶
func (r *GetClusterSummaryResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetClusterSummaryResponse) ToJsonString ¶
func (r *GetClusterSummaryResponse) ToJsonString() string
type GetInvokeTxRequest ¶
type GetInvokeTxRequest struct { *tchttp.BaseRequest // 模块名,固定字段:transaction Module *string `json:"Module,omitempty" name:"Module"` // 操作名,固定字段:query_txid Operation *string `json:"Operation,omitempty" name:"Operation"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 业务所属通道名称,可在通道详情或列表中获取 ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // 执行该查询交易的节点名称,可以在通道详情中获取该通道上的节点名称极其所属组织名称 PeerName *string `json:"PeerName,omitempty" name:"PeerName"` // 执行该查询交易的节点所属组织名称,可以在通道详情中获取该通道上的节点名称极其所属组织名称 PeerGroup *string `json:"PeerGroup,omitempty" name:"PeerGroup"` // 交易ID TxId *string `json:"TxId,omitempty" name:"TxId"` // 调用合约的组织名称,可以在组织管理列表中获取当前组织的名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` }
func NewGetInvokeTxRequest ¶
func NewGetInvokeTxRequest() (request *GetInvokeTxRequest)
func (*GetInvokeTxRequest) FromJsonString ¶
func (r *GetInvokeTxRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetInvokeTxRequest) ToJsonString ¶
func (r *GetInvokeTxRequest) ToJsonString() string
type GetInvokeTxResponse ¶
type GetInvokeTxResponse struct { *tchttp.BaseResponse Response *struct { // 交易执行状态码 TxValidationCode *int64 `json:"TxValidationCode,omitempty" name:"TxValidationCode"` // 交易执行消息 TxValidationMsg *string `json:"TxValidationMsg,omitempty" name:"TxValidationMsg"` // 交易所在区块ID BlockId *int64 `json:"BlockId,omitempty" name:"BlockId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetInvokeTxResponse ¶
func NewGetInvokeTxResponse() (response *GetInvokeTxResponse)
func (*GetInvokeTxResponse) FromJsonString ¶
func (r *GetInvokeTxResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetInvokeTxResponse) ToJsonString ¶
func (r *GetInvokeTxResponse) ToJsonString() string
type GetLatesdTransactionListRequest ¶
type GetLatesdTransactionListRequest struct { *tchttp.BaseRequest // 模块名称,固定字段:transaction Module *string `json:"Module,omitempty" name:"Module"` // 操作名称,固定字段:latest_transaction_list Operation *string `json:"Operation,omitempty" name:"Operation"` // 组织ID,固定字段:0 GroupId *uint64 `json:"GroupId,omitempty" name:"GroupId"` // 通道ID,固定字段:0 ChannelId *uint64 `json:"ChannelId,omitempty" name:"ChannelId"` // 获取的最新交易的区块数量,取值范围1~5 LatestBlockNumber *uint64 `json:"LatestBlockNumber,omitempty" name:"LatestBlockNumber"` // 调用接口的组织名称,可以在组织管理列表中获取当前组织的名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 需要查询的通道名称,可在通道详情或列表中获取 ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 需要获取的起始交易偏移 Offset *uint64 `json:"Offset,omitempty" name:"Offset"` // 需要获取的交易数量 Limit *uint64 `json:"Limit,omitempty" name:"Limit"` }
func NewGetLatesdTransactionListRequest ¶
func NewGetLatesdTransactionListRequest() (request *GetLatesdTransactionListRequest)
func (*GetLatesdTransactionListRequest) FromJsonString ¶
func (r *GetLatesdTransactionListRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetLatesdTransactionListRequest) ToJsonString ¶
func (r *GetLatesdTransactionListRequest) ToJsonString() string
type GetLatesdTransactionListResponse ¶
type GetLatesdTransactionListResponse struct { *tchttp.BaseResponse Response *struct { // 交易总数量 TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 交易列表 TransactionList []*TransactionItem `json:"TransactionList,omitempty" name:"TransactionList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetLatesdTransactionListResponse ¶
func NewGetLatesdTransactionListResponse() (response *GetLatesdTransactionListResponse)
func (*GetLatesdTransactionListResponse) FromJsonString ¶
func (r *GetLatesdTransactionListResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetLatesdTransactionListResponse) ToJsonString ¶
func (r *GetLatesdTransactionListResponse) ToJsonString() string
type GetPeerLogForUserRequest ¶ added in v1.0.98
type GetPeerLogForUserRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:peer_mng Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:peer_log_for_user Operation *string `json:"Operation,omitempty" name:"Operation"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 调用合约的组织名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 节点名称 PeerName *string `json:"PeerName,omitempty" name:"PeerName"` // 日志开始时间,如"2020-11-24 19:49:25" BeginTime *string `json:"BeginTime,omitempty" name:"BeginTime"` // 返回日志行数的最大值,系统设定该参数最大为1000,且一行日志的最大字节数是500,即最大返回50万个字节数的日志数据 RowNum *int64 `json:"RowNum,omitempty" name:"RowNum"` }
func NewGetPeerLogForUserRequest ¶ added in v1.0.98
func NewGetPeerLogForUserRequest() (request *GetPeerLogForUserRequest)
func (*GetPeerLogForUserRequest) FromJsonString ¶ added in v1.0.98
func (r *GetPeerLogForUserRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetPeerLogForUserRequest) ToJsonString ¶ added in v1.0.98
func (r *GetPeerLogForUserRequest) ToJsonString() string
type GetPeerLogForUserResponse ¶ added in v1.0.98
type GetPeerLogForUserResponse struct { *tchttp.BaseResponse Response *struct { // 返回日志总行数,不会超过入参的RowNum TotalCount *uint64 `json:"TotalCount,omitempty" name:"TotalCount"` // 日志列表 PeerLogList []*LogDetailForUser `json:"PeerLogList,omitempty" name:"PeerLogList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetPeerLogForUserResponse ¶ added in v1.0.98
func NewGetPeerLogForUserResponse() (response *GetPeerLogForUserResponse)
func (*GetPeerLogForUserResponse) FromJsonString ¶ added in v1.0.98
func (r *GetPeerLogForUserResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetPeerLogForUserResponse) ToJsonString ¶ added in v1.0.98
func (r *GetPeerLogForUserResponse) ToJsonString() string
type GetTransByHashHandlerRequest ¶
type GetTransByHashHandlerRequest struct { *tchttp.BaseRequest // 模块名,固定字段:transaction Module *string `json:"Module,omitempty" name:"Module"` // 操作名,固定字段:get_trans_by_hash Operation *string `json:"Operation,omitempty" name:"Operation"` // 群组编号 GroupPk *string `json:"GroupPk,omitempty" name:"GroupPk"` // 交易哈希 TransHash *string `json:"TransHash,omitempty" name:"TransHash"` }
func NewGetTransByHashHandlerRequest ¶
func NewGetTransByHashHandlerRequest() (request *GetTransByHashHandlerRequest)
func (*GetTransByHashHandlerRequest) FromJsonString ¶
func (r *GetTransByHashHandlerRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTransByHashHandlerRequest) ToJsonString ¶
func (r *GetTransByHashHandlerRequest) ToJsonString() string
type GetTransByHashHandlerResponse ¶
type GetTransByHashHandlerResponse struct { *tchttp.BaseResponse Response *struct { // 交易信息json字符串 TransactionJson *string `json:"TransactionJson,omitempty" name:"TransactionJson"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetTransByHashHandlerResponse ¶
func NewGetTransByHashHandlerResponse() (response *GetTransByHashHandlerResponse)
func (*GetTransByHashHandlerResponse) FromJsonString ¶
func (r *GetTransByHashHandlerResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTransByHashHandlerResponse) ToJsonString ¶
func (r *GetTransByHashHandlerResponse) ToJsonString() string
type GetTransListHandlerRequest ¶
type GetTransListHandlerRequest struct { *tchttp.BaseRequest // 模块名,固定字段:transaction Module *string `json:"Module,omitempty" name:"Module"` // 操作名,固定字段:get_trans_list Operation *string `json:"Operation,omitempty" name:"Operation"` // 记录偏移量 Offset *int64 `json:"Offset,omitempty" name:"Offset"` // 每页记录数 Limit *int64 `json:"Limit,omitempty" name:"Limit"` // 群组编号 GroupPk *string `json:"GroupPk,omitempty" name:"GroupPk"` // 交易哈希 TransHash *string `json:"TransHash,omitempty" name:"TransHash"` }
func NewGetTransListHandlerRequest ¶
func NewGetTransListHandlerRequest() (request *GetTransListHandlerRequest)
func (*GetTransListHandlerRequest) FromJsonString ¶
func (r *GetTransListHandlerRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTransListHandlerRequest) ToJsonString ¶
func (r *GetTransListHandlerRequest) ToJsonString() string
type GetTransListHandlerResponse ¶
type GetTransListHandlerResponse struct { *tchttp.BaseResponse Response *struct { // 总记录数 TotalCount *int64 `json:"TotalCount,omitempty" name:"TotalCount"` // 当前群组编号 GroupPk *string `json:"GroupPk,omitempty" name:"GroupPk"` // 返回数据列表 List []*BcosTransInfo `json:"List,omitempty" name:"List" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetTransListHandlerResponse ¶
func NewGetTransListHandlerResponse() (response *GetTransListHandlerResponse)
func (*GetTransListHandlerResponse) FromJsonString ¶
func (r *GetTransListHandlerResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTransListHandlerResponse) ToJsonString ¶
func (r *GetTransListHandlerResponse) ToJsonString() string
type GetTransactionDetailForUserRequest ¶
type GetTransactionDetailForUserRequest struct { *tchttp.BaseRequest // 模块名,固定字段:transaction Module *string `json:"Module,omitempty" name:"Module"` // 操作名,固定字段:transaction_detail_for_user Operation *string `json:"Operation,omitempty" name:"Operation"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 参与交易的组织名称,可以在组织管理列表中获取当前组织的名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 业务所属通道名称,可在通道详情或列表中获取 ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // 区块ID,通过GetInvokeTx接口可以获取交易所在的区块ID BlockId *uint64 `json:"BlockId,omitempty" name:"BlockId"` // 交易ID,需要查询的详情的交易ID TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"` }
func NewGetTransactionDetailForUserRequest ¶
func NewGetTransactionDetailForUserRequest() (request *GetTransactionDetailForUserRequest)
func (*GetTransactionDetailForUserRequest) FromJsonString ¶
func (r *GetTransactionDetailForUserRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTransactionDetailForUserRequest) ToJsonString ¶
func (r *GetTransactionDetailForUserRequest) ToJsonString() string
type GetTransactionDetailForUserResponse ¶
type GetTransactionDetailForUserResponse struct { *tchttp.BaseResponse Response *struct { // 交易ID TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"` // 交易hash TransactionHash *string `json:"TransactionHash,omitempty" name:"TransactionHash"` // 创建交易的组织名 CreateOrgName *string `json:"CreateOrgName,omitempty" name:"CreateOrgName"` // 交易类型(普通交易和配置交易) TransactionType *string `json:"TransactionType,omitempty" name:"TransactionType"` // 交易状态 TransactionStatus *string `json:"TransactionStatus,omitempty" name:"TransactionStatus"` // 交易创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 交易数据 TransactionData *string `json:"TransactionData,omitempty" name:"TransactionData"` // 交易所在区块号 BlockId *uint64 `json:"BlockId,omitempty" name:"BlockId"` // 交易所在区块哈希 BlockHash *string `json:"BlockHash,omitempty" name:"BlockHash"` // 交易所在区块高度 BlockHeight *uint64 `json:"BlockHeight,omitempty" name:"BlockHeight"` // 通道名称 ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // 交易所在合约名称 ContractName *string `json:"ContractName,omitempty" name:"ContractName"` // 背书组织列表 EndorserOrgList []*EndorserGroup `json:"EndorserOrgList,omitempty" name:"EndorserOrgList" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewGetTransactionDetailForUserResponse ¶
func NewGetTransactionDetailForUserResponse() (response *GetTransactionDetailForUserResponse)
func (*GetTransactionDetailForUserResponse) FromJsonString ¶
func (r *GetTransactionDetailForUserResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*GetTransactionDetailForUserResponse) ToJsonString ¶
func (r *GetTransactionDetailForUserResponse) ToJsonString() string
type GroupDetailForUser ¶ added in v1.0.98
type InitializeChaincodeForUserRequest ¶ added in v1.0.98
type InitializeChaincodeForUserRequest struct { *tchttp.BaseRequest // 模块名,本接口取值:chaincode_mng Module *string `json:"Module,omitempty" name:"Module"` // 操作名,本接口取值:chaincode_init_for_user Operation *string `json:"Operation,omitempty" name:"Operation"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 调用合约的组织名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 业务所属智能合约名称 ChaincodeName *string `json:"ChaincodeName,omitempty" name:"ChaincodeName"` // 业务所属智能合约版本 ChaincodeVersion *string `json:"ChaincodeVersion,omitempty" name:"ChaincodeVersion"` // 业务所属通道名称 ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // 合约实例化节点名称,可以在通道详情中获取该通道上的节点名称 PeerName *string `json:"PeerName,omitempty" name:"PeerName"` // 实例化的函数参数列表 Args []*string `json:"Args,omitempty" name:"Args" list` }
func NewInitializeChaincodeForUserRequest ¶ added in v1.0.98
func NewInitializeChaincodeForUserRequest() (request *InitializeChaincodeForUserRequest)
func (*InitializeChaincodeForUserRequest) FromJsonString ¶ added in v1.0.98
func (r *InitializeChaincodeForUserRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InitializeChaincodeForUserRequest) ToJsonString ¶ added in v1.0.98
func (r *InitializeChaincodeForUserRequest) ToJsonString() string
type InitializeChaincodeForUserResponse ¶ added in v1.0.98
type InitializeChaincodeForUserResponse struct { *tchttp.BaseResponse Response *struct { // 实例化任务ID,用于查询实例化结果 TaskId *uint64 `json:"TaskId,omitempty" name:"TaskId"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInitializeChaincodeForUserResponse ¶ added in v1.0.98
func NewInitializeChaincodeForUserResponse() (response *InitializeChaincodeForUserResponse)
func (*InitializeChaincodeForUserResponse) FromJsonString ¶ added in v1.0.98
func (r *InitializeChaincodeForUserResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InitializeChaincodeForUserResponse) ToJsonString ¶ added in v1.0.98
func (r *InitializeChaincodeForUserResponse) ToJsonString() string
type InvokeBcosTransRequest ¶ added in v1.0.120
type InvokeBcosTransRequest struct { *tchttp.BaseRequest // 网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 群组编号,可在群组列表中获取 GroupId *int64 `json:"GroupId,omitempty" name:"GroupId"` // 合约地址,可在合约详情获取 ContractAddress *string `json:"ContractAddress,omitempty" name:"ContractAddress"` // 合约Abi的json数组格式的字符串,可在合约详情获取 AbiInfo *string `json:"AbiInfo,omitempty" name:"AbiInfo"` // 合约方法名 FuncName *string `json:"FuncName,omitempty" name:"FuncName"` // 签名用户编号,可在私钥管理页面获取 SignUserId *string `json:"SignUserId,omitempty" name:"SignUserId"` // 合约方法入参,json格式字符串 FuncParam *string `json:"FuncParam,omitempty" name:"FuncParam"` }
func NewInvokeBcosTransRequest ¶ added in v1.0.120
func NewInvokeBcosTransRequest() (request *InvokeBcosTransRequest)
func (*InvokeBcosTransRequest) FromJsonString ¶ added in v1.0.120
func (r *InvokeBcosTransRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InvokeBcosTransRequest) ToJsonString ¶ added in v1.0.120
func (r *InvokeBcosTransRequest) ToJsonString() string
type InvokeBcosTransResponse ¶ added in v1.0.120
type InvokeBcosTransResponse struct { *tchttp.BaseResponse Response *struct { // 交易结果json字符串 TransactionRsp *string `json:"TransactionRsp,omitempty" name:"TransactionRsp"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInvokeBcosTransResponse ¶ added in v1.0.120
func NewInvokeBcosTransResponse() (response *InvokeBcosTransResponse)
func (*InvokeBcosTransResponse) FromJsonString ¶ added in v1.0.120
func (r *InvokeBcosTransResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InvokeBcosTransResponse) ToJsonString ¶ added in v1.0.120
func (r *InvokeBcosTransResponse) ToJsonString() string
type InvokeRequest ¶
type InvokeRequest struct { *tchttp.BaseRequest // 模块名,固定字段:transaction Module *string `json:"Module,omitempty" name:"Module"` // 操作名,固定字段:invoke Operation *string `json:"Operation,omitempty" name:"Operation"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 业务所属智能合约名称,可在智能合约详情或列表中获取 ChaincodeName *string `json:"ChaincodeName,omitempty" name:"ChaincodeName"` // 业务所属通道名称,可在通道详情或列表中获取 ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // 对该笔交易进行背书的节点列表(包括节点名称和节点所属组织名称,详见数据结构一节),可以在通道详情中获取该通道上的节点名称及其所属组织名称 Peers []*PeerSet `json:"Peers,omitempty" name:"Peers" list` // 该笔交易需要调用的智能合约中的函数名称 FuncName *string `json:"FuncName,omitempty" name:"FuncName"` // 调用合约的组织名称,可以在组织管理列表中获取当前组织的名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 被调用的函数参数列表,参数列表大小总和要求小于2M Args []*string `json:"Args,omitempty" name:"Args" list` // 同步调用标识,可选参数,值为0或者不传表示使用同步方法调用,调用后会等待交易执行后再返回执行结果;值为1时表示使用异步方式调用Invoke,执行后会立即返回交易对应的Txid,后续需要通过GetInvokeTx这个API查询该交易的执行结果。(对于逻辑较为简单的交易,可以使用同步模式;对于逻辑较为复杂的交易,建议使用异步模式,否则容易导致API因等待时间过长,返回等待超时) AsyncFlag *uint64 `json:"AsyncFlag,omitempty" name:"AsyncFlag"` }
func NewInvokeRequest ¶
func NewInvokeRequest() (request *InvokeRequest)
func (*InvokeRequest) FromJsonString ¶
func (r *InvokeRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InvokeRequest) ToJsonString ¶
func (r *InvokeRequest) ToJsonString() string
type InvokeResponse ¶
type InvokeResponse struct { *tchttp.BaseResponse Response *struct { // 交易ID Txid *string `json:"Txid,omitempty" name:"Txid"` // 交易执行结果 Events *string `json:"Events,omitempty" name:"Events"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewInvokeResponse ¶
func NewInvokeResponse() (response *InvokeResponse)
func (*InvokeResponse) FromJsonString ¶
func (r *InvokeResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*InvokeResponse) ToJsonString ¶
func (r *InvokeResponse) ToJsonString() string
type LogDetailForUser ¶ added in v1.0.98
type PeerDetailForUser ¶ added in v1.0.98
type PeerDetailForUser struct { // 节点名称 PeerName *string `json:"PeerName,omitempty" name:"PeerName"` }
type QueryRequest ¶
type QueryRequest struct { *tchttp.BaseRequest // 模块名,固定字段:transaction Module *string `json:"Module,omitempty" name:"Module"` // 操作名,固定字段:query Operation *string `json:"Operation,omitempty" name:"Operation"` // 区块链网络ID,可在区块链网络详情或列表中获取 ClusterId *string `json:"ClusterId,omitempty" name:"ClusterId"` // 业务所属智能合约名称,可在智能合约详情或列表中获取 ChaincodeName *string `json:"ChaincodeName,omitempty" name:"ChaincodeName"` // 业务所属通道名称,可在通道详情或列表中获取 ChannelName *string `json:"ChannelName,omitempty" name:"ChannelName"` // 执行该查询交易的节点列表(包括节点名称和节点所属组织名称,详见数据结构一节),可以在通道详情中获取该通道上的节点名称及其所属组织名称 Peers []*PeerSet `json:"Peers,omitempty" name:"Peers" list` // 该笔交易查询需要调用的智能合约中的函数名称 FuncName *string `json:"FuncName,omitempty" name:"FuncName"` // 调用合约的组织名称,可以在组织管理列表中获取当前组织的名称 GroupName *string `json:"GroupName,omitempty" name:"GroupName"` // 被调用的函数参数列表 Args []*string `json:"Args,omitempty" name:"Args" list` }
func NewQueryRequest ¶
func NewQueryRequest() (request *QueryRequest)
func (*QueryRequest) FromJsonString ¶
func (r *QueryRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryRequest) ToJsonString ¶
func (r *QueryRequest) ToJsonString() string
type QueryResponse ¶
type QueryResponse struct { *tchttp.BaseResponse Response *struct { // 查询结果数据 Data []*string `json:"Data,omitempty" name:"Data" list` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewQueryResponse ¶
func NewQueryResponse() (response *QueryResponse)
func (*QueryResponse) FromJsonString ¶
func (r *QueryResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*QueryResponse) ToJsonString ¶
func (r *QueryResponse) ToJsonString() string
type SendTransactionHandlerRequest ¶
type SendTransactionHandlerRequest struct { *tchttp.BaseRequest // 模块名,固定字段:transaction Module *string `json:"Module,omitempty" name:"Module"` // 操作名,固定字段:send_transaction Operation *string `json:"Operation,omitempty" name:"Operation"` // 群组编号 GroupPk *string `json:"GroupPk,omitempty" name:"GroupPk"` // 合约编号 ContractId *int64 `json:"ContractId,omitempty" name:"ContractId"` // 合约方法名 FuncName *string `json:"FuncName,omitempty" name:"FuncName"` // 合约方法入参 FuncParam []*string `json:"FuncParam,omitempty" name:"FuncParam" list` }
func NewSendTransactionHandlerRequest ¶
func NewSendTransactionHandlerRequest() (request *SendTransactionHandlerRequest)
func (*SendTransactionHandlerRequest) FromJsonString ¶
func (r *SendTransactionHandlerRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendTransactionHandlerRequest) ToJsonString ¶
func (r *SendTransactionHandlerRequest) ToJsonString() string
type SendTransactionHandlerResponse ¶
type SendTransactionHandlerResponse struct { *tchttp.BaseResponse Response *struct { // 交易结果json字符串 TransactionRsp *string `json:"TransactionRsp,omitempty" name:"TransactionRsp"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewSendTransactionHandlerResponse ¶
func NewSendTransactionHandlerResponse() (response *SendTransactionHandlerResponse)
func (*SendTransactionHandlerResponse) FromJsonString ¶
func (r *SendTransactionHandlerResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SendTransactionHandlerResponse) ToJsonString ¶
func (r *SendTransactionHandlerResponse) ToJsonString() string
type SrvInvokeRequest ¶
type SrvInvokeRequest struct { *tchttp.BaseRequest // 服务类型,iss或者dam Service *string `json:"Service,omitempty" name:"Service"` // 服务接口,要调用的方法函数名 Method *string `json:"Method,omitempty" name:"Method"` // 用户自定义json字符串 Param *string `json:"Param,omitempty" name:"Param"` }
func NewSrvInvokeRequest ¶
func NewSrvInvokeRequest() (request *SrvInvokeRequest)
func (*SrvInvokeRequest) FromJsonString ¶
func (r *SrvInvokeRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SrvInvokeRequest) ToJsonString ¶
func (r *SrvInvokeRequest) ToJsonString() string
type SrvInvokeResponse ¶
type SrvInvokeResponse struct { *tchttp.BaseResponse Response *struct { // 返回码 RetCode *int64 `json:"RetCode,omitempty" name:"RetCode"` // 返回消息 RetMsg *string `json:"RetMsg,omitempty" name:"RetMsg"` // 返回数据 Data *string `json:"Data,omitempty" name:"Data"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewSrvInvokeResponse ¶
func NewSrvInvokeResponse() (response *SrvInvokeResponse)
func (*SrvInvokeResponse) FromJsonString ¶
func (r *SrvInvokeResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*SrvInvokeResponse) ToJsonString ¶
func (r *SrvInvokeResponse) ToJsonString() string
type TransByDynamicContractHandlerRequest ¶
type TransByDynamicContractHandlerRequest struct { *tchttp.BaseRequest // 模块名,固定字段:transaction Module *string `json:"Module,omitempty" name:"Module"` // 操作名,固定字段:trans_by_dynamic_contract Operation *string `json:"Operation,omitempty" name:"Operation"` // 群组编号 GroupPk *string `json:"GroupPk,omitempty" name:"GroupPk"` // 合约地址(合约部署成功,可得到合约地址) ContractAddress *string `json:"ContractAddress,omitempty" name:"ContractAddress"` // 合约名 ContractName *string `json:"ContractName,omitempty" name:"ContractName"` // 合约编译后的abi AbiInfo *string `json:"AbiInfo,omitempty" name:"AbiInfo"` // 合约被调用方法名 FuncName *string `json:"FuncName,omitempty" name:"FuncName"` // 合约被调用方法的入参 FuncParam []*string `json:"FuncParam,omitempty" name:"FuncParam" list` }
func NewTransByDynamicContractHandlerRequest ¶
func NewTransByDynamicContractHandlerRequest() (request *TransByDynamicContractHandlerRequest)
func (*TransByDynamicContractHandlerRequest) FromJsonString ¶
func (r *TransByDynamicContractHandlerRequest) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TransByDynamicContractHandlerRequest) ToJsonString ¶
func (r *TransByDynamicContractHandlerRequest) ToJsonString() string
type TransByDynamicContractHandlerResponse ¶
type TransByDynamicContractHandlerResponse struct { *tchttp.BaseResponse Response *struct { // 交易结果json字符串 TransactionRsp *string `json:"TransactionRsp,omitempty" name:"TransactionRsp"` // 唯一请求 ID,每次请求都会返回。定位问题时需要提供该次请求的 RequestId。 RequestId *string `json:"RequestId,omitempty" name:"RequestId"` } `json:"Response"` }
func NewTransByDynamicContractHandlerResponse ¶
func NewTransByDynamicContractHandlerResponse() (response *TransByDynamicContractHandlerResponse)
func (*TransByDynamicContractHandlerResponse) FromJsonString ¶
func (r *TransByDynamicContractHandlerResponse) FromJsonString(s string) error
It is highly **NOT** recommended to use this function because it has no param check, nor strict type check
func (*TransByDynamicContractHandlerResponse) ToJsonString ¶
func (r *TransByDynamicContractHandlerResponse) ToJsonString() string
type TransactionItem ¶
type TransactionItem struct { // 交易ID TransactionId *string `json:"TransactionId,omitempty" name:"TransactionId"` // 交易hash TransactionHash *string `json:"TransactionHash,omitempty" name:"TransactionHash"` // 创建交易的组织名 CreateOrgName *string `json:"CreateOrgName,omitempty" name:"CreateOrgName"` // 交易所在区块号 BlockId *uint64 `json:"BlockId,omitempty" name:"BlockId"` // 交易类型(普通交易和配置交易) TransactionType *string `json:"TransactionType,omitempty" name:"TransactionType"` // 交易创建时间 CreateTime *string `json:"CreateTime,omitempty" name:"CreateTime"` // 交易所在区块高度 BlockHeight *uint64 `json:"BlockHeight,omitempty" name:"BlockHeight"` // 交易状态 TransactionStatus *string `json:"TransactionStatus,omitempty" name:"TransactionStatus"` }