更新时间:2024-06-28 GMT+08:00
利用合约查询数据
- 查询请求消息构建
- 查询请求消息发送。
- 接口函数
func (action *ContractAction) Invoke(rawMsg *common.RawMessage) (*common.RawMessage, error)
- 参数说明
参数
类型
说明
rawMsg
*common.RawMessage
上述查询请求需发送的消息。
- 返回值
类型
说明
*common.RawMessage
查询请求返回的消息。
error
发送成功返回类型为nil,反之返回error。
- 接口函数
父主题:Go SDK介绍

