
# 查询区块块高
1. 消息构建。 
   - 接口方法
     ```
     func (msg *QueryRawMessage) BuildLatestChainStateRawMessage(chainID string) (*common.RawMessage, error)
     ```
     
   
   - 参数说明
     
     | 参数      | 类型     | 说明   |
     |:---|:---|:---|
     | chainID | string | 链名称。 |
        
     
   
   - 返回值
     
     | 类型                  | 说明                      |
     |:---|:---|
     | \*common.RawMessage | 查询链状态需发送的消息             |
     | error               | 查询成功返回类型为nil，反之返回error。 |
        
     
   
   
   
   
2. 消息发送。 
   - 接口方法
     QueryAction.class
     ```
     func (action *QueryAction) GetLatestChainState(rawMsg *common.RawMessage) (*common.RawMessage, error)
     ```
     
   
   - 参数说明
     
     | 参数     | 类型                  | 说明         |
     |:---|:---|:---|
     | rawMsg | \*common.RawMessage | 上述查询链状态消息。 |
        
     
   
   - 返回值
     
     | 类型                  | 说明                      |
     |:---|:---|
     | \*common.RawMessage | 用于获取包含发送结果的消息。          |
     | error               | 发送成功返回类型为nil，反之返回error。 |
        
     
   
   
   
   
 
