code: func (api *API) GetInclusionStates(txHashes Hashes, tips ...Hash) ([]bool, error) {
  	if err := Validate(
  		ValidateTransactionHashes(txHashes...),
  		ValidateNonEmptyStrings(ErrInvalidTransactionHash, txHashes...),
  		ValidateTransactionHashes(tips...),
  		ValidateNonEmptyStrings(ErrInvalidTransactionHash, tips...),
  	); err != nil {
  		return nil, err
  	}
  
  	cmd := &GetInclusionStatesCommand{Transactions: txHashes, Tips: tips, Command: Command{GetInclusionStatesCmd}}
  	rsp := &GetInclusionStatesResponse{}
  	if err := api.provider.Send(cmd, rsp); err != nil {
  		return nil, err
  	}
  	return rsp.States, nil
  }
docs: // GetInclusionStates fetches inclusion states of a given list of transactions.